mdq MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mdq
CLI for indexing and searching local markdown files via Meilisearch with MCP server support.
Quick Start
1. Install
curl -fsSL https://bun.sh/install | bash
bun install -g @aaronshaf/mdq2. Start Meilisearch
docker run -d -p 7700:7700 \
-v ~/.meilisearch/data:/meili_data \
getmeili/meilisearch:latest3. Index and Search
mdq index --path ~/docs
mdq search "query"Related MCP server: docs-rag-mcp
Commands
mdq status Check if Meilisearch is running
mdq search <query> Search indexed content
mdq index Build/rebuild index
mdq embed Generate embeddings for semantic search
mdq source Manage registered sources for MCP server
mdq token Generate API tokens for Bearer authentication
mdq oauth Manage OAuth 2.1 authentication
mdq mcp [sources...] Start MCP serverRun mdq <command> --help for command-specific options.
MCP Server
# Register sources (one-time setup)
mdq source add -s ~/docs -d "Documentation"
mdq source add -s ~/wiki -d "Team wiki"
mdq source list
# Start MCP server (uses registered sources)
mdq mcp
# Or specify sources directly (overrides registered)
mdq mcp -s ~/docs -d "Documentation"
# HTTP mode with Bearer token (simple)
mdq token generate # Generate and save the token
export MDQ_MCP_API_KEY="<your-token>"
mdq mcp --http
# Or use OAuth 2.1 (recommended for production)
mdq oauth setup --client-id claude --name "Claude"
mdq mcp --http --oauth --cert ./cert.pem --key ./key.pem
# Add to Claude Code
claude mcp add kb -- mdq mcpDocumentation
See docs/ for comprehensive documentation:
Getting Started - Full setup guide
PRD - Product requirements and specifications
ADR - Architecture decision records
See Also
qmd - Similar tool with opposite tradeoffs: qmd does LLM work at query time (reranking, query expansion), while mdq does LLM work at index time (embeddings) for fast queries.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only search over the public Sikaru documentation: managed agents, inference, evals and traces.
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Search published MkSaaS documentation. Read-only and public.
Agentic search over your Dewey document collections from any MCP-compatible client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides semantic search over markdown documentation using RAG, allowing natural language queries and integration with MCP clients.1MIT
- FlicenseAqualityDmaintenanceSearches local markdown files using TF-IDF retrieval and serves full documents as resources.1-
- AlicenseBqualityBmaintenanceProvides local hybrid search over files by combining semantic vector and full-text BM25 retrieval, with MCP stdio/HTTP support, OAuth 2.1 authentication, and tools for reading and converting documents to Markdown.23MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI clients to search and read a folder of Markdown/text documents via a read-only MCP server with hybrid BM25 and local embedding search, treating the calling model as untrusted.8 npmMIT