An on-device search engine for your notes, docs and meeting transcripts
open sourceMITself-hostablefreeMCP
QMD (Query Markup Documents) is a local search engine for Markdown notes, meeting transcripts, documentation and knowledge bases, built for AI agents as much as people. It combines BM25 full-text search, vector search and LLM reranking, with query expansion (keyword, dense and HyDE sub-queries) fused by reciprocal rank fusion, and runs entirely on your machine with small GGUF models through node-llama-cpp and a SQLite index. You group folders into collections and attach context descriptions that come back with matching documents, which helps an agent choose what to read. It works as a CLI with JSON and file-list output, as an MCP server over stdio or HTTP, as a Claude Code plugin and as a Node.js or Bun library, and can use an OpenAI-compatible embeddings API instead of local models.
Problems it solves
- search my Markdown notes and meeting transcripts by meaning, not just exact words
- give my AI agent a memory it can search across my notes without sending them to a cloud service
- my coding agent should find the right internal doc before answering instead of grepping blindly
- hybrid keyword and semantic search over a folder of documents that runs entirely on my laptop
- rerank local search results with a small model so the best document comes first
- connect Claude Desktop or Claude Code to my Obsidian vault through an MCP server
- get search results as JSON or a list of file paths so a script or agent can read them
- filter document search by front-matter metadata like date or tags
- embed a local document search index in my Node.js or Bun app
- search notes written in Chinese or Japanese with a multilingual embedding model
Features
- BM25 full-text, vector and hybrid search
- LLM reranking and query expansion (lex, vec, HyDE)
- reciprocal rank fusion
- local GGUF models through node-llama-cpp, downloaded on first use
- collections with context descriptions
- metadata filtering and discovery
- JSON and file-list output for agents
- MCP server over stdio or Streamable HTTP, with a background daemon
- Claude Code plugin
- Node.js and Bun SDK
View 3 more
- optional OpenAI-compatible remote embeddings
- multilingual embeddings with Qwen3-Embedding
- collection processors that turn source files into indexed Markdown
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what QMD does.
