Skip to content
aicoolies logo

QMD

On-device hybrid search engine for your docs and notes

QMD is an on-device search engine built by Tobi Lütke (Shopify CEO) that indexes markdown notes, meeting transcripts, and documentation locally. It combines BM25 full-text search, vector semantic search, and LLM-powered re-ranking into a single hybrid pipeline. Ships with a built-in MCP server for seamless integration with Claude Code, Cursor, and other AI editors. All processing happens on your machine via node-llama-cpp with GGUF models — zero cloud dependency.

About QMD

QMD is a local-first search engine created by Tobi Lütke, CEO of Shopify, designed to make every document on your machine instantly findable through a hybrid retrieval pipeline. It combines three search strategies in a single query: BM25 keyword matching for precise term lookups, vector semantic search for meaning-based retrieval, and LLM-powered re-ranking that understands context and intent. All processing runs entirely on-device using node-llama-cpp with GGUF quantized models, requiring no cloud services, API keys, or network connectivity. The engine indexes markdown files, meeting transcripts, knowledge bases, and any text-based documentation you point it at.

What sets QMD apart from conventional search tools is its first-class MCP server integration. Claude Code, Cursor, Windsurf, and any MCP-compatible AI editor can query your indexed documents directly through the Model Context Protocol, giving coding assistants access to your personal knowledge base without uploading anything to external servers. The MCP server supports both stdio transport for single-client use and HTTP transport at localhost:8181/mcp for concurrent multi-client sessions. An optional intent parameter helps disambiguate ambiguous queries, available through the CLI with --intent flag, MCP tool fields, and the programmatic API.

Built with TypeScript and requiring Node.js 22+, QMD maintains an active development pace with regular releases adding features like improved chunking strategies and expanded model support. The project has attracted over 19,000 GitHub stars since its release, reflecting strong developer interest in privacy-preserving search solutions. It ships under the MIT license with zero telemetry, making it suitable for sensitive corporate environments where document contents cannot leave local infrastructure. The CLI interface supports batch indexing, incremental updates, and configurable search pipelines that can be tuned per collection.

Pricing & Platform Specs

Pricing Summary

QMD (Query Markup Documents) is a free, open-source on-device CLI search engine created by Tobias Lütke and licensed under the MIT License, featuring hybrid BM25 and vector search.

Supported Platforms

macOS, Linux, Windows via npm/bun CLI

Explore categories, tags & use cases

Alternatives

All QMD alternatives →

Up-to-date docs for AI code editors via MCP

Context7 is an MCP server developed by Upstash that injects up-to-date, version-specific documentation directly into AI code editors and coding assistants. By typing 'use context7' in prompts, developers get accurate library documentation instead of hallucinated or outdated API references. It pulls from official source documentation and serves it through the Model Context Protocol, solving the common problem of LLMs generating code with incorrect or nonexistent API calls.

freemiumOpen Source

All-in-one self-hosted AI app with RAG, agents, and multi-user support

AnythingLLM is an open-source, privacy-first AI application that turns any document into an interactive knowledge base. It bundles document ingestion, vector storage (built-in LanceDB), RAG pipelines, AI agents, and multi-user access into a single deployable package. Supports 30+ LLM providers including OpenAI, Anthropic, Ollama, and local models. With 62K+ GitHub stars and MIT license, it runs as a desktop app or Docker container with zero configuration required out of the box.

Open Source

Build real-time temporal knowledge graphs for AI agents

Graphiti is an open-source Python framework by Zep for building temporally-aware knowledge graphs for AI agents. It continuously integrates conversations, business data, and external information into queryable graphs with bi-temporal tracking. The hybrid retrieval combines semantic search, BM25 keywords, and graph traversal for sub-300ms queries without LLM calls at retrieval time.

freemiumOpen Source

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is QMD?

QMD is an on-device search engine built by Tobi Lütke (Shopify CEO) that indexes markdown notes, meeting transcripts, and documentation locally. It combines BM25 full-text search, vector semantic search, and LLM-powered re-ranking into a single hybrid pipeline. Ships with a built-in MCP server for seamless integration with Claude Code, Cursor, and other AI editors. All processing happens on your machine via node-llama-cpp with GGUF models — zero cloud dependency.

Is QMD free?

Yes — QMD is open source and free to use. QMD (Query Markup Documents) is a free, open-source on-device CLI search engine created by Tobias Lütke and licensed under the MIT License, featuring hybrid BM25 and vector search.

Is QMD open source?

Yes — QMD is open source.

Is QMD still maintained?

Yes — QMD is active. Its listing was last verified on August 26, 2026.

What are the best QMD alternatives?

The first editor-selected QMD alternatives are Context7, AnythingLLM, Graphiti.