Problem
Claude Code answered “what calls this?” and “what breaks if I change that?” by reading source into context — expensive on big repos, incomplete when files don’t fit, and impossible past the context window.
Open source
Structural code answers without dumping the repo
Stack


Claude Code answered “what calls this?” and “what breaks if I change that?” by reading source into context — expensive on big repos, incomplete when files don’t fit, and impossible past the context window.
Build a persistent local call graph (Tree-sitter → SQLite), expose focused MCP tools and an offline HTML viz, and ship a one-command install that wires .mcp.json + Claude skills. Claude queries the graph instead of dumping the repo.
Doesn’t replace the model — it gives Claude Code structural memory of the repo. Fewer tokens, faster answers, and no cloud round-trip for the graph itself.
On Django (3,040 files, ~45k nodes, ~939k edges): structural queries use 7×–236× fewer tokens than sending matching files. Full Django dump is ~1.5M tokens — past Claude’s window without a tool like this. Published on PyPI as claude-graph (v0.2.3+).
Want something like this for your team?