tirth8205/code-review-graph
A local code graph that gives AI agents only the files that changed
Stop making your AI agent re-read your whole codebase
One command maps your whole codebase.
code-review-graph uses Tree-sitter to parse your repo into a code graph — functions, classes, callers, tests — and stores it locally in SQLite. No cloud, nothing leaves your machine.
AI reviews read only what changed.
When you change a function, code-review-graph traces its blast radius — every caller, every test, everything actually affected — and hands your AI agent just that.
82 times less context, per question.
Ask it something like "how does auth work," and across six benchmarked repos, the graph answers with a median of eighty two times less context than dumping the whole codebase in.
30 MCP tools. Works with your agent.
It ships thirty MCP tools and plugs straight into Claude Code, Cursor, Codex, Windsurf, Copilot, and more — plus a GitHub Action that risk-scores every pull request.
26.5k stars. Free and MIT licensed.
code-review-graph is fully open source under the MIT license, with over twenty six thousand stars. Try it this weekend.