Builds a local Tree-sitter graph of a codebase and serves blast-radius and risk-scored review context to coding agents over MCP, plus a CLI and a GitHub Action for pull requests.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your assistant, with code-review-graph connected:
- Blast-Radius Analysis
Use code-review-graph to trace every caller, dependent, and test: ‹what you need›
- Risk-Scored Reviews
Use code-review-graph to map a diff: ‹what you need›
- PR Review Action
Use code-review-graph to run the analysis as a GitHub Action: ‹what you need›
Connect it over MCP
Connect code-review-graph as an MCP server, following its setup instructions at https://github.com/tirth8205/code-review-graph
Its page: github.com/tirth8205/code-review-graph
Install the CLI
Install it as its own instructions say.
Its page: github.com/tirth8205/code-review-graph
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- CLIMCP
- Auth
- None
- Skills
- 5
Skills
Blast-Radius Analysis
Traces every caller, dependent, and test a changed file could affect, so the assistant reads those files instead of the whole project.
Risk-Scored Reviews
Maps a diff to affected functions, execution flows, and test gaps with detect_changes, and scores each change by risk for review.
PR Review Action
Runs the analysis as a GitHub Action that posts one sticky risk-scored comment per pull request, with an optional fail-on-risk gate.
Incremental Graph Updates
Keeps the graph current through editor hooks, a git pre-commit hook, and watch mode, re-parsing only files whose hash has changed.
Architecture Overview
Clusters the graph into communities with Leiden and produces an architecture map with coupling warnings, hubs, and bridge nodes.