Colby McHenry · 2026-05-19 · notable
CodeGraph 0.7.10 — Local SQLite + Tree-Sitter Knowledge Graph Cuts Claude Code, Codex, and Cursor Exploration Tool Calls by 94%
Code agents reach for grep, glob, and Read whenever they explore a codebase. CodeGraph pre-indexes symbols, call graphs, and routes into a local SQLite store, exposes them over MCP, and goes wide on GitHub trending.
Pre-index a repo into a local knowledge graph and let your coding agent query it instead of grepping every file.
Key specs
| License | MIT |
|---|---|
| GitHub stars | 7,394 |
| Stars today | +1,850 |
| Languages supported | 19 |
| Fewer tool calls | ~94% |
| Faster exploration | ~82% |
What is it?
CodeGraph is a local-first CLI, library, and MCP server that parses any supported codebase with tree-sitter, stores symbols, edges, and files in SQLite, and exposes the graph as MCP tools to Claude Code, Codex CLI, Cursor, and OpenCode. v0.7.10 shipped May 19 and the repo jumped roughly 1,850 stars in a day on GitHub Trending.
How does it work?
Tree-sitter parses 19+ languages (TypeScript, Python, Go, Rust, Java, Swift, Kotlin, Dart, C/C++, more) into ASTs. Extracted symbols and call edges populate a per-project SQLite database with full-text search. A bundled MCP server exposes codegraph_search, codegraph_callers, codegraph_context, and framework-aware route detection for 13 web frameworks. A file watcher debounces edits and keeps the graph in sync without API calls.
Why does it matter?
Maintainer's benchmarks show agent Explore sessions use ~94% fewer tool calls and run ~82% faster than file-scanning baselines. Nothing leaves the machine, so it works in air-gapped or compliance-bound shops where Cursor's cloud index is a non-starter. It is a concrete data point in the larger shift toward agent-native local indexing.
Who is it for?
Heavy users of Claude Code, Codex CLI, Cursor, or OpenCode
Try it
npx @colbymchenry/codegraph init -i