Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

code-review-graph MCP server

by apodal-cherry334/code-review-graphMIT licenceAudited 12 Oct 2026 · source 654ec41d2e47

npm code-review-graph 0.2.2stdiostreamable-http★ 0
✓SAFEGrade B · 89/100 · 12 Oct 2026 · 654ec41
0GitHub stars

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100✓SAFE B
0 critical0 high1 medium8 low2 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 3 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 7 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmcode-review-graph at 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
F-13 Inventory / provenanceCWE-1104Layer L0
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
LOWInventory / provenanceinv.hidden_file · code-review-graph-vscode/.vscodeignore
F-13 Inventory / provenanceCWE-1104Layer L0
.vscodeignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · tests/test_integration_git.py:353
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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
F-13 Inventory / provenanceCWE-1104Layer L0
diagrams/context-savings-demo.gif
Why
1338859 bytes not read
Fix
—
INFOSupply chainprompt.pipe_to_shell · docs/TROUBLESHOOTING.md:164
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- 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

25 read5 write0 destructive
ToolRiskWhat it does
apply_refactor_toolwriteApply a previously previewed refactoring to source files.
build_or_update_graph_toolwriteBuild or incrementally update the code knowledge graph.
embed_graph_toolwriteCompute vector embeddings for all graph nodes to enable semantic search.
query_graph_toolwriteRun a predefined graph query to explore code relationships.
run_postprocess_toolwriteRun post-processing on existing graph (flows, communities, FTS index).
cross_repo_search_toolreadSearch for code entities across all registered repositories.
detect_changes_toolreadDetect changes and produce risk-scored, priority-ordered review guidance.
find_large_functions_toolreadFind functions, classes, or files exceeding a line-count threshold.
generate_wiki_toolreadGenerate a markdown wiki from the code community structure.
get_affected_flows_toolreadFind execution flows affected by changed files.
get_architecture_overview_toolreadGenerate an architecture overview based on community structure.
get_bridge_nodes_toolreadFind architectural chokepoints via betweenness centrality.
get_community_toolreadGet detailed information about a single code community.
get_docs_section_toolreadGet a specific section from the LLM-optimized documentation reference.
get_flow_toolreadGet detailed information about a single execution flow.
get_hub_nodes_toolreadFind the most connected nodes in the codebase (architectural hotspots).
get_impact_radius_toolreadAnalyze the blast radius of changed files in the codebase.
get_knowledge_gaps_toolreadIdentify structural weaknesses in the codebase graph.
get_minimal_context_toolreadGet ultra-compact context for any task (~100 tokens). Always call this first.
get_review_context_toolreadGenerate a focused, token-efficient review context for code changes.
get_suggested_questions_toolreadAuto-generate review questions from graph analysis.
get_surprising_connections_toolreadFind unexpected architectural coupling via composite surprise scoring.
get_wiki_page_toolreadRetrieve a specific wiki page by community name.
list_communities_toolreadList detected code communities in the codebase.
list_flows_toolreadList execution flows in the codebase, sorted by criticality.
list_graph_stats_toolreadGet aggregate statistics about the code knowledge graph.
list_repos_toolreadList all registered repositories in the multi-repo registry.
refactor_toolreadGraph-powered refactoring operations.
semantic_search_nodes_toolreadSearch for code entities by name, keyword, or semantic similarity.
traverse_graph_toolreadBFS/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]

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

  1. ✓SAFE B 89 / 100

    First audit · 654ec41d2e47

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/apodal-cherry334/code-review-graph/badge.svg)](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?
Map code reviews as graphs to optimize token usage and improve analysis accuracy.
What tools does code-review-graph expose?
30 in total: 25 read-only, 5 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is code-review-graph safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does code-review-graph need?
It reads CRG_OPENAI_API_KEY, GOOGLE_API_KEY, MINIMAX_API_KEY and SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does code-review-graph run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as code-review-graph at 0.2.2.
How current is this page?
The grade is for one exact copy of the source (654ec41d2e47), read on 2026-10-12. The repository is watched and re-audited when it changes.

Sources

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.