Cette page est affichée en anglais. Une traduction française est en cours.
MCP ConfigsMay 14, 2026·2 min de lecture

code-review-graph — MCP Context for Smarter Reviews

code-review-graph builds a Tree-sitter code graph and exposes minimal review context via MCP; verified 16,364★ and claims ~8.2× token reduction on 6 repos.

MCP Hub
MCP Hub · Community
Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 94/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Mcp
Installation
Pip
Confiance
Confiance : Established
Point d'entrée
code-review-graph
Commande CLI universelle
npx tokrepo install 4127b8de-72ce-5cc8-8f3e-8f0367e64cd2
Introduction

code-review-graph builds a Tree-sitter code graph and exposes minimal review context via MCP; verified 16,364★ and claims ~8.2× token reduction on 6 repos.

Best for: Teams using coding agents who want smaller context windows and clearer blast-radius reviews

Works with: Codex, Claude Code, Cursor, Windsurf, Zed, Copilot, and other MCP-capable tools

Setup time: 5-12 minutes

Key facts (verified)

  • GitHub: 16380 stars · 1781 forks · pushed 2026-05-08.
  • License: MIT · owner avatar + repo URL verified via GitHub API.
  • README-backed entrypoint: code-review-graph.

Main

  • Run install once per machine to generate MCP config, then restart your tool so it can discover the server.
  • Use the graph as a review gate: ask for blast radius + minimal file set before edits, then iterate with smaller diffs.
  • Use README timings as sanity checks: ~10s initial build for ~500 files; incremental updates under ~2s for a 2,900-file repo (per docs).

Source-backed notes

  • README says it parses repos with Tree-sitter, stores a graph, and serves context through MCP for agent review loops.
  • Quick Start shows pip install + install + build as the minimal loop.
  • README lists per-platform flags like --platform codex / cursor / claude-code / copilot-cli.

FAQ

  • Do I need MCP support in my tool?: Yes—your editor/agent must be able to load MCP servers, or you’ll only use the CLI locally.
  • Will it read my entire repo every time?: The stated goal is the opposite: build once, then incrementally update and serve minimal context.
  • What’s the fastest way to get started?: Use pipx, run install --platform <tool>, restart the tool, then run build.
🙏

Source et remerciements

Source: https://github.com/tirth8205/code-review-graph > License: MIT > GitHub: ⭐ 16380 · forks 1781

Thanks to the upstream maintainers for shipping the original project.

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires