Step 01
Orient around the task.
CodeDB gives the client likely files, symbols, dependencies, and focused source excerpts.
codedb context "fix session refresh"CodeDB · Free local code intelligence
Give your agent a map of definitions, callers and dependencies. CodeDB runs locally and connects over MCP, so you can keep the coding client you already use.
curl -fsSL https://codedb.codegraff.com/install.sh | bash
Works out of the box with Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Devin.
See the CodeDB search guide or read how local code intelligence reduces agent context.

Step 01
CodeDB gives the client likely files, symbols, dependencies, and focused source excerpts.
codedb context "fix session refresh"Step 02
Outline maps the file first. Symbol reads pull the exact definition instead of pouring the whole file into context.
codedb symbol refreshSession --bodyStep 03
Callers and dependency lookups show the agent what the change can affect before it edits anything.
codedb callers refreshSessionCompare a whole-file read, a CodeDB outline and a Pro edit. Each example shows what the agent asks for and what the tool returns.
See the measured calls ↓Structural lookup
$ codedb outline src/auth.ts
→ SessionStore L18
→ validateToken L61
→ handleAuth L94
→ refreshSession L137
exact scope foundContext returned
47 tokens
8 symbols mapped
The result changes with the tool. The task does not.
Measured on one 2,318-line file
One real 2,318-line file measured three ways. Results vary by repository and task, so the methodology stays visible.
Understand a 2,300-line file
29× leaner than the raw dump
865 tok
with CodeDB Pro
Search the whole codebase
codedb’s search engine ships inside Pro
built in
with CodeDB Pro
Edit one function
Pro only · codedb reads, it doesn’t edit
1.9 KB
with CodeDB Pro
codedb-pro 0.2.9 · same 2,318-line file · raw read vs structural read vs exact symbol
Same query
6.4×
faster on a 4.7 GB repo
hyperfine · macOS arm64 · n=10
Use Graff to run coding tasks, CodeDB to find relevant code, and Pro to batch local reads and edits. Graff and CodeDB can each work independently.
EVOLVE
Free · open sourcegraff
Connect your model and tools, run repository tasks, and evaluate which strategies complete the work.
MAP
Free · independentCodeDB
Local structural code intelligence that works with Graff or another supported coding agent. It maps symbols, outlines, callers, and dependencies.
MOVE
Paid upgradeCodeDB Pro
Keep a local daemon ready for repeated searches, reads, diffs and edits. Address changes by symbol name.
Graff and CodeDB are free and open source. CodeDB Pro is an optional paid upgrade.
The toolchain stays warm instead of paying process startup on every call.
one local process
Read, search, diff, and edit in parallel over one request.
10 reads in 7ms
Target functions by name, guard the revision, and verify the write on disk.
1.9 KB vs 169 KB
Purpose-built local tools for search, reads, patches, diffs, memory, and parallel work.
search · read · edit · verify
CodeDB Pro is a local daemon with zero runtime dependencies on supported binaries. Tool operations do not send code, paths, queries, edits, or results to a remote MCP host.
Supported clients: Claude Code, Codex, Gemini CLI, Cursor, Windsurf, Devin.
graff and CodeDB remain free. Pro is an annual local-tooling license with a 14-day refund, keys by email, and no auto-renew lock-in.
Individual
$99
per year · 1 seat
All tools, every supported editor, one engineer.
Team
$160
per year · 2 seats
$80 per seat. Save $38 versus two solo licenses.
Engineering organization · 10+ seats
Volume pricing, annual invoicing, and MSA on request.
Yes. CodeDB connects over MCP to supported clients including Claude Code, Codex, Gemini CLI, Cursor, Windsurf and Devin. You can use it with Graff or your existing coding agent.
Yes. CodeDB is free and open source. CodeDB Pro is an optional paid upgrade with a persistent local daemon, batched operations and symbol-safe editing.
CodeDB and Pro process repository data locally. Their tool operations do not upload code, paths, queries or edits to a remote MCP host. Your coding agent may send context to its model provider; that is a separate data path.
No. CodeDB speaks MCP and works with Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and Devin. Remove it and your agent falls back to its built-in tools.
The current Pro binaries support macOS arm64 and Linux x86_64 with zero runtime dependencies.