Code Review Graph: Add Local Project Context to Claude Code

C

Code Review Graph builds a local dependency graph of your entire codebase for AI coding assistants like Claude Code. It eliminates redundant full-repository scanning and reduces hallucinations by providing precise context. The tool runs entirely locally using Tree-sitter parsing and incremental tracking. It delivers only relevant files to AI assistants via the Model Context Protocol. Developers gain faster, more accurate AI-assisted coding without cloud dependencies.

Threads user, in response to Code Review Graph: Add Local Project Context to Claude Code

Code Review Graph solves the context management problem for AI-assisted development. It maps file relationships and imports across JavaScript, Python, Go, and Rust projects. The tool integrates directly with Claude Code and other MCP-compatible assistants. You maintain full privacy as all processing stays on your machine.

Project Repository

Project link:
https://github.com/tirth8205/code-review-graph

How It Works

Code Review Graph uses Tree-sitter to parse source files and extract AST nodes. It builds a dependency graph of file relationships across the repository. Incremental tracking watches for changes and updates only affected parts. The MCP server exposes the graph to AI assistants for context-aware file access.

code review graph repo

All processing occurs locally, ensuring no code leaves your system. This local approach eliminates cloud latency and privacy concerns. The tool supports any language with Tree-sitter grammars, covering most mainstream programming languages.

The Verdict

Code Review Graph addresses the scaling problem of AI-assisted coding but requires Tree-sitter language support. It works best for projects with clear import structures. The tool is open-source and freely available on GitHub. For developers using AI desktop assistants, it provides the missing structural intelligence needed for larger codebases.

About the author

Hairun Wicaksana

Hi, I just another vibecoder from Southeast Asia, currently based in Stockholm. Building startup experiments while keeping close to the KTH Innovation startup ecosystem. I focus on AI tools, automation, and fast product experiments, sharing the journey while turning ideas into working software.

Get in touch

Quickly communicate covalent niche markets for maintainable sources. Collaboratively harness resource sucking experiences whereas cost effective meta-services.