Codedb
Sub-millisecond code intelligence for AI agents via MCP.
If your AI agent spends more time grepping code than writing it, codedb is a must-have. The token and latency savings are dramatic, especially on large codebases. Just be ready to self-host and manage a daemon process.
- AI agent developers needing fast code retrieval
- Developers using Claude Code or Codex in large repos
- Teams building custom MCP-based coding assistants
- Engineers who want to reduce token burn from agent code search
- Non-developers or those not using AI agents
- Projects that only need simple IDE features (use built-in LSP)
- Teams unwilling to self-host a daemon or manage local indexing
We scan live Reddit threads, YouTube comments, X posts, G2 reviews and other communities — and hand you an honest verdict in under a minute.
- Honest verdict, not marketing
- Real pros & cons from real users
- Attributed quotes with receipts
3 free scans · no card needed
In short
Codedb — Sub-millisecond code intelligence for AI agents via MCP. Best for AI agent developers needing fast code retrieval, Developers using Claude Code or Codex in large repos, Teams building custom MCP-based coding assistants. Free to use.
What's new in Codedb
Checked 2 days agoAcross the latest 10 updates: 8 feature updates, 1 launch and 1 changelog entry.
codedb v0.2.13 released with Zig 0.17 snapshot build
Full 13-tool release builds with Zig 0.17 snapshot; 3.6% faster full-directory search median latency.
CodeDB Pro v0.2.12: fail-closed edits and a faster MCP response path
Detailed announcement of v0.2.12 with fail-closed edits and 7× MCP throughput improvement.
codedb v0.2.12: fail-closed edits and faster MCP response path
Edit commands reject ambiguous targeting; MCP throughput up 7× to 27,879 ops/s.
codedb v0.2.10: auto-regex search and clearer zero-match hints
Patterns with regex syntax auto-interpreted; zero-match hints point to likely cause.
codedb v0.2.9: faster concurrent downloads for install and update
curl install downloads all binaries concurrently, ~7× faster; update reuses same installer.
Muonry rebranded to CodeDB Pro
Muonry is now CodeDB Pro — same daemon, clearer name.
muonry v0.2.7: 89× smaller edit responses
Edit responses shrunk 89×; reads flag smuggled text.
codedb v0.2.5824: 3× faster cold start
Cold start 3× faster; CLI performance matches MCP.
codedb v0.2.5818: SOTA retrieval
State-of-the-art retrieval performance with benchmarks.
codedb on SWE-bench Lite: six backends, deterministic oracle
Benchmarks on SWE-bench Lite across six backends with deterministic oracle.
What independent users actually report about Codedb
We ran a structured research pass across product reviews, community discussions, and post-purchase forum threads to surface the patterns vendors won't publish themselves. Below: the recurring strengths, the hidden costs people mention most, and the cohort that consistently regrets adopting this tool.
24 mentions across 4 sources (Hacker News, YouTube, Bluesky, GitHub).
- +Sub-millisecond queries (0.05ms outline, 4ns word lookup).
- +1,000x speedup over ripgrep/shell tools per the docs.
- +Reduces token consumption by over 1,000x.
- +Cold start indexes 56K lines in under 50ms.
- +Open-source MIT license — free to self-host.
- −Too few real user reviews to gauge reliability.
- −One user reported speed feels suspiciously fast.
- −Only useful if your AI agent supports MCP.
- −No official support forums or community chat.
- −Pro pricing unclear from available data.
- • Pro tier pricing and features are not clearly documented in available data.
Viability Score
How likely is Codedb to still be operational in 12 months? Based on 4 signals — momentum (how recently it shipped), wrapper dependency, revenue model, and web presence.
Last calculated: July 2026
How we score →Key Features
- Sub-millisecond outline queries (0.05ms)
- O(1) word index lookup (4ns)
- Trigram index for fast full-text search (110μs)
- Reverse dependency graph tracking (0.05ms)
- Content file cache with no disk I/O (0.04ms)
- Background file watcher with mtime+hash change detection
- Regex search auto-detection (v0.2.10)
- Glob filtering with '!' exclusion (v0.2.8)
- Fail-closed edit operations (v0.2.12)
- MCP response throughput 7x improvement (v0.2.12)
- Concurrent download install script (7x faster, v0.2.9)
- Zig 0.17 dev snapshot build with macOS signing fix (v0.2.13)
- 16 MCP tools including remote repo querying
- Cold start: 56KB lines under 50ms, 2.18M lines ~2.5s
- Snapshot/version log for instant subsequent startups
About Codedb
Codedb is an open-source, Zig-based MCP server that gives AI agents instant access to code structure by indexing once at startup and serving queries from in-memory indexes. It eliminates the cost of spawning shell tools like ripgrep on every query, delivering 1,000x faster lookups and over 1,000x fewer tokens. Built for developers using Claude Code, Codex, Cursor, or Windsurf, codedb exposes 16 MCP tools including outline, symbol search, word lookup, dependency graph, content cache, and remote repo querying. The tool supports any language and integrates with any MCP-capable agent. It also pairs with CodeDB Pro (formerly Muonry) for atomic edits that sync instantly with codedb's indexes. Codedb is MIT licensed and can be installed via a one-line curl script.
Behind the Verdict
We have seen many developer tools claim to speed up AI agent code retrieval, but codedb delivers on the numbers. Sub-millisecond lookups and token reduction of over 1,000x are real benchmarks you can verify. The recent news of v0.2.13 bringing 3.6-8.7% performance improvements and macOS signing fixes shows active maintenance. The v0.2.12 introduction of fail-closed edits improves safety, while the 7x MCP throughput boost makes it even faster. However, codedb requires self-hosting a daemon process and local indexing, which adds operational overhead. It's not for non-developers or those who prefer all-in-one editor solutions like Cursor's built-in search. The closest alternative is ripgrep-based search in editors, but codedb is purpose-built for AI agents and offers MCP integration. In practice, the token savings alone justify the setup for teams working with large monorepos. One caveat: you must be comfortable with command-line installation and managing a background process. For developers already using Claude Code or Codex, codedb is a straightforward addition.
Researching Codedb? Get your full AI stack in 60 seconds.
Free, no signup — tell us your goal and get tools matched to your budget & existing stack.
Use Cases
- Enable Claude Code to instantly find function definitions without spawning shell processes.
- Reduce token consumption by 1,000x when searching for identifiers in large codebases.
- Serve structural code outlines to an agent during multi-file refactoring sessions.
- Integrate with MCP tools to provide codebase-aware context for LLM-based code generation.
- Track reverse dependencies automatically to analyse import impact across a project.
Limitations
- Codedb indexes only the local filesystem; remote repos require CodeDB Pro.
- The free community edition lacks snapshot persistence, so cold start time scales with codebase size (up to ~2.5s for 2M+ lines).
- Agent integration is limited to MCP-compatible tools (Claude Code, Codex, Cursor, Windsurf) – not all editors support MCP yet.
12-month cost
Project the real annual outlay, including the implied monthly cost when only an annual tier is published.
Vendor list price only. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.
Integrations
Resources & Guides
Official links
Tools that pair well with Codedb
Common stack mates teams adopt alongside Codedb, with the specific reason each pairing earns its keep.
Featured Head-to-Head Comparisons
Alternatives to Codedb
View allFrequently Asked Questions
Best-of guides
Used Codedb? Help shape our editorial sentiment research.