Mddb logo

Mddb

Embedded document database with 114 MCP tools, hybrid search, file ingestion, vector indexing, and RAG support.

Install Mddb

Run the project’s own setup commands, in order.

Setup steps from the project

mddb installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    docker run
    
  2. 2. Install
    git clone https://github.com/tradik/mddb.git
    
  3. 3. Install
    cd mddb
    
  4. 4. Configure
    cp .env.example .env && $EDITOR .env
    
  5. 5. Start the server
    docker compose up -d
    
  6. 6. Start the server
    make dev-start
    

Overview

mddb provides AI agents with a persistent document database exposed through 114 MCP tools. It converts supported files to Markdown, indexes their content with full-text and vector search, and supports hybrid retrieval for RAG workflows. Embeddings can use OpenAI, Ollama, Voyage, Cohere, or an offline lexical provider, while storage remains in an embedded BoltDB database. Reach for it when an agent needs a local or self-hosted knowledge base, document ingestion, conversational memory, or searchable code and prose.

Use cases

  • Build a searchable knowledge base for AI agents
  • Ingest office files and PDFs into a RAG workflow
  • Search source code by symbols and file relationships
  • Store and recall conversational memory
  • Import Wikipedia dumps for local retrieval

Key features

  • 114 built-in MCP tools
  • Hybrid BM25 and vector search
  • Multi-format document conversion
  • Embedded BoltDB storage
  • Pluggable embedding providers
  • Conversational memory and RAG retrieval

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

5/5 checks healthy over the last 17d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Mddb works

What mddb does

mddb is an AI-oriented document database with an MCP server built in. It gives compatible agents access to document ingestion, search, retrieval, memory, classification, and database operations through 114 MCP tools. The database stores content in embedded BoltDB storage and can run as a single Go binary.

Files including PDF, DOCX, XLSX, CSV, PPTX, EPUB, email, HTML, OpenDocument formats, RTF, TeX, YAML, and TXT can be converted to Markdown before indexing. Wikipedia XML dumps can also be imported with namespace filtering. Documents receive embeddings for semantic retrieval, while full-text indexing supports keyword queries.

Search supports BM25, vector similarity, and hybrid ranking. Retrieval options include parent, chunk, and window modes, result diversification with MMR, metadata-based freshness or recency boosts, and geographic queries using R-tree or geohash indexes. The system also provides conversational memory for storing, recalling, and summarizing chat sessions.

How it works

Agents connect through the built-in MCP interface and use the available tools to add, inspect, search, and manage content. The service also exposes HTTP, gRPC, and GraphQL APIs for applications that need access outside an MCP client. A collection can have its own embedding provider, retrieval profile, response formatting instructions, and search defaults.

Embedding providers include OpenAI, Ollama, Voyage, Cohere, and an offline lexical option. Vector indexing offers several algorithms, including Flat, HNSW, IVF, PQ, OPQ, SQ, SQ4, and BQ, with an automatic selection mode. Per-collection quantization and a disk-only low-memory mode are available for storage or memory trade-offs.

Code documents can be indexed with source-aware tokenization. Supported code metadata records definitions, uses, and imports, allowing symbol lookups and a derived connection graph for tracing relationships between files and symbols. Custom MCP tools can be defined with YAML for domain-specific workflows.

Setup and configuration

The quickest MCP setup uses the published com.tradik/mddb package from the MCP Registry and a Docker-based client configuration. The project describes the deployment as a single Docker run line and also provides a standalone binary of roughly 32 MB. Storage is embedded, so the basic deployment does not require a separate database service.

Configure embedding behavior at the server or collection level. Collection settings can also hold retrieval type, result count, granularity, hybrid strategy, context-token budget, and answer-formatting instructions. Supported integrations include Docling, Langflow, OpenSearch, Airbyte, WordPress tooling, Grafana, a GitHub Action, a static-site generator, and a Chrome extension.

Tools and capabilities

  • Ingest and convert documents into searchable Markdown.
  • Import Wikipedia MediaWiki XML dumps.
  • Run keyword, vector, hybrid, geographic, and code-oriented searches.
  • Store and retrieve conversational memory.
  • Classify documents against candidate labels using embeddings.
  • Expose custom YAML-defined MCP tools.

Limitations and notes

The offline embedding provider supports lexical matching rather than semantic meaning. Semantic search therefore requires a compatible embedding provider such as OpenAI, Ollama, Voyage, or Cohere. The server is licensed under BUSL-1.1, while its clients are covered separately under BSD-3-Clause.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mddb

mddb is an MCP server that connects AI agents to an embedded document database and its searchable knowledge base. Its main tools cover document ingestion, file conversion, full-text and vector search, hybrid RAG retrieval, memory operations, classification, and database management. It exposes 114 MCP tools for compatible clients.

Use the Docker-based MCP configuration for the published `com.tradik/mddb` package. The project describes setup as a single Docker run line and provides the server through the MCP Registry. It can also run as a standalone Go binary.

Yes, mddb supports Cursor through its built-in MCP server. The project provides a client configuration path for Cursor, alongside Claude Desktop and Windsurf, and exposes its document, search, memory, and other MCP tools to the client.

mddb supports OpenAI, Ollama, Voyage, Cohere, and an offline lexical provider. Providers can be configured for the whole server or for individual collections. The offline option supports lexical matching rather than semantic similarity.

mddb can ingest PDF, DOCX, XLSX, CSV, PPTX, EPUB, EML or MBOX, HTML, ODT, ODS, ODP, RTF, TEX, YAML, and TXT files. It converts supported files to Markdown before indexing and can also import MediaWiki XML dumps.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMddb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mddb?style=directory)](https://allmcps.com/mcp/mddb)
HTML Embed
<a href="https://allmcps.com/mcp/mddb"><img src="https://allmcps.com/api/badge/mddb?style=directory" alt="Mddb on AllMCPs" /></a>