code-review-graph
ActiveDescription
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of the codebase so AI coding tools read only what matters, with benchmarked context reductions on code review and large-repo workflows.
Key Features
- Local-first — all indexing happens on the developer's machine, no data leaves the host
- Code intelligence graph — parses code with tree-sitter and builds an entity-relation graph
- MCP integration — exposes Model Context Protocol endpoints for Claude Code, Cursor, and other agents
- Context compression — significantly reduces context consumption on code review and large-repo tasks
- Incremental updates — listens for file changes and updates graph nodes on demand
- Static analysis — graph-based dependency analysis supports impact-domain evaluation
Use Cases
Categories
Quick Start
pip install code-review-graph
crg init /path/to/repo
crg serve --mcp # start the MCP server
# In Claude Code / Cursor, register crg as an MCP server