Skip to content
Kitbay
Submit
MCP server

code-review-graph

Runs locallyMITUpdated on Nov 10, 202632,710GitHub stars

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