code-review-graph: stop feeding your coding agent the whole repo
The dumbest tax in AI-assisted coding is context waste. Your agent re-reads half the repository to answer a question that touches three files. code-review-graph attacks it directly, and it's climbing GitHub with nearly 20k stars. It parses your codebase with Tree-sitter into a persistent structural map, then serves only the relevant slice to whatever tool is asking.
It runs as an MCP server exposing 30 tools, and auto-configures itself for Claude Code, Cursor, Windsurf, Copilot and the rest. Build the graph once and your agent just starts using it. The pitch is blast-radius analysis: instead of dumping files, it figures out what a change actually touches. Their own numbers claim a median 82x token reduction across six repos, up to 528x on big ones. Incremental updates finish in under two seconds, and there's a GitHub Action so CI reviews get the same treatment.
Whether the exact multiples hold on your code is worth testing, but the direction is clearly right. As agents get cheaper per token, the thing that actually caps them is how much irrelevant junk you shove into the window. A structural index that hands over just the blast radius is the kind of unglamorous infrastructure that quietly makes every coding agent better. MIT licensed, github.com/tirth8205/code-review-graph
← Back to all articles
It runs as an MCP server exposing 30 tools, and auto-configures itself for Claude Code, Cursor, Windsurf, Copilot and the rest. Build the graph once and your agent just starts using it. The pitch is blast-radius analysis: instead of dumping files, it figures out what a change actually touches. Their own numbers claim a median 82x token reduction across six repos, up to 528x on big ones. Incremental updates finish in under two seconds, and there's a GitHub Action so CI reviews get the same treatment.
Whether the exact multiples hold on your code is worth testing, but the direction is clearly right. As agents get cheaper per token, the thing that actually caps them is how much irrelevant junk you shove into the window. A structural index that hands over just the blast radius is the kind of unglamorous infrastructure that quietly makes every coding agent better. MIT licensed, github.com/tirth8205/code-review-graph
Comments