🕸️codegraph
colbymchenry/codegraph · homepage ↗
Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, and Hermes Agent, fewer tokens, fewer tool calls, 100% local
⭐ Hugely popular: 67k stars, gaining about 1k a week
View on GitHub ↗repo profile
momentum
durability
bus factor = how many people it takes to cover more than half the commits (6 months). 1 is a solo project; higher means the work is spread across a team. top-author share is the single busiest author's slice of those commits.
since we covered it
why it's a big deal
- The context-efficiency layer made literal: the author’s benchmarks across six real codebases report roughly 92% fewer tool calls and 71% faster exploration.
- It pairs cleanly with the focal-model thesis, fewer tokens burned on discovery means a smaller, cheaper model can answer the same architecture question.
- A native file watcher auto-syncs the graph as you code, so it stays current with zero configuration.
under the hood
- tree-sitter parses source into ASTs that land in SQLite with FTS5; a resolution pass links calls to definitions, imports to files, and class inheritance.
- It exposes search / callers / callees / impact / context as MCP tools, plus a library API for your own pipelines.
- codegraph affected traces import dependencies to pick exactly which test files a diff touches, drop it into CI or a pre-commit hook.
our take from PR#35, 2026-06-03
star history
- PR#35 38 2026-06-03
- now 67k + 67k since first covered
curve is sampled from GitHub's star history, plus our own daily readings since we covered it; the dashed stretch is before we first covered it, the solid line since. figures at coverage are the numbers we printed then (approx.), current count is live.
understory
Output and attention are roughly in balance.
- output, commits & releases
- clout, star velocity
output = commits & releases; clout = star velocity, both 0 to 100 monthly indices; the gap where output runs above clout is the understory. The understory →
covered in
-
Pre-indexed code graph that cuts Claude Code’s tool calls ~90%
similar projects
compare these →- 🧠 codebase-memory-mcp
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph, average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
39k ACTIVE - 💾 claude-mem
JavaScript
Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
91k ACTIVE - 🗺️ Understand-Anything
TypeScript
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
79k ACTIVE
comments
Sign in with GitHub to add your blip on codegraph.