code-review-graph

tirth8205/code-review-graph
★ 17,386 stars Python 🤖 AI/LLM Updated 1d ago
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.
View on GitHub → Try with Claude — $10 free →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "code-review-graph": {
      "command": "uvx",
      "args": [
        "code-review-graph"
      ]
    }
  }
}

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_EMBEDDINGSCRG_ALLOW_REMOTE_CODECRG_DATA_DIRCRG_EMBEDDING_MODELCRG_GIT_TIMEOUTCRG_MAX_BFS_DEPTHCRG_MAX_CHANGED_FUNCSCRG_MAX_IMPACT_DEPTHCRG_MAX_IMPACT_NODESCRG_MAX_TRANSITIVE_FRONTIERCRG_OPENAI_API_KEYCRG_OPENAI_BASE_URLCRG_OPENAI_DIMENSIONCRG_OPENAI_MODELCRG_RECURSE_SUBMODULESCRG_SERIAL_PARSECRG_TOOLSCRG_TOOL_TIMEOUTGOOGLE_API_KEYMINIMAX_API_KEY

Topics

ai-codingclaudeclaude-codecode-reviewgraphragincrementalknowledge-graphllmmcppythonstatic-analysistree-sitter