colbymchenry/codegraph
Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, CoPilot, and Hermes Agent — fewer tokens, fewer tool calls, 100% local
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#3 Repository Của Ngày
#3 Repository Của Ngày
🧠 CodeGraph: Surgical Code Context for AI Agents
Stop grepping files one by one. Get exact code context, call paths, and blast radius in a single call.
CodeGraph by colbymchenry builds a pre-indexed knowledge graph of every symbol, call edge, and dependency in your codebase. Watches every file change and updates the graph automatically — no stale indexes, no re-runs. Exposes the graph as an MCP server, so AI agents like Claude Code, Cursor, Codex, Gemini, opencode, Hermes, Antigravity, and Kiro get surgical context instead of file-by-file search. 100% local, no cloud, no Node.js required.
✨ Highlights
- Pre-indexed knowledge graph: every symbol, call edge, and dependency mapped upfront, before any agent asks
- Auto-sync: graph updates on every file change in real time, index never goes stale
- Surgical context: agent gets exact source and call paths in one call, not a pile of Read tool calls
- Dynamic dispatch: follows call edges grep cannot, including dynamic-dispatch hops
- Blast radius: shows exactly what breaks when you change a symbol, what flows are affected
- MCP server: wires into Claude Code, Cursor, Codex CLI, opencode, Hermes Agent, Gemini CLI, Antigravity IDE, and Kiro with
codegraph install - No Node.js required: bundled runtime, one-command install for macOS, Linux, and Windows
- 100% local: nothing leaves your machine, no tokens leaked to cloud
💡 Why it matters
AI agents normally discover code structure the slow way — grep, glob, Read, one file at a time. Rebuilding call paths and dependencies by hand. That is a pile of tool calls and round-trips before the real work even starts. CodeGraph hands the agent the exact code it needs in one call: the relevant source, the call paths between symbols, and the blast radius of a change. Works on any codebase, large or small. Auto-sync means the index is never stale while you or your agent edits code. If you run an AI coding agent against a real codebase, this is the layer that turns "figure it out from scratch" into "ask and get the answer."
#CodeGraph #KnowledgeGraph #MCP #AIagents #TiniX