Local-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.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"code-review-graph": {
"command": "uvx",
"args": [
"code-review-graph"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add code-review-graph uvx code-review-graph
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"code-review-graph": {
"command": "uvx",
"args": [
"code-review-graph"
]
}
}
}
📋 Copy
Or install with pip: pip install code-review-graph
README Excerpt
<h1 align="center">code-review-graph</h1> <p align="center"> <strong>Stop burning tokens. Start reviewing smarter.</strong> </p> <p align="center"> <a href="README.md">English</a> | <a href="README.zh-CN.md">简体中文</a> | <a href="README.ja-JP.md">日本語</a> | <a href="README.ko-KR.md">한국어</a> | <a href="README.hi-IN.md">हिन्दी</a>
Tools (20)
CRG_ACCEPT_CLOUD_EMBEDDINGS CRG_ALLOW_REMOTE_CODE CRG_DATA_DIR CRG_EMBEDDING_MODEL CRG_GIT_TIMEOUT CRG_MAX_BFS_DEPTH CRG_MAX_CHANGED_FUNCS CRG_MAX_IMPACT_DEPTH CRG_MAX_IMPACT_NODES CRG_MAX_TRANSITIVE_FRONTIER CRG_OPENAI_API_KEY CRG_OPENAI_BASE_URL CRG_OPENAI_DIMENSION CRG_OPENAI_MODEL CRG_RECURSE_SUBMODULES CRG_SERIAL_PARSE CRG_TOOLS CRG_TOOL_TIMEOUT GOOGLE_API_KEY MINIMAX_API_KEY
Topics
ai-coding claude claude-code code-review graphrag incremental knowledge-graph llm mcp python static-analysis tree-sitter