# CodeGraph 0.7.10 — Local SQLite + Tree-Sitter Knowledge Graph Cuts Claude Code, Codex, and Cursor Exploration Tool Calls by 94%

> Pre-index a repo into a local knowledge graph and let your coding agent query it instead of grepping every file.

- Org: Colby McHenry
- Date: 2026-05-19
- Category: repo, tool
- Source: https://github.com/colbymchenry/codegraph
- Canonical page: https://ai-tldr.dev/releases/colbymchenry-codegraph/

## In short

Code agents reach for grep, glob, and Read whenever they explore a codebase. CodeGraph pre-indexes symbols, call graphs, and routes into a local SQLite store, exposes them over MCP, and goes wide on GitHub trending.

## What it is

CodeGraph is a local-first CLI, library, and MCP server that parses any supported codebase with tree-sitter, stores symbols, edges, and files in SQLite, and exposes the graph as MCP tools to Claude Code, Codex CLI, Cursor, and OpenCode. v0.7.10 shipped May 19 and the repo jumped roughly 1,850 stars in a day on GitHub Trending.

## How it works

Tree-sitter parses 19+ languages (TypeScript, Python, Go, Rust, Java, Swift, Kotlin, Dart, C/C++, more) into ASTs. Extracted symbols and call edges populate a per-project SQLite database with full-text search. A bundled MCP server exposes codegraph_search, codegraph_callers, codegraph_context, and framework-aware route detection for 13 web frameworks. A file watcher debounces edits and keeps the graph in sync without API calls.

## Why it matters

Maintainer's benchmarks show agent Explore sessions use ~94% fewer tool calls and run ~82% faster than file-scanning baselines. Nothing leaves the machine, so it works in air-gapped or compliance-bound shops where Cursor's cloud index is a non-starter. It is a concrete data point in the larger shift toward agent-native local indexing.

## Who it's for

Heavy users of Claude Code, Codex CLI, Cursor, or OpenCode

## Try it

npx @colbymchenry/codegraph init -i

## Links

- [GitHub Repo](https://github.com/colbymchenry/codegraph)
- [Changelog](https://github.com/colbymchenry/codegraph/blob/main/CHANGELOG.md)
- [Releases](https://github.com/colbymchenry/codegraph/releases)
