CodeGraph is a pre-indexed code knowledge graph designed to enhance Claude Code's code exploration capabilities, reducing tool calls and improving speed and efficiency.
Source: per README View on GitHub →CodeGraph is gaining attention due to its significant reduction in tool calls and exploration time, addressing the pain points of inefficient codebase exploration in Claude Code. Its unique technical choice of a pre-indexed knowledge graph stands out, offering a more efficient and localized code exploration experience.
Source: Synthesis of README and project traitsReduces the need for expensive exploration agents by providing entry points, related symbols, and code snippets with a single tool call.
Source: per READMEEnables instant search of code by name across the entire codebase using FTS5.
Source: per READMETraces callers, callees, and the full impact radius of any symbol, aiding in understanding code changes' effects.
Source: per READMEMaintains an up-to-date graph using native OS events and debounced auto-sync, ensuring the graph reflects current code changes without configuration.
Source: per READMESupports a wide range of programming languages, including TypeScript, JavaScript, Python, Go, Rust, Java, C#, PHP, Ruby, C, C++, Swift, Kotlin, Dart, Svelte, Liquid, Pascal/Delphi.
Source: per READMERecognizes and links routing files to their handlers across various web frameworks, enhancing the understanding of URL patterns and their bindings.
Source: per READMEOperates entirely locally, ensuring no data leaves the user's machine and no external services are required.
Source: per READMEThe architecture of CodeGraph is inferred to be modular, with a focus on building and querying a semantic knowledge graph. It likely employs design patterns such as the Repository pattern for data management and the Strategy pattern for different exploration strategies. The data flow involves indexing codebases into a SQLite database and querying this database for code intelligence. Key technical decisions include the use of native OS events for synchronization and the integration of various programming languages and web frameworks.
Source: Code tree + dependency filesCenter: project; inner ring: core feature modules; outer ring: key dependencies. Auto-generated from core_features and tech_stack.key_deps.
@clack/promptscommandernode-sqlite3-wasmpicomatchsisteransitree-sitter-wasmsweb-tree-sitterCodeGraph is suitable for developers and technical decision-makers who use Claude Code for code exploration, particularly in large codebases. It is useful for scenarios where efficient code exploration, impact analysis, and full-text search are critical, such as in software development, code maintenance, and debugging.
Source: READMEv0.7.6 (2026-05-13): Fixed `codegraph` CLI failing with `zsh: permission denied: codegraph` after a fresh global install.
Source: GitHub ReleasesCodeGraph is a valuable tool for enhancing code exploration in Claude Code, particularly for those working with large and complex codebases. Its focus on efficiency and comprehensive code intelligence makes it a strong choice for developers seeking to streamline their code exploration process.