Repo Graph

•

Convert codebases into deterministic AST knowledge graphs, enabling AI coding agents to query dependencies, call hierarchies, and blast radiuses without full-file reading.

Repo Graph constructs a deterministic, embedding-free knowledge graph of Python and TypeScript/JavaScript codebases using native AST and Tree-sitter parsers, storing symbols, imports, calls, and inheritance relationships in a local SQLite database. By exposing this graph to coding assistants like Claude Code, Cursor, Codex, and OpenCode via MCP, it replaces token-heavy, brute-force file grepping with precise structural queries. The tool yields compact, line-accurate JSON answers to drastically cut token consumption while accelerating codebase navigation, refactoring impact analysis, and test discovery.

主要功能

01Incremental indexing backed by SHA-256 file hashing and local SQLite with FTS5 full-text search
02Pre-configured client support for Claude Code, Cursor, Codex, and OpenCode via the standard MCP stdio protocol
03Blast radius and impact analysis to identify transitive callers, affected subclasses, and corresponding test suites
04Deterministic AST and Tree-sitter parsing for Python and TypeScript/JavaScript without embeddings or LLM dependencies
05Comprehensive graph resolution covering imports, definitions, function calls, class inheritance, tests, and references
060 GitHub stars

使用案例

01Tracing call hierarchies and symbol definitions across multi-file codebases without consuming LLM context tokens
02Finding the shortest reference or call paths between distinct modules during architectural reviews
03Evaluating the blast radius and identifying tests to run before refactoring critical classes or methods