Code Review Graph

development MCP Server

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.

Verified
developmentdevelopment
14 views31,364 stars2,851 forksMIT

Why This Matters

Discovered via github-topic:mcp and last synced 1w ago.

Verified
Source
github-topic:mcp
Stars
31,364
Last synced
1w ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
79
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (79)

614

8.1x

build_or_update_graph_tool

Build or incrementally update the graph

get_docs_section_tool

Retrieve documentation sections

get_hub_nodes_tool

Find most-connected nodes (architectural hotspots)

list_repos_tool

List registered repositories

MINIMAX_API_KEY

API key for MiniMax embeddings

nextjs

2

Edges

Flow Detection

query_graph_tool

Callers, callees, tests, imports, inheritance queries

get_affected_flows_tool

Find flows affected by changed files

get_suggested_questions_tool

Auto-generated review questions from analysis

983

0.7x

Command

What it does

embed_graph_tool

Compute vector embeddings for semantic search

get_architecture_overview_tool

Architecture overview from community structure

gin

99

get_impact_radius_tool

Blast radius of changed files

flask

83

95ms

0.7ms

get_minimal_context_tool

Ultra-compact context (~100 tokens) — call this first

find_large_functions_tool

Find functions/classes exceeding a line-count threshold

get_bridge_nodes_tool

Find chokepoints via betweenness centrality

cross_repo_search_tool

Search across all registered repositories

httpx

60

111ms

0.5ms

NO_COLOR

If set, disables ANSI colors in terminal

128ms

1.5ms

Feature

Details

traverse_graph_tool

BFS/DFS traversal from any node with token budget

list_communities_tool

List detected code communities

refactor_tool

Rename preview, dead code detection, suggestions

CRG_MAX_IMPACT_NODES

Maximum nodes to include in impact analysis

Tool

Description

detect_changes_tool

Risk-scored change impact analysis for code review

get_wiki_page_tool

Retrieve a specific wiki page

GOOGLE_API_KEY

API key for Google Gemini embeddings

get_knowledge_gaps_tool

Identify structural weaknesses and untested hotspots

Variable

Description

CRG_OPENAI_API_KEY

API key for OpenAI-compatible embeddings

stop

status

generate_wiki_tool

Generate markdown wiki from communities

CRG_MAX_BFS_DEPTH

Maximum depth for graph traversal

list_flows_tool

List execution flows sorted by criticality

Repo

Files

express

141

96ms

0.4ms

CRG_EMBEDDING_MODEL

Default model for vector embeddings

CRG_OPENAI_DIMENSION

Pin embedding dimension (v3 models support reduction)

fastapi

1,122

semantic_search_nodes_tool

Search code entities by name or meaning

get_community_tool

Get details of a single community

apply_refactor_tool

Apply a previously previewed refactoring

CRG_MAX_IMPACT_DEPTH

Search depth for blast-radius analysis

CRG_SERIAL_PARSE

If `1`, disables parallel parsing (use for debugging)

get_review_context_tool

Token-optimised review context with structural summary

get_flow_tool

Get details of a single execution flow

get_surprising_connections_tool

Detect unexpected cross-community coupling

CRG_GIT_TIMEOUT

Timeout in seconds for Git operations

CRG_OPENAI_MODEL

Model name for OpenAI-compatible embeddings

CRG_ACCEPT_CLOUD_EMBEDDINGS

Suppress the cloud embedding egress warning after explicit acknowledgement

CRG_ALLOW_REMOTE_CODE

Allow HuggingFace models that require `trust_remote_code=True`

CRG_DATA_DIR

Override directory for graph databases and generated graph artefacts

CRG_RECURSE_SUBMODULES

Include git submodules in file collection when set to `1`, `true`, or `yes`

CRG_MAX_TRANSITIVE_FRONTIER

Maximum frontier size for transitive caller/callee expansion

CRG_TOOLS

Comma-separated allowlist of MCP tools to expose when serving

code-review-graph

2

106ms

0.7ms

run_postprocess_tool

Re-run flow detection, community detection, and FTS indexing

list_graph_stats_tool

Graph size and health

CRG_MAX_CHANGED_FUNCS

Maximum changed functions analysed in one change report

CRG_TOOL_TIMEOUT

Optional timeout in seconds for bounded MCP tools (`0` disables timeout)

CRG_OPENAI_BASE_URL

OpenAI-compatible embeddings endpoint

VOYAGE_API_KEY

API key for Voyage embeddings

CRG_VOYAGE_MODEL

Model name for Voyage embeddings

CRG_VOYAGE_OUTPUT_DIMENSION

Output dimension for Voyage embeddings

CRG_VOYAGE_OUTPUT_DTYPE

Output dtype for Voyage embeddings

CRG_VOYAGE_BASE_URL

Voyage embeddings endpoint

CRG_VOYAGE_BATCH_SIZE

Batch size for Voyage embedding requests

CRG_VOYAGE_MIN_INTERVAL_SEC

Minimum delay between Voyage requests