Amdb: Single-Binary Local Code Context MCP Server in Rust
Amdb is a single Rust binary MCP server offering fully local graph+vector code context retrieval, built for air-gapped and regulated environments.
Amdb is a zero-runtime, single-binary MCP server that turns a codebase into AI context entirely on-device, with no Node or Python dependency. It combines Tree-sitter-based AST parsing, local embeddings, and graph+vector retrieval, targeting air-gapped environments, CI containers, and regulated industries where cloud indexing isn't allowed.
The server exposes three MCP tools — amdb_get_context, amdb_focus, and amdb_get_symbol — all reading from a pre-built local SQLite index. Symbol and call-graph extraction works across 16 languages, but AST-accurate visibility and signature info is currently limited to Rust, Python, and TypeScript, with other languages falling back to defaults. Benchmarks run against amdb's own source tree show a 91.5% token reduction for focused queries versus a full-repo dump, and fewer tool calls than a grep-based agent baseline at comparable token cost.
Version 1.0 freezes the CLI, MCP tool contracts, and config keys under semantic versioning, backed by contract tests that catch drift. For engineers, it's a notable option for teams needing an auditable, dependency-free code context layer that works fully offline.
This synthesis was produced from its source by AI; there is no human editor or manual review step. How we work