# CodeGraph

CodeGraph is a locally indexed, auto-syncing code knowledge graph that gives coding agents such as Claude Code, Cursor and Copilot structural context with fewer tokens and fewer tool calls than repeated file reads.

A single installer downloads a self-contained CLI with no Node.js requirement, a separate step wires the CodeGraph MCP server into whichever detected agents the user picks, such as Claude Code, Cursor, Codex CLI, OpenCode, Gemini CLI, Antigravity, Kiro and GitHub Copilot, and a per-project init command builds the initial graph. After that, a background watcher keeps the graph updated automatically as files change, so it should never go stale.

All indexing and querying happen on the user's machine, and an uninstall command removes every agent configuration and CLI install it finds, showing what will be deleted first. A separate hosted platform, still in early access, is planned to analyze pull requests for affected flows and business-logic risk.

The core engine is written in Rust. C, MIT licensed.

Website: https://colbymchenry.github.io/codegraph/
