MCP server · Audited from source
code-review-graph MCP server
by apodal-cherry334/code-review-graphMIT licenceAudited 12 Oct 2026 · source 654ec41d2e47
Is it safe? Yes — SAFE, grade B (89/100). It exposes 30 tools: 25 read, 5 write and 0 destructive. The audit recorded 11 findings (0 critical, 0 high, 1 medium, 8 low). Maintainer's description: Map code reviews as graphs to optimize token usage and improve analysis accuracy.
Cite
Cite this page
ModelsAtlas. “code-review-graph MCP server (apodal-cherry334/code-review-graph)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/apodal-cherry334/code-review-graph
Trust audit
Audit 0.4.1 · full source read 12 Oct 2026
11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared5 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 3 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
apodal-cherry334User accountAccount type recorded when we read the repository. - PackagePublished on npm
code-review-graphat version 0.2.2 - LicenceMITFrom the repository, as read at the audited commit.
- Last push1 day agoActivity of the repository when we read it.
- Source commit read654ec41d2e47The audit covers exactly this commit, read on 12 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory30 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (11)
Sorted by severity
MEDIUMInventory / provenanceinv.binary · code-review-graph-vscode/src/onboarding/code-review-graph-1.0.zip
code-review-graph-1.0.zip
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
LOWFilesystem / pathfs.traversal · tests/test_integration_git.py:353
result = get_wiki_page(str(wiki_dir), "../../etc/passwd")
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/test_embeddings.py:512
assert _is_localhost_url("http://127.0.0.1:3000/v1")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/test_embeddings.py:515
assert _is_localhost_url("http://0.0.0.0:8080/v1")- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/test_embeddings.py:559
base_url="http://127.0.0.1:3000/v1",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/test_embeddings.py:584
assert req.full_url == "http://127.0.0.1:3000/v1/embeddings"
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/test_embeddings.py:704
api_key="k", base_url="http://127.0.0.1:3000/v1",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · code-review-graph-vscode/package.json
better-sqlite3, d3, @types/better-sqlite3, @types/d3, @types/node, @types/vscode, @vscode/test-electron, @vscode/vsce
- Why
- 10 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · diagrams/context-savings-demo.gif
diagrams/context-savings-demo.gif
- Why
- 1338859 bytes not read
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · docs/TROUBLESHOOTING.md:164
- In WSL, ensure `uv` is installed inside WSL (not the Windows version): `curl -LsSf https://astral.sh/uv/install.sh | sh`
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
30 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
apply_refactor_tool | write | Apply a previously previewed refactoring to source files. |
build_or_update_graph_tool | write | Build or incrementally update the code knowledge graph. |
embed_graph_tool | write | Compute vector embeddings for all graph nodes to enable semantic search. |
query_graph_tool | write | Run a predefined graph query to explore code relationships. |
run_postprocess_tool | write | Run post-processing on existing graph (flows, communities, FTS index). |
cross_repo_search_tool | read | Search for code entities across all registered repositories. |
detect_changes_tool | read | Detect changes and produce risk-scored, priority-ordered review guidance. |
find_large_functions_tool | read | Find functions, classes, or files exceeding a line-count threshold. |
generate_wiki_tool | read | Generate a markdown wiki from the code community structure. |
get_affected_flows_tool | read | Find execution flows affected by changed files. |
get_architecture_overview_tool | read | Generate an architecture overview based on community structure. |
get_bridge_nodes_tool | read | Find architectural chokepoints via betweenness centrality. |
get_community_tool | read | Get detailed information about a single code community. |
get_docs_section_tool | read | Get a specific section from the LLM-optimized documentation reference. |
get_flow_tool | read | Get detailed information about a single execution flow. |
get_hub_nodes_tool | read | Find the most connected nodes in the codebase (architectural hotspots). |
get_impact_radius_tool | read | Analyze the blast radius of changed files in the codebase. |
get_knowledge_gaps_tool | read | Identify structural weaknesses in the codebase graph. |
get_minimal_context_tool | read | Get ultra-compact context for any task (~100 tokens). Always call this first. |
get_review_context_tool | read | Generate a focused, token-efficient review context for code changes. |
get_suggested_questions_tool | read | Auto-generate review questions from graph analysis. |
get_surprising_connections_tool | read | Find unexpected architectural coupling via composite surprise scoring. |
get_wiki_page_tool | read | Retrieve a specific wiki page by community name. |
list_communities_tool | read | List detected code communities in the codebase. |
list_flows_tool | read | List execution flows in the codebase, sorted by criticality. |
list_graph_stats_tool | read | Get aggregate statistics about the code knowledge graph. |
list_repos_tool | read | List all registered repositories in the multi-repo registry. |
refactor_tool | read | Graph-powered refactoring operations. |
semantic_search_nodes_tool | read | Search for code entities by name, keyword, or semantic similarity. |
traverse_graph_tool | read | BFS/DFS traversal from best-matching node with token budget. |
Install
Package version 0.2.2 · audited commit 654ec41
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.2.2. The audit covers commit 654ec41 only.
claude mcp add code-review-graph --env CRG_OPENAI_API_KEY=${CRG_OPENAI_API_KEY} --env GOOGLE_API_KEY=${GOOGLE_API_KEY} --env MINIMAX_API_KEY=${MINIMAX_API_KEY} --env SECRET=${SECRET} -- npx -y [email protected]{
"mcpServers": {
"code-review-graph": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CRG_OPENAI_API_KEY": "${CRG_OPENAI_API_KEY}",
"GOOGLE_API_KEY": "${GOOGLE_API_KEY}",
"MINIMAX_API_KEY": "${MINIMAX_API_KEY}",
"SECRET": "${SECRET}"
}
}
}
}The command pins the package version recorded in the source (0.2.2); the audit covers commit 654ec41d2e47. Transport: stdio · streamable-http. Reads these environment variables: CRG_OPENAI_API_KEY, GOOGLE_API_KEY, MINIMAX_API_KEY, SECRET. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
654ec41d2e47
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/apodal-cherry334/code-review-graph/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about code-review-graph MCP server
What is the code-review-graph MCP server?
What tools does code-review-graph expose?
Is code-review-graph safe to connect to an agent?
What credentials does code-review-graph need?
How does code-review-graph run?
How current is this page?
Sources
- apodal-cherry334/code-review-graph on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 654ec41d2e47Observed · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the code-review-graph MCP server?
- What tools does code-review-graph expose?
- Is code-review-graph safe to connect to an agent?