GitHub - colbymchenry/codegraph: Pre-indexed code knowledge graph for Claude Code, Codex, Cursor, and OpenCode — fewer tokens, fewer tool calls, 100% local
CodeGraph is an open-source npm tool that builds a pre-indexed semantic knowledge graph of your codebase and exposes it to AI coding agents (Claude Code, Cursor, Codex CLI, OpenCode) via an MCP server. By giving agents a local SQLite-backed graph of symbols, call graphs, and code structure, it eliminates expensive file-scanning tool calls. Benchmarks across 6 real-world codebases show 92% fewer tool calls and 71% faster exploration on average. It supports 19+ languages, framework-aware route detection for 13 frameworks, auto-syncs via native OS file watchers, and runs 100% locally with no external API keys required.