Zig code intelligence server and MCP toolset for AI agents. Fast tree, outline, symbol, search, read, edit, deps, snapshot, and remote GitHub repo queries.
<p align="center"> <img src="assets/codedb.png" alt="codedb" width="200" /> </p> <p align="center"> <a href="https://github.com/justrach/codedb/releases/latest"><img src="https://img.shields.io/github/v/release/justrach/codedb?style=flat-square&label=version" alt="Release" /></a> <a href="https://github.com/justrach/codedb/blob/main/LICENSE"><img src="https://img.shields.io/github/license/justrach/codedb?style=flat-square" alt="License" /></a> <img src="https://img.shields.io/badge/zig-0.15-f7a41d?style=flat-square" alt="Zig 0.15" /> <img src="https://img.shields.io/badge/status-alpha-orange?style=flat-square" alt="Alpha" /> <a href="https://deepwiki.com/justrach/codedb"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki" /></a> </p> <h1 align="center">codedb</h1> <h3 align="center">Code intelligence server for AI agents. Zig core. MCP native. Zero dependencies.</h3> <p align="center"> Structural indexing · Trigram search · Word index · Dependency graph · File watching · MCP + HTTP </p> <p align="center"> <a href="#-status">Status</a> · <a href="#-install">Install</a> · <a href="#-quick-start">Quick Start</a> · <a href="#-mcp-tools">MCP Tools</a> · <a href="#-benchmarks">Benchmarks</a> · <a href="#️-architecture">Architecture</a> · <a href="#-data--privacy">Data & Privacy</a> · <a href="#-building-from-source">Building</a> </p> --- ## Status > **Alpha software — API is stabilizing but may change** > > codedb works and is used daily in production AI workflows, but: > - **Language support** — Zig, Python, TypeScript/JavaScript, Rust, PHP, C# (more planned) > - **No auth** — HTTP server binds to localhost only > - **Snapshot format** may change between versions > - **MCP protocol** is JSON-RPC 2.0 over stdio (stable) | What works today | What's in progress | |--------------------------------------------------------|------------------------------------------| | 16
Agent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.