qmetrics.net

code-review-graph

Local code graph for MCP-assisted reviews

code-review-graph screenshot

code-review-graph indexes repositories into a SQLite knowledge graph and serves blast-radius context to AI coding tools over MCP. Incremental updates keep the map current after edits.

Overview

code-review-graph parses source with Tree-sitter into a persistent graph of functions, classes, imports, calls, and tests. AI assistants connected through MCP receive compact slices of that graph instead of rereading entire trees when reviewing a change.

An install command detects supported editors and agents, writes MCP entries, hooks, and optional rule snippets, then builds the graph locally. Changed files trigger incremental re-indexing via editor hooks, git hooks, or watch mode, targeting only hashes that differ.

At review time the tool traces callers, dependents, and related tests for touched symbols and can score risk. It supports dozens of languages plus notebooks, with optional custom grammars via languages.toml. A GitHub Action posts risk summaries on pull requests without sending code to a third party.

Benchmarks reported on several open repositories show large token reductions when models query the graph versus dumping full corpora. Optional cloud embeddings remain off by default; the default posture stores one local database file on the developer machine.

Key features

  • Tree-sitter structural indexing
  • MCP context tools
  • Blast-radius change analysis
  • Incremental hash-based updates
  • Multi-editor install command
  • Git hook integrations
  • GitHub Action PR comments
  • Custom language mappings

Use cases

  • Token-efficient AI code review
  • Finding impact of a local edit
  • CI risk comments on pull requests
  • Large-repo navigation for agents
  • Cross-language monorepo intelligence

Tags

Similar software

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

Understand Anything

Interactive codebase knowledge graph for AI assistants

A multi-platform plugin that scans a project, builds a knowledge graph of structure and dependencies, and opens a searchable web dashboard. It supports domain views, guided tours, and diff impact analysis.

★ 94.7k⟳ 3 days agoMIT

Open Code Review

CLI agent for precise LLM-powered code review

Open Code Review reads Git diffs, applies deterministic review pipelines, and posts line-accurate comments via a tool-using LLM agent.

★ 56.9k⟳ 2 days agoApache-2.0
Open Source Alternative to:Greptile

codebase-memory-mcp

Local MCP code intelligence knowledge graph server

Codebase Memory indexes repositories into a persistent local graph and exposes it through MCP tools and a CLI. Optional CBM Lens UI explores calls, docs, and infrastructure links on your machine.

★ 49.3k⟳ yesterdayMIT

rust-analyzer

Rust language server for editor tooling

A language server that adds IDE-style features when you write Rust. It works with any editor that speaks the Language Server Protocol.

★ 17k⟳ yesterdayApache-2.0

IDA Pro MCP

MCP bridge between IDA Pro and language model clients

IDA Pro MCP exposes disassembly, decompilation, and IDB operations to MCP-compatible AI clients. It supports GUI plugins, stdio servers, and headless idalib workers with IDA Pro 8.3+.

★ 13.6k⟳ 16 days agoMIT