MDDB
Embedded knowledge database with 116 MCP tools for agents needing search and RAG
MDDB is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- Linux, macOS, Windows
- Runs
- Locally
- Version
- 2.19.14
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add mddb --env MDDB_MCP_STDIO='<MDDB_MCP_STDIO>' -- docker run -i --rm -e MDDB_MCP_STDIO docker.io/tradik/mddb:2.19.14Add --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mddb": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MDDB_MCP_STDIO",
"docker.io/tradik/mddb:2.19.14"
],
"env": {
"MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mddb": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MDDB_MCP_STDIO",
"docker.io/tradik/mddb:2.19.14"
],
"env": {
"MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mddb": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MDDB_MCP_STDIO",
"docker.io/tradik/mddb:2.19.14"
],
"env": {
"MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mddb": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MDDB_MCP_STDIO",
"docker.io/tradik/mddb:2.19.14"
],
"env": {
"MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mddb --env MDDB_MCP_STDIO='<MDDB_MCP_STDIO>' -- docker run -i --rm -e MDDB_MCP_STDIO docker.io/tradik/mddb:2.19.14Or add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mddb]
command = "docker"
args = ["run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14"]
env = { MDDB_MCP_STDIO = "<MDDB_MCP_STDIO>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mddb": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MDDB_MCP_STDIO",
"docker.io/tradik/mddb:2.19.14"
],
"env": {
"MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mddb": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14" ], "env": { "MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>" } } } }Or run: gemini mcp add -s user -e MDDB_MCP_STDIO='<MDDB_MCP_STDIO>' mddb docker -- run -i --rm -e MDDB_MCP_STDIO docker.io/tradik/mddb:2.19.14
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mddb": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14" ], "env": { "MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mddb": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14" ], "env": { "MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mddb": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14" ], "env": { "MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mddb": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14" ], "env": { "MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mddb": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14" ], "env": { "MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mddb": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14" ], "env": { "MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mddb": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MDDB_MCP_STDIO", "docker.io/tradik/mddb:2.19.14" ], "env": { "MDDB_MCP_STDIO": "<MDDB_MCP_STDIO>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MDDB_MCP_STDIOServe MCP on stdin/stdout instead of the HTTP listenerRequiredMDDB_MCP_TOOLSETSComma-separated toolsets to expose (search, code, documents, ingest, memory, schema, admin, geo, automation, webhooks, wordpress)
About MDDB
MDDB keeps Markdown, office documents and source code in one embedded store, then lets you find them by keyword, by meaning or by both. Files such as PDF, DOCX, XLSX, EPUB and email are converted to Markdown on upload, and each document keeps its full revision history.
The server ships as a single Go binary built on BoltDB, so there is no separate database to run. It exposes its features over REST, gRPC, GraphQL and an MCP server that speaks stdio and Streamable HTTP. Tool groups can be limited per agent or API key, so a client only sees the search or code tools it needs.
It suits developers building retrieval pipelines or coding assistants that need to query a codebase by symbol, and teams who want a self-hosted knowledge base for AI agents without operating a separate vector database.
What it does
- Hybrid keyword and vector search
- Combines BM25 full-text ranking with embedding similarity, merged by alpha blending or Reciprocal Rank Fusion.
- Document conversion to Markdown
- Converts PDF, DOCX, spreadsheets, slides, e-books and email uploads into Markdown as they are ingested.
- Code symbol lookup
- Returns definitions, references, callers and callees of a symbol in a single call for repository search.
- Scoped MCP toolsets
- Exposes only selected tool groups per agent or API key, with destructive tools optionally gated by confirmation.
- Single binary deployment
- Runs as one roughly 36MB executable with embedded storage and no configuration file required to start.
- Automatic embedding on ingest
- Background workers embed each document as it arrives, using OpenAI, Ollama, Cohere, Voyage or an offline provider.
- Replication and TLS
- Leader-follower replication, optional leader election, TLS and mutual TLS, and JWT authentication with role-based access.
Good for
- Give a coding agent searchable access to a repository by function and symbol
- Build a retrieval-augmented question answering layer over internal documents
- Store and recall conversational memory for a chat assistant
- Index a sitemap or S3 prefix so an agent can search it and stay current
- Expose a self-hosted knowledge base to Claude, Cursor or Windsurf over MCP
Pricing
Open source
Prices change. Check mddb.tradik.com before you buy.
MDDB FAQ
How is MDDB installed?
It can be run as a Docker image, installed from Homebrew or Snap, downloaded as a binary, or built from source with make.
Which MCP transports does MDDB support?
It serves MCP over stdio, Streamable HTTP and SSE.
Which file formats can be uploaded?
It accepts about 20 formats, including PDF, DOCX, XLSX, CSV, PPTX, EPUB, EML, MBOX, HTML, ODT and Markdown or plain text.
Does MDDB need an external vector database?
No. Vector indexes are built into the server, which stores its data in an embedded BoltDB file.
Is MDDB free?
Yes. MDDB is open source, so you can use and self-host it for free.
How do I add MDDB to Claude Code?
Run this command in your terminal: claude mcp add mddb --env MDDB_MCP_STDIO='<MDDB_MCP_STDIO>' -- docker run -i --rm -e MDDB_MCP_STDIO docker.io/tradik/mddb:2.19.14
What are the best alternatives to MDDB?
The closest alternatives to MDDB are Local Vector Search MCP, kbdb, MCP Local Rag, QMD MCP and Rag.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.