Code-Graph

•

Build and query a persistent code knowledge graph to understand code relationships, identify change impact, and perform security analysis, all backed by precise source evidence.

Code-Graph is a persistent code knowledge graph server designed to index repositories using Tree-sitter into a per-project SQLite graph. It exposes this detailed code information to various MCP clients like Claude Code, Codex, and Zed. A key differentiator is its robust evidence contract: every relationship includes its resolver, confidence, and source range, ensuring the index is bound to an exact checkout and preventing stale data. It also offers an optional compiler-index tier (SCIP) to enhance heuristic edges with compiler-resolved precision, serving as a powerful structural analysis complement to discovery tools like `code-search`.

주요 기능

01Persistent code knowledge graph with source-backed evidence for every relationship
02Compatibility with multiple MCP clients (Claude Code, Codex, Cursor, Zed, etc.)
03Compiler-index tier (SCIP) for upgrading heuristic edges to compiler-resolved ones
04Supports 33 programming languages including Go, Python, JavaScript, Rust, and Java
050 GitHub stars
06Comprehensive toolset for call tracing, data flow, change impact analysis, and security auditing

사용 사례

01Analyze potential change impact and identify affected tests before making modifications
02Conduct security and compliance analysis by querying security surfaces and STIG evidence
03Deeply understand codebases by tracing callers, callees, and implementations across projects