tirth8205/code-review-graph

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

Python17516 ★Developer Tools & CLIsGitHub ↗
Quality: solid 19/24
PAI: integrate 0.5
Appraised: 2026-05-27 current
Contents

Overview

Verdict

Rating Summary
Quality solid (19/24) Actively maintained, well-benchmarked Python tool with massive early adoption and clean MCP/CLI surface
PAI Relevance integrate (0.50) Fills a genuine gap in code-aware context management; callable as a subprocess MCP server from PAI skills

Quality Assessment

19/24 — actively-maintained / adequately-documented / solid

Health: 8/8 (actively-maintained)

Failed:

Passed:

Documentation: 6/8 (adequately-documented)

Failed:

Passed:

Engineering Signals: 5/8 (solid)

Failed:

Passed:

PAI Relevance

Dimension Score Assessment
Harvest Value 1 The blast-radius algorithm (trace callers/dependents/tests from a changed node) and Leiden-community-based context segmentation are both worth studying as design patterns for PAI's Knowledge skill, which currently handles general knowledge graphs without code-structure awareness.
Integration Readiness 1 Python implementation, but exposes a clean CLI (code-review-graph) and MCP server; PAI could wrap it as a subprocess skill or invoke it as an MCP tool from any agent — same integration path as other Python CLIs in PAI's toolchain.
Overlap Risk 1 Partial conceptual overlap with PAI's Knowledge skill (persistent graph querying), but code-review-graph is narrowly scoped to code-structure graphs, blast-radius analysis, and AST-level indexing — none of which the Knowledge skill covers.
Gap Fill 1 PAI has no code-aware context reduction capability; when PAI agents perform development tasks they lack blast-radius analysis to minimise file reads. This addresses a functional area with limited existing PAI coverage.

Composite: 0.50

What Next

Landscape Position

Category: Developer Tools & CLIs

In this category: casey--just; tirth8205--code-review-graph is the first entry in the code-intelligence graph sub-niche

Standing: Complements casey--just (task-runner automation) by solving a different problem — intelligent context scoping for AI-assisted code review — with no functional overlap between the two entries.

Evidence Base

Density: 9/10 — Available: repo metadata (stars, forks, dates, license, topics), full README first 8KB including diagrams index and benchmark details, landscape context with rolling summary and prior appraisals, release data. Missing: dependency manifest (pyproject.toml not fetched), full README beyond 8KB (some sections likely truncated), contributor count.

Notes

The prior rolling-summary entry for this repo scored poor (4.6/24), likely assessed under minimal data before the full README was available. With evidence_density 9/10, the score revises substantially upward to 19/24 (solid). The benchmark methodology (fixed upstream SHAs, deterministic Leiden seed, CPU-reproducible embeddings) is unusually rigorous for a developer tool and is itself a harvest signal for how PAI's Evals skill could approach infrastructure-level reproducibility.