This article was originally published on aifoss.dev
TL;DR: CodeGraph v0.9.9 is a local MCP server that pre-indexes your codebase using tree-sitter and SQLite, then serves a symbol knowledge graph to Claude Code and Cursor instead of letting the agent grep and read files on every query. Official benchmarks across seven real codebases show 58% fewer tool calls, 47% fewer tokens, and 16% lower API cost — validated on Claude Opus 4.8 on June 2, 2026. Three install commands. MIT license. Nothing leaves your machine.
What you'll have running after this guide:
CodeGraph's MCP server wired into Claude Code and/or Cursor
Your codebase pre-indexed into a local SQLite knowledge graph






