🔥 Hot Repo: Drops Claude Code From 52 Tool Calls to 3
CodeGraph pre-indexes your codebase into a local SQLite knowledge graph, slashing Claude Code tool calls from 52 to 3 on real-world TypeScript projects — no cloud, no API keys.
By OMC Editorial on 2026-05-16
One-liner — CodeGraph pre-indexes your entire codebase into a local SQLite knowledge graph so Claude Code navigates it in one tool call instead of dozens.
- Repo: colbymchenry/codegraphhttps://github.com/colbymchenry/codegraph
- Stars: ⭐ 2.1K +397 today
- Language: TypeScript
- License: MIT
---
What It Does
CodeGraph builds a semantic knowledge graph of your codebase using tree-sitter parsing, storing all symbol relationships, call graphs, and framework routes in a local SQLite database. When Claude Code needs to explore a codebase, instead of making 30–50 sequential file-read tool calls, it queries the CodeGraph MCP server and gets entry points, related symbols, and code snippets in a single call. The index stays fresh using native OS file watchers FSEvents on macOS, inotify on Linux that auto-sync on every save.
Why It's Blowing Up
Claude Code users have been vocal about one persistent frustration: watching the agent make 40–50 sequential file reads to understand a codebase before writing a single line. Every tool call burns context window tokens and adds latency. CodeGraph directly attacks this.
The benchmarks in the README are striking. On the VS Code codebase TypeScript, CodeGraph reduced Claude's exploration from 52 tool calls to 3 — a 94% drop — cutting task time from 1m 37s to 17s. Across six real-world codebases including Excalidraw, Alamofire, and the Swift Compiler 25,874 files indexed in under 4 minutes, the average holds at 92% fewer calls and 71% faster execution.
The v0.7.6 release on May 13 fixed a critical install bug where the CLI binary shipped without execute permissions — gating a wave of users who tried to install it right as the repo hit trending. That fix appears to have unlocked the current star spike.
Key Features
- FTS5 full-text search — instant symbol lookup across the entire indexed codebase
- Call graph tracing — trace callers and callees; run impact analysis before refactoring
- Framework-aware routing — maps URL pattern