# 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

Canonical page: https://www.reposhelf.co.uk/projects/github/colbymchenry/codegraph.html

- Project ID: colbymchenry/codegraph
- Source: GitHub
- Original project: https://github.com/colbymchenry/codegraph
- Description attribution: project author metadata
- Categories: Developer tools, MCP servers &amp; agents
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-03T10:02:55.323Z
- Demo page loaded: 2026-11-06T00:44:17.601Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> The fastest complete code graph · surgical context · built for how agents actually work · 100% local

> When an AI agent needs to understand code — to answer a question or make a change — it discovers structure the slow way: grep, glob, and Read, one file at a time, rebuilding call paths and dependencies by hand. That's a pile of tool calls and round-trips before it even starts the real work.

> CodeGraph hands the agent the exact code it needs in one call. It's a pre-built knowledge graph of every symbol, call edge, and dependency in your codebase — so instead of crawling files, the agent asks one question and gets back the relevant source, the call paths between those symbols \(including dynamic-dispatch hops grep can't follow\), and the blast radius of a change. Surgical context, not a file-by-file search — which means fewer tool calls and faster answers on every codebase, large or small.

- How auto-syncing works — and why you don't need to run codegraph sync manually
- File watcher with debounced auto-sync. A native FSEvents / inotify / ReadDirectoryChangesW watcher captures every source-file create / modify / delete and triggers a re-index after a debounce window \(default 2000ms,…
- Per-file staleness banner. During the brief debounce window, MCP tool responses that would reference a still-pending file prepend a ⚠️ banner naming it and telling the agent to Read it directly. Pending files NOT…
- Connect-time catch-up. When the MCP server \(re\)connects, codegraph runs a fast \(size, mtime\) + content-hash reconciliation against the working tree before answering the first query — so edits made while no MCP server…
- Verify any time with codegraph status \(CLI\). If anything is pending, you'll see a \#\#\# Pending sync: section naming the files and their edit age.

## Author-documented requirements and audience

> The fastest complete code graph · surgical context · built for how agents actually work · 100% local

> The fastest complete code graph · surgical context · built for how agents actually work · 100% local



Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/colbymchenry/codegraph/blob/main/README.md

Extraction checked: 2026-11-03T10:02:55.433Z

Last recorded source update: 2026-11-01T17:36:07.000Z

Saved release: v1.6.2 — 2026-10-03T06:41:20.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=colbymchenry%2Fcodegraph). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
