code-review-graph
A local MCP server that parses a repository with Tree-sitter into a graph of functions, classes and imports, with edges for calls, inheritance and test coverage, kept in SQLite.
What it does
A local MCP server that parses a repository with Tree-sitter into a graph of functions, classes and imports, with edges for calls, inheritance and test coverage, kept in SQLite. When an assistant is asked to review a change, it queries the graph for the blast radius of the changed files and the smallest set of files worth reading, so the assistant does not re-read the whole codebase. A pip-installed command builds and incrementally updates the graph and can register the server, hooks and skills for many coding tools, including Claude Code, Cursor, Codex and Gemini CLI. A GitHub Action runs risk-scored PR reviews in CI. It needs Python 3.10 or later.
Capabilities
- Build and incrementally update a Tree-sitter graph of a codebase
- Report the blast radius of changed files
- Return the minimal set of files to read for a review
- Register itself with many AI coding tools in one install command
- Run risk-scored PR reviews in CI as a GitHub Action
About
- Publisher
- Tirth Kanani
- Tool
- Code review
Install
- Run this to add it to Any client:
pip install code-review-graph
- Run this to add it to Any client:
code-review-graph install
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | MCP server | |
| Tool | Code review | |
| Publisher | Tirth Kanani | source |
| Official status | Not stated in its documentation | |
| Connection | Local (runs on your computer) | source |
| Can change data | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex, Gemini CLI, Devin Desktop, Zed | source |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 10, 202632,710 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Badge for your README
Maintain this project? Add a badge that links to this page.
[](https://kitbay.app/servers/tirth8205-code-review-graph/)
Also listed under: Code review
Sources
- README (README.md)github.com/tirth8205/code-review-graph · Backs: AI clients, ConnectionNov 12, 2026
- Licence file (LICENSE)github.com/tirth8205/code-review-graph · Backs: Licence, PublisherNov 12, 2026
- GitHub repositorygithub.com/tirth8205/code-review-graph · Backs: Activity, LicenceNov 11, 2026
- GitHub API recordgithub.com/tirth8205/code-review-graphNov 10, 2026