code-review-graph
View on GitHubLocal-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.
Local-first code knowledge graph that parses repos with Tree-sitter into a persistent SQLite graph and serves MCP/CLI queries so AI coding tools read only affected files. Includes blast-radius analysis, incremental updates, risk-scored PR CI action, and a VS Code extension.
Use Cases
Give AI coding assistants precise review context instead of whole-repo readsCompute blast radius of a changed function to find affected callers and testsReduce token usage on large-repo code reviews via graph queriesRisk-scored PR review comments posted in CI via GitHub ActionIncremental re-indexing on file changes through hooks or watch modeFind execution flows and test gaps for a diffServe code graph queries over MCP to Claude Code, Cursor, Copilot and othersAdd custom languages by mapping grammars in languages.tomlResolve framework-specific edges for Spring, Laravel, Terraform and notebooks
Built With
- Language
- Python
- Frameworks
- MCP · FastMCP · tree-sitter · networkx · watchdog · anyio · sentence-transformers · Hatchling · VS Code Extension API · GitHub Actions
Tags
mcp · code-review · knowledge-graph · tree-sitter · static-analysis · incremental-indexing · blast-radius · code-intelligence · context-reduction · local-first · cli · vscode-extension · github-action · graphrag · embeddings · token-efficiency