#55th of 227 in MCP servers for developers
code-review-graph
Local Tree-sitter code graph that gives coding assistants review context over MCP
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts code-review-graph on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.code-review-graph is on your watch list. Its new releases and problems show there.
- Stars
- 33k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
3,497 on 28 Mar 202632,974 on 28 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Parses a repository with Tree-sitter into a SQLite graph of functions, classes, imports, calls and tests, then serves blast-radius and risk-scored context over MCP so the assistant reads only affected files. The installer configures about 16 tools (Claude Code, Cursor, Codex, Windsurf, Zed and others) and updates incrementally via hooks, git hooks or watch mode. A GitHub Action posts risk-scored PR comments.
Who it is for: Developers who want coding assistants to read fewer files when reviewing changes
Strengths
- One install command detects and configures about 16 AI coding tools, with a clean uninstall
- Incremental updates re-parse only SHA-256-changed files; two-file edit on django took about 2.5 s
- Covers 30+ languages plus notebooks, and custom grammars via languages.toml
- Runs locally; the GitHub Action builds the graph on the CI runner without sending code out
Weaknesses
- Impact recall of 1.0 is circular, since ground truth comes from the same graph
- Against a grep baseline, median token reduction is 6.65x, not the 63x headline
- Graph context can cost more tokens than a plain read for small single-file edits
- Cold build of a roughly 3,000-file repository took about 40 seconds
What it needs
- no GPU
- Docker
- Needs Python 3.10+, Tree-sitter, SQLite
- Models: all-MiniLM-L6-v2 (local embeddings)
What changed
- v2.4.0 ↗ (opens in a new tab)Breaking
“Schema version: 13 → 15. Two migrations run by themselves the first time”
- v2.3.9 ↗ (opens in a new tab)Breaking
“Schema version: 9 → 13. Four migrations land in this release, and they”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Known problems
Reported, then fixed by a linked change
- Bug: Claude Code fails to start — invalid hooks schema in .claude/settings.json ↗ (opens in a new tab)5 reactions · closed 11 Apr 2026Fixed by fix: correct Claude Code hook schema and add git pre-commit hook ↗ (opens in a new tab)
- Remaining commands still create an empty graph.db on first run; released-version poisoned graphs are not auto-healed (follow-up to #777 / #782) ↗ (opens in a new tab)1 reactions · closed 6 Nov 2026Fixed by fix(cli): detect-changes/visualize/wiki/watch no longer create empty graph.db ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Safety checks
Checks passed: 16 of 18 (23 Nov 2026)
Checked commit bbdda4b ↗ (opens in a new tab) · pypi code-review-graph 2.4.0 · content sha256:d33513120400…
- Pass
Package points back to this repo
PyPI code-review-graph@2.4.0 names this repo
- Fail
Listed in the official MCP Registry under the owner's name
Not listed in the official MCP Registry
MCP Registry: io.github.tirth8205 ↗ (opens in a new tab), MCP Registry: code-review-graph ↗ (opens in a new tab)
- Fail
Latest release has build provenance
No build provenance on PyPI code-review-graph@2.4.0
- Pass
No advisories at CVSS 7 or higher
No advisory at CVSS ≥ 7 in PyPI code-review-graph@2.4.0, own GitHub advisories (partial: dependencies of PyPI code-review-graph@2.4.0 not read)
api.deps.dev ↗ (opens in a new tab), security page ↗ (opens in a new tab)
- Pass
No install-time scripts
No install scripts in PyPI code-review-graph@2.4.0
- Pass
No hardcoded keys or tokens
No key matching a known secret format in 629 files
- Pass
No binaries or archives in agent or server folders
No binary or archive in 208 files
- Pass
No dangerous CI workflow
No dangerous workflow pattern and no write-all token in 7 workflows
- Pass
- Pass
HTTPS endpoints, no credentials in shipped config
No plain-http endpoint or literal credential in 1 files
- Pass
No hidden Unicode in agent-facing text
No hidden Unicode in 131 files
- Pass
No override, concealment or secret-file instructions
No override, concealment or sensitive-path instruction in 10 files
- Pass
A private way to report a vulnerability
Security policy published
- Pass
- Pass
No fake prerequisite or installer steps
No installer or prerequisite step in 28 files; read: commit bbdda4b, PyPI code-review-graph@2.4.0
- Pass
No email recipients added since the last checked version, no hidden BCC
No address added since the check on 2026-11-16 (commit bbdda4b) (0 in the code); PyPI code-review-graph@2.4.0: no address added since code-review-graph@2.4.0 (0 in the code); read: commit bbdda4b, PyPI code-review-graph@2.4.0
- Pass
No shell commands built from input, no unchecked URL opening
No shell command built from a variable or unchecked URL opening in 105 files; read: commit bbdda4b
- Pass
HTTP endpoints check auth or stay on localhost
HTTP transport listens on localhost only by default
Facts, not pass or fail
- Bundles scripts
- Yes, 2
- Hooks
- Yes
- A bin folder
- No
- MCP config file
- Yes
- Calls other MCP tools
- No
- Domains its agent files link to
- None
- Hosts in its code new since the last check
- None
Read on 23 Nov 2026 from the repo's files, npm, PyPI, deps.dev, OSV and the MCP Registry. We ran nothing from the project. N/A means the check does not apply or we could not read its data. Not part of the score: what each check looks at and what it cannot see. A result looks wrong? Tell us on GitHub (opens in a new tab).
Head to head
Also in MCP servers for developers
See all 227| Rank | Project | Score |
|---|---|---|
| 3 | fastmcpPython framework for building MCP servers, clients and interactive apps | 95 out of 100 |
| #4 | playwright-mcpMCP server that lets LLMs drive a browser through Playwright accessibility snapshots | 93 out of 100 |
| #6 | n8n-mcpMCP server that lets AI assistants build, edit, validate and debug n8n workflows | 93 out of 100 |
| #7 | modelcontextprotocol/inspectorInspector for testing and debugging MCP servers via web, CLI or terminal UI | 93 out of 100 |
| #8 | cuaDesktop automation tools and VM sandboxes for computer-use agents | 92 out of 100 |