• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Tirth Kanani avatar

code-review-graph

Local code graph that feeds AI coding assistants only the relevant files

  • AI coding agents
  • Developer tools
  • Agent skills and plugins
View on GitHub
Website

What it is

A Python tool that parses a repository with Tree-sitter into a SQLite graph of functions, classes, imports, calls and test links, then serves compact context to AI coding assistants over MCP. When code changes, it traces the blast radius of callers, dependents and tests so the assistant reads only affected files during reviews. Developers using Claude Code, Cursor, Codex and similar tools can set it up with a single command, after which hooks or a file watcher refresh the graph incrementally as code changes.

Images

Facts

Stars
32,285 GitHub stars.
32,285

Forks
3,098
Commits
1,270
Contributors
128
Language
Python
License
MIT
Last commit
Oct 15, 2026
On GitHub since
February 2026
First release
February 2026
Platforms
macOS, Windows, Linux, CLI
Self-hostable
No
Author
Tirth Kanani
Tags
  • static-analysis
  • mcp-server
  • code-review
  • context-engineering
  • knowledge-graph
  • code-intelligence

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • Vitali Avagyan avatar

    Code-Graph-RAG

    Maps a codebase into a knowledge graph to query and edit in plain English

    5.3k
  • Martin Vogel avatar

    codebase-memory-mcp

    Local MCP server that indexes code into a queryable knowledge graph

    47k
  • Colby Mchenry avatar

    CodeGraph

    Local code graph that gives AI coding agents structural context via MCP

    74.5k

What people are saying

Updated Oct 21, 2026
  • Hacker NewsCode-review-graph: persistent code graph that cuts Claude Code token usageMar 9, 2026 · 12 points · 2 comments (opens Hacker News in a new tab)
  • Bluesky“Helper for #Agents for token efficiency. #MCP or #CLI: Builds #Code #Graph: #AST & Tree-sitter. Continuous updates with changes. 19 languages including…”Apr 7, 2026 · 6 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“code-review-graph maps your whole codebase into a local-first graph, so your ai coding tools read only what matters. plugs into mcp + cli, indexes once, feeds…”Jul 4, 2026 · 2 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“This looks like a nice tool - an MCP server to build a knowledge graph of your code, claims several times less tokens spent.”May 2, 2026 · 2 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“code-review-graph Local knowledge graph for Claude Code. Builds a persistent map of your codebase so Claude reads only what matters - 6.8× fewer tokens on…”Apr 15, 2026 · 2 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“GitHub - tirth8205/code-review-graph: Local-first code intelligence graph for MCP and CLI. Build...”Jul 27, 2026 · 2 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Claude only reads the necessary parts, achieving 49x reduction for large monorepos. 4. Token Savior An MCP server that references code by symbols instead of…”Apr 22, 2026 · 0 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“I discovered this standout GitHub repo about boosting AI code review by mapping just the impacted code - saving time and tokens, all local with easy setup…”Jul 22, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)