AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Code Assistant/
codedb
codedb logo

codedb

Active·★ 1.4k·BSD-3-Clause·Updated 2026-10-26
★ Essential★ Trending

codedb is a code-intelligence server for AI agents, written in Zig and shipped as a native binary. It indexes a project and offers 21 MCP tools: file trees with symbol counts, structural outlines of functions, structs and imports, symbol lookup, trigram-accelerated full-text search, an exact word index, a reverse dependency graph, and atomic line-range edits with version tracking. A file watcher keeps the index fresh and a snapshot speeds up MCP startup.

The README is candid about status: it calls codedb alpha software whose API is stabilizing and may change, says the snapshot format may change between versions, and notes the HTTP server has no auth and binds to localhost only. Full parsers cover Zig, C/C++, Python, TypeScript/JavaScript, Rust, Go, PHP, Ruby, HCL, R and Dart, with lighter outline support for languages such as Java, Kotlin, Vue and SQL. It blocks sensitive files such as `.env` and credentials, and the macOS binaries are codesigned and notarized.

Install with `curl -fsSL https://codedb.codegraff.com/install.sh | bash`, which downloads the binary and registers it as an MCP server in Claude Code, Codex, Gemini CLI and Cursor, or run it through npm as `npx -y codedeebee mcp`. There are also an HTTP mode (`codedb serve`) and CLI commands such as `codedb search` and `codedb outline`. The README claims it is 538x faster than ripgrep on pre-indexed queries; that is the project's own benchmark. It is BSD-3-Clause and was last pushed on 2026-10-03. This review is based on the README and repository data; we have not run it ourselves.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-27.

License
BSD-3-Clause
Latest release
v0.2.5862 · 2026-10-27
Last commit
2026-10-26
Contributors
17
Forks
88
Open issues and PRs
12
First published
2026-03-03
npm package
codedeebee 0.2.5843 · 494 downloads last week

Source: GitHub, npm and PyPI public APIs.

#Code Intelligence#AI Agents#Structural Indexing#Trigram Search#Dependency Graph#File Watching#MCP Protocol#Zig Language
$ Install
$ curl -fsSL https://codedb.codegraff.com/install.sh | bash
↗ Visit site★ GitHub
01

Features

01Structural Indexing & Outlines: Parses and indexes code to provide structural outlines (functions, structs, imports) for various languages.
02Ultra-fast Search: Utilizes trigram search for full-text queries and an O(1) inverted word index for identifier lookups, outperforming traditional tools like ripgrep.
03Dependency Graph & Version Tracking: Builds a reverse dependency graph and tracks atomic line-range edits with versioning for code evolution analysis.
04Model Context Protocol (MCP) & HTTP APIs: Serves code intelligence through a high-performance JSON-RPC 2.0 based MCP server or a standard HTTP API.
05Zero Dependencies & Cross-platform: Built entirely in Zig with no external dependencies, compiled into a single binary for macOS (ARM/x86) and Linux (ARM/x86).
02

Why choose it

+21 MCP tools: outlines, symbol and full-text search, word index, reverse dependency graph and atomic line edits
+Auto-registers itself as an MCP server in Claude Code, Codex, Gemini CLI and Cursor
+Blocks sensitive files such as `.env` and credentials; HTTP server binds to localhost only
+Honest status section; macOS binaries codesigned and notarized, installer verifies SHA256; BSD-3-Clause
03

Trade-offs

!README calls it alpha: the API and snapshot format may change between versions
!Full parsing covers a limited set of languages, with only lightweight outlines for others like Java, Kotlin and SQL
!The 538x-faster-than-ripgrep figure is the project's own benchmark on pre-indexed queries
!The default install pipes a script into bash, and the Linux binaries are not signed
04

Maintenance check

ActiveChecked: 2026-10-23
Last commit
2026-09-29
Commits, last 90 days
100+
Releases, last 90 days
27
Latest release
v0.2.5860 (2026-09-27)
Open issues
13
Recent issues with at least one comment
8/8
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 33, 11, 14, 53, 13, 5, 3, 2, 3, 0, 0, 0

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #756 macOS: watcher burns ~60% of a core per MCP client on a 16k-file root with no worktrees (overflow re-hash + unconditional 2 s full-tree audi4 comments · 2026-09-20
  • #767 repo size: ~208 MB of .zig-cache-local build artifacts are still in git history (GitHub reports ~90 MB)3 comments · 2026-10-03
  • #766 index: SIGSEGV on worker thread during cold index of a non-git root; codedb.snapshot is also not excluded from the walk3 comments · 2026-10-01

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

05

Compatibility

Zig
Core Language
Verified via docs
macOS
Platform
Verified via docs
Linux
Platform
Verified via docs
Python
Parser
Verified via docs
TypeScript/JavaScript
Parser
Verified via docs
Rust
Parser
Verified via docs
06

Quick start

1
$ curl -fsSL https://codedb.codegraff.com/install.sh | bash
07

Use cases

↳Powering AI Agents: Integrates seamlessly with AI agents like Claude, Codex, Gemini, and Cursor to provide them with deep code understanding.
↳High-performance Codebase Exploration: Enables rapid navigation, symbol lookup, and structural analysis within large projects.
↳Remote Code Intelligence: Query public GitHub repositories without local cloning, accessing code intelligence via the `codedb_remote` tool.
↳Automated Code Analysis Workflows: Use CLI or API for automated tasks like finding recently modified files, checking symbol definitions, or performing regex searches.
↳Developer Tooling & Integration: Serves as a fast backend for custom developer tools or IDE integrations requiring deep code context.
08

Alternatives

⚡Top VS:
VSbuildwithclaude★3.7k→VScode-index-mcp★157→VSpitlane-mcp★76→VSClaude-Command-Suite★1.4k→
buildwithclaude logo
buildwithclaude★ 3.7k
A single hub to find Claude Skills, Agents, Commands, Hooks, Plugins, and Marketplace collections to extend Claude Code
VSCompare→
code-index-mcp logo
code-index-mcp★ 157
Rust-native code index MCP server with first-class 1C:Enterprise (BSL) support. Static binary, no runtime. 31 tools — 20 universal + 11 BSL-specific. Tree-sitter AST for 10 languages. Federation across multiple repos. Built for production-scale monorepos.
VSCompare→
pitlane-mcp logo
pitlane-mcp★ 76
Token-efficient navigation substrate for AI coding agents. Index code once and retrieve only the symbols you need.
VSCompare→
Claude-Command-Suite logo
Claude-Command-Suite★ 1.4k
Professional slash commands for Claude Code that provide structured workflows for software development tasks including code review, feature creation, security auditing, and architectural analysis.
VSCompare→
antigravity-workspace-template logo
antigravity-workspace-template★ 1.4k
🪐 The ultimate starter kit for Google Antigravity IDE. Optimized for Gemini 3 Agentic Workflows, "Deep Think" mode, and auto-configuring .cursorrules.
VSCompare→
learn-claude-code logo
learn-claude-code★ 79.4k
Bash is all You need - Write a nano Claude Code 0 - 1
VSCompare→
Gemini CLI logo
Gemini CLI★ 108.6k
An open-source AI agent that brings the power of Gemini directly into your terminal. Supports native MCP.
VSCompare→
Context7 logo
Context7★ 63.8k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
justrach /
codedb
↗

BSD-3 code-intelligence MCP server in Zig with 21 tools for outlines, search and dependency graphs; alpha status

1.4k88BSD-3-Clause
Last commit2d ago
StatusActive
CategoryCode Assistant
Contributors17
Latest releasev0.2.5862
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.