🔥 Hot Repo: 94% Fewer Tool Calls — Claude Code's Secret Weapon

CodeGraph is a local MCP server that pre-indexes your codebase into a semantic knowledge graph, cutting Claude Code's tool calls by 94% and making exploration 82% faster — with zero cloud dependencies.

By OMC Editorial on 2026-05-17

One-liner — CodeGraph is a local MCP server that pre-indexes your codebase into a semantic knowledge graph so Claude Code navigates it 82% faster with 94% fewer tool calls. - Repo: colbymchenry/codegraphhttps://github.com/colbymchenry/codegraph - Stars: ⭐ 3,000 +860 today - Language: TypeScript - License: MIT --- What It Does When Claude Code explores a codebase, it spawns Explore sub-agents that repeatedly call grep, glob, and read tools — burning tokens on every hop. CodeGraph replaces that brute-force scan with a pre-indexed SQLite knowledge graph containing symbol relationships, call graphs, and routes. Agents query the graph once instead of scanning dozens of files, and the graph stays fresh through native OS file watchers FSEvents/inotify with a 2-second debounce. Why It's Blowing Up Claude Code's token bills have become a real pain point. Developer Colby McHenry published benchmarks testing CodeGraph against six real-world codebases — VS Code TypeScript, Excalidraw, Claude Code itself Java, Alamofire Swift, and the Swift Compiler 272,898 nodes. Results: an average of 92% fewer tool calls and 71% faster execution. On the VS Code codebase, the agent dropped from 52 tool calls in 1m 37s to just 3 calls in 17s — a 94% reduction. The kicker: agents "never fell back to reading files" — they trusted graph results completely. The +860 stars in a single day suggests Claude Code users discovered the benchmarks and immediately validated them against their own codebases. The install is a single npx command that auto-configures Claude Code's MCP settings — zero friction. The project fits squarely in the 2026 trend of Claude Code users building tooling to reduce the token overhead of the agent's internal Explore loops, a category that's already spawned several competing tools but none with CodeGraph's breadth of language support or clean one-command setup. Key Features - Pre-indexed Knowledge Graph — SQLite with FTS5 full-text search; symbols, call graphs, an