Who it is forA developer whose agent re-reads half the repo to review a small change.
The problemRe-reading large codebases wastes tokens and time.
The outcomeReview context drawn from a structural graph of the code.
What you need first
- Python with pip or pipx
- A supported AI coding tool
Steps
- Install with
pip install code-review-graph - Run
code-review-graph installto configure detected AI tools - Run
code-review-graph buildto parse the codebase - Ask your agent to review a change
Prompt for your agent
Install tirth8205/code-review-graph in <repo>, build the graph, and review <diff> through its MCP tools. Report which files the review context included.
Caveat. Rebuild or let it update the graph after large changes.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for tirth8205/code-review-graph and "Give your AI reviewer only the code that matters"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer