codegraph / rules
Cursor rule73k starsChanged 4 months agoMITView on GitHub
CodeGraph MCP usage guide — one tool, codegraph_explore
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about colbymchenry/codegraph
- @midu.dev“¡No quemes tokens con tu IA explorando tu proyecto! Crea un grafo semántico local de tu código con esto ✓ …”Bluesky · May 18, 2026 · 12 likes
- @novica.bsky.social“hey #rstats is anyone working R support for github.com/colbymchenry... ?”Bluesky · May 22, 2026 · 9 likes
- headroomlabs-ai/headroom“[FEATURE] Support codegraph as an alternative code-graph backend”GitHub · Jun 15, 2026 · 8 reactions
- @alexiskirke.bsky.social“I came across this impressive open-source project on GitHub that helps AI coding agents work faster and …”Bluesky · May 25, 2026 · 7 likes
- @zottmann.dev“#WorksWellForMe: For code exploration tasks, when you tell your agent to clone a repo in a temp folder, …”Bluesky · Sep 29, 2026 · 5 likes
The biggest 5 of 86 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 86
Talked about on GitHub, Bluesky and Hacker News (86 times).
On GitHub · 50
- Jun 15, 2026[FEATURE] Support codegraph as an alternative code-graph backend — headroomlabs-ai/headroom8 reactions · 2 comments
- May 19, 2026feat: support CodeGraph as optional repo exploration helper — Gentleman-Programming/gentle-ai2 reactions · 1 comment
- Nov 17, 2026codegraph 1.6.3 — chenrui333/homebrew-tap1 reaction · 1 comment
- Jul 27, 2026codegraph: 1.4.1 -> 1.5.0 — NixOS/nixpkgs1 reaction
- Jul 7, 2026feat: Add codegraph — appium/appium-ios-remotexpc1 reaction · 1 comment
45 more on GitHub
- Jul 3, 2026Built-in graph-based code intelligence backend for dependency, call-chain, and impact queries — can1357/oh-my-pi1 reaction · 10 comments
- Jun 17, 2026Add compare table with `codegraph` — defendend/Claude-ast-index-search1 reaction · 1 comment
- Jun 15, 2026feat(codegraph): add CodeGraph local code-intelligence plugin — pleaseai/claude-code-plugins1 reaction · 4 comments
- May 29, 2026codegraph: init at 0.9.7 — numtide/llm-agents.nix1 reaction
- May 26, 2026fix(codegraph): verify MCP server is registered for the launched CLI — jasmedia/cc-pr-reviewer1 reaction · 2 comments
- May 25, 2026feat(codegraph): integrate CodeGraph MCP server to cut review token usage — jasmedia/cc-pr-reviewer1 reaction · 1 comment
- May 20, 2026CommandCode terminal freezes entirely + flickering on large output — CommandCodeAI/command-code1 reaction · 5 comments
- May 18, 2026Add Claude PR review workflow — cowprotocol/services1 reaction · 1 comment
- May 10, 2026Tools Comparisons alternatives — jgravelle/jcodemunch-mcp1 reaction · 6 comments
- Nov 22, 2026Minarbot CodeGraph 1: Rust crate foundation (schema, sync, extraction for Rust/TS/JS/Python/Go) — labsiqbal/minarbot0 reactions · 3 comments
- Nov 22, 2026[FEAT] codegraph compatibility? — hedges333/makeflow-skill0 reactions
- Nov 21, 2026build(deps-dev): bump the npm-dependencies group across 1 directory with 3 updates — vndv/pi-codegraph0 reactions
- Nov 20, 2026agent-skills.github.colbymchenry.codegraph: 1.6.3 → 1.6.4 — sudosubin/agents.nix0 reactions
- Nov 20, 2026codegraph: 1.6.2 -> 1.6.3 — NixOS/nixpkgs0 reactions
- Nov 17, 2026agent-skills.github.colbymchenry.codegraph: 1.6.2 → 1.6.3 — sudosubin/agents.nix0 reactions
- Nov 17, 2026chore(deps): bump the all-dependencies group across 1 directory with 32 updates — impact-initiatives/ana_app0 reactions
- Nov 13, 2026chore(overlays): bump codegraph to 1.6.2 — martinjlowm/nixfiles0 reactions · 1 comment
- Nov 13, 2026codegraph 0.9.9 leaks file descriptors on checkouts with many worktrees — martinjlowm/nixfiles0 reactions
- Nov 13, 2026Set up codegraph (code knowledge graph MCP) for the fleet agents — mingster/dotfiles0 reactions · 5 comments
- Nov 11, 2026Bump the dev-dependencies group across 1 directory with 5 updates — peter91v/ETNPILOT0 reactions
- Nov 9, 2026chore(deps-dev): bump @colbymchenry/codegraph from 0.8.0 to 1.6.2 — EmmanuelOrtiz87/gentle-vanguard-public0 reactions · 1 comment
- Nov 9, 2026CommonJS: missing module exports resolve to unrelated unimported class methods — inth3shadows/codegraph0 reactions · 1 comment
- Nov 6, 2026Run pinned CodeGraph integration tests in CI — phyzess/pappra0 reactions
- Nov 2, 2026chore: bump external skill pins — jthiruveedula/agentkit0 reactions
- Nov 1, 2026chore(deps): bump @colbymchenry/codegraph from 1.6.0 to 1.6.2 in /lazytrae-plugin/packages/cli/tooling/codegraph — elvinzhao10/LazyTrae0 reactions
- Nov 1, 2026integrate codegraph — alaexeyshustov/pipelines0 reactions · 1 comment
- Oct 30, 2026feat(search/S4): native C11 Tree-sitter CodeGraph symbols and versioned reference edges (#306) — qigao/TurboAgent0 reactions
- Oct 30, 2026feat(search/S3): revision-scoped SQLite FTS5 chunks+symbols and exact query planner (#306) — qigao/TurboAgent0 reactions · 2 comments
- Oct 24, 2026[22.10] Integrate RPGCode symbols, imports and calls with CodeGraph — tk-reawakened/rpgtoolkit-reawakened0 reactions
- Oct 23, 2026docs(positioning): optave/codegraph and agent-arch trip the competitive tripwire; retire the "only tool" claims — hslee16/Archy0 reactions · 2 comments
- Oct 10, 2026Add zstd compression as Indexer option — MerlinScheurer/hister0 reactions
- Oct 8, 2026fix(clone): copy a consistent snapshot, including the WAL — Lint111/codegraph0 reactions · 1 comment
- Oct 7, 2026chore(deps): Bump the workflow-tooling group across 1 directory with 2 updates — Zuexx/forgekit-android0 reactions
- Oct 7, 2026chore(deps): Bump the workflow-tooling group across 1 directory with 2 updates — Zuexx/forgekit-ios0 reactions
- Oct 6, 2026Update PURL mappings for conda-forge packages — prefix-dev/purl-associator0 reactions · 2 comments
- Oct 5, 2026build(deps): bump @colbymchenry/codegraph from 1.6.0 to 1.6.1 in /lazyqoder-plugin/tooling in the tooling group — elvinzhao10/LazyQoder0 reactions · 2 comments
- Oct 5, 2026Bump @colbymchenry/codegraph from 1.6.0 to 1.6.1 in /plugins/lazydeepseek/tooling in the tooling group — elvinzhao10/LazyDeepSeek0 reactions · 2 comments
- Oct 5, 2026Vibe https://github.com/colbymchenry/codegraph — generalbots/generalbots0 reactions
- Oct 5, 2026chore(deps): bump @colbymchenry/codegraph from 1.6.0 to 1.6.1 in /lazybuddy-plugin/tooling in the tooling group — elvinzhao10/LazyBuddy0 reactions · 1 comment
- Oct 5, 2026build(deps): bump @colbymchenry/codegraph from 1.6.0 to 1.6.1 in /plugins/lazyzcode/tooling in the tooling group — elvinzhao10/LazyZCode0 reactions · 2 comments
- Oct 4, 2026Freshness: codegraph v1.6.0 -> v1.6.2 — thoroc/context-radar0 reactions
- Oct 4, 2026codegraph: 1.6.0 -> 1.6.2 — NixOS/nixpkgs0 reactions
- Oct 3, 2026agent-skills.github.colbymchenry.codegraph: 1.6.0 → 1.6.2 — sudosubin/agents.nix0 reactions
- Oct 3, 2026codeGraph: 1.6.1 -> 1.6.2 — Kh05ifr4nD/coolheaded0 reactions
- Oct 3, 2026codegraph v1.6.2 — conda-forge/codegraph-feedstock0 reactions · 8 comments
On Bluesky · 34
- May 18, 2026¡No quemes tokens con tu IA explorando tu proyecto! Crea un grafo semántico local de tu código con esto ✓ -92% tool calls ✓ 71% más rápido… — @midu.devsays it tested it12 likes and reposts · 4 replies
- May 22, 2026hey #rstats is anyone working R support for github.com/colbymchenry... ? — @novica.bsky.social9 likes and reposts · 2 replies
- May 25, 2026I came across this impressive open-source project on GitHub that helps AI coding agents work faster and cheaper with local project-scoped… — @alexiskirke.bsky.social7 likes and reposts · 2 replies
- Sep 29, 2026#WorksWellForMe: For code exploration tasks, when you tell your agent to clone a repo in a temp folder, also tell it to init codegraph in… — @zottmann.dev5 likes and reposts · 1 reply
- May 25, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 colbymchenry / codegraph ⭐ 21,173 (+2,993) 🗒 TypeScript Pre-indexed code knowledge graph for Claude… — @github-trending.bsky.social5 likes and reposts · 1 reply
29 more on Bluesky
- May 6, 2026Reduce token & tool calls from 26-52 to 1-6 calls, faster 43-82%. When #codeagent explores your codebase query code #graph instead of… — @qdrddr.bsky.socialsays it tested it4 likes and reposts · 1 reply
- May 21, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 colbymchenry / codegraph ⭐ 7,633 (+1,850) 🗒 TypeScript Pre-indexed code knowledge graph for Claude… — @github-trending-js.bsky.social3 likes and reposts · 1 reply
- May 16, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 colbymchenry / codegraph ⭐ 2,110 (+397) 🗒 TypeScript Pre-indexed code knowledge graph for Claude… — @github-trending-js.bsky.social3 likes and reposts · 1 reply
- Nov 19, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 colbymchenry / codegraph ⭐ 77,940 (+129) 🗒 TypeScript Pre-indexed code knowledge graph, auto syncs on… — @github-trending-js.bsky.social2 likes and reposts
- Jun 27, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 colbymchenry / codegraph ⭐ 55,237 (+388) 🗒 TypeScript Pre-indexed code knowledge graph, auto syncs… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jun 17, 2026CodeGraph parses your repo with tree-sitter into a local SQLite graph served over MCP, so agents query callers, callees, and impact instead… — @jeremymorgan.com2 likes and reposts · 1 reply
- Jun 9, 2026codegraphの「コードベースを地図化してAIコーディングを軽くする」、ここはかなり筋がいいです🌿 https://x.com/so_ainsight/status/2058518896907538932… — @mint-echosphere.bsky.social2 likes and reposts · 1 reply
- May 25, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 colbymchenry / codegraph ⭐ 20,919 (+2,993) 🗒 TypeScript Pre-indexed code knowledge graph for Claude… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- May 22, 2026📈 Today's GitHub Trending: 1. https://github.com/anthropics/claude-plugins-official - Python, 2556 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy2 likes and reposts
- May 16, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 colbymchenry / codegraph ⭐ 2,109 (+397) 🗒 TypeScript Pre-indexed code knowledge graph for Claude… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Oct 31, 2026Index a small repo with CodeGraph, ask an agent to trace a call chain, compare against your IDE’s references. Fifteen minutes to know if… — @jeremymorgan.com1 likes and repost · 2 replies
- Oct 24, 2026Give your AI coding agent a pre-built map of your codebase: fewer tokens, fewer tool calls, 100% local. 🔗… — @prosperflowio.bsky.social1 likes and repost
- Jun 12, 2026しかも導入はタダの要約じゃない。`codegraph install` → 各プロジェクトで `codegraph init -i`、その後は file watcher で index を auto-sync。… — @mel-echosphere.bsky.social1 likes and repost
- Jun 12, 2026`codegraph`、`100% local` は本当だ。READMEにもそう書いてある。 元: https://x.com/so_ainsight/status/2058518896907538932 一次:… — @mel-echosphere.bsky.socialsays it tested it1 likes and repost · 1 reply
- Jun 3, 2026CodeGraph : un knowledge graph pré-indexé de votre codebase pour Claude Code, Cursor ou Codex. Résultat mesuré sur 7 projets réels — 35%… — @camilleroux.comsays it tested it1 likes and repost
- May 31, 2026「AIコーディングが35%安く、ツール呼び出し70%減、100%ローカルで情報も外に出ない」——codegraphが★3.4万に急上昇している。 https://x.com/opensourcelab9/status/2060602106432901196… — @sara-echosphere.bsky.socialsays it tested it1 likes and repost · 1 reply
- May 24, 2026GitHub - colbymchenry/codegraph: Pre-indexed code knowledge graph for Claude Code, Codex, Cursor, OpenCode, and Hermes Agent — fewer… — @tech-trending.bsky.social1 likes and repost · 1 reply
- May 23, 2026📈 Today's GitHub Trending: 1. https://github.com/Lum1104/Understand-Anything - TypeScript, 2331 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost · 1 reply
- May 22, 2026ai ml / GitHub Trending: GitHub - colbymchenry/codegraph: Pre-indexed code kno... For engineers using AI coding agents on large codebases,… — @foursignalsdev.bsky.social1 likes and repost
- May 21, 2026Knowledge graph for your agents is a very cool ideas 🔥 https://github.com/colbymchenry/codegraph — @apvarun.com1 likes and repost
- May 21, 2026📈 Today's GitHub Trending: 1. https://github.com/anthropics/claude-plugins-official - Python, 891 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost · 1 reply
- May 21, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 colbymchenry / codegraph ⭐ 7,633 (+1,850) 🗒 TypeScript Pre-indexed code knowledge graph for Claude… — @github-trending.bsky.social1 likes and repost · 1 reply
- May 20, 2026📈 Today's GitHub Trending: 1. https://github.com/colbymchenry/codegraph - TypeScript, 1910 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost · 1 reply
- May 16, 2026codegraph pre-indexes your codebase into a local knowledge graph for Claude Code — so it spends fewer tokens and tool calls hunting for… — @mahdi-17.bsky.social1 likes and repost · 1 reply
- May 14, 2026Claude Codeの探索を効率化するローカル専用のコードナレッジグラフツールらしい AIのコード理解を深めて作業を高速化したいときに試したい yug1224 starred colbymchenry/codegraph… — @yug1224.com1 likes and repost
- May 8, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 colbymchenry / codegraph ⭐ 1,045 (+148) 🗒 TypeScript Pre-indexed code knowledge graph for Claude Code… — @github-trending-js.bsky.social1 likes and repost
- Oct 30, 2026Blast radius of a code change is a graph problem. CodeGraph builds an AST-derived graph of symbols, calls, and imports, then exposes it to… — @jeremymorgan.com0 likes and reposts · 1 reply
- Jun 12, 2026同じ README の benchmark、平均は `47% fewer tokens` `58% fewer tool calls`。そこは効いてる。 でも cost は `16% cheaper` 止まりで、Excalidraw と Tokio は `even`… — @mel-echosphere.bsky.social0 likes and reposts · 1 reply
- May 28, 2026💎 README原文:"CodeGraph only helps when queried directly — otherwise a sub-agent reads files regardless and CodeGraph becomes overhead."… — @nemu-echosphere.bsky.social0 likes and reposts · 1 reply
On Hacker News · 2
- Jul 26, 2026Codegraph5 points
- May 24, 2026Supercharge Claude Code, Cursor, Codex with Semantic Code Intelligence1 point · 2 comments
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-langSkill
- agent-evalSkill
The file
Files
--- description: CodeGraph MCP usage guide — one tool, codegraph_explore alwaysApply: true --- <!-- CODEGRAPH_START --> ## CodeGraph This project has a CodeGraph MCP server configured, exposing a single tool: `codegraph_explore`. CodeGraph is a tree-sitter-parsed knowledge graph of every symbol, edge, and file. Reads are sub-millisecond and return structural information grep cannot. ### Use codegraph_explore instead of reading files Reach for `codegraph_explore` before grep/find or Read for any **structural** question — how does X work, how does X reach Y, what calls what, where is X defined, or surveying an area. It takes a natural-language question or a bag of symbol/file names and returns the relevant symbols' **verbatim, line-numbered source** grouped by file (the same `<n>\t<line>` shape Read gives you, safe to Edit from), plus the call paths between them — including dynamic-dispatch hops (callbacks, React re-render, JSX children) grep can't follow — and a blast-radius summary of what depends on them. Name a file or symbol in the query to read its current source. ### Rules of thumb - **Answer directly — don't delegate exploration.** ONE `codegraph_explore` usually answers the whole question; follow up with another `codegraph_explore` naming more specific symbols if you need more. Codegraph IS the pre-built index, so spawning a separate file-reading sub-task/agent — or running a grep + read loop — repeats work codegraph already did and costs more for the same answer. - **Trust codegraph results.** They come from a full AST parse. Do NOT re-verify them with grep — that's slower, less accurate, and wastes context. - **Don't grep or Read first** to find or understand indexed code — one `codegraph_explore` returns the relevant source in a single round-trip. Reach for raw Read/Grep only to confirm a specific detail codegraph didn't cover, or for what it doesn't index (configs, docs). - **Index lag — check the staleness banner, don't guess a wait.** When a codegraph response starts with "⚠️ Some files referenced below were edited since the last index sync…", the listed files are pending re-index — Read those specific files for accurate content. Files NOT in that banner are fresh and codegraph is authoritative for them. ### If `.codegraph/` doesn't exist The MCP server returns "not initialized." Ask the user: *"I notice this project doesn't have CodeGraph initialized. Want me to run `codegraph init -i` to build the index?"* <!-- CODEGRAPH_END -->
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

