Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Qmd

MCP server by tobi Verified · npm:@tobilu

QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.

  • Score 94
  • 32k stars
  • 96k a week
  • MIT
  • Updated

Install Qmd

Built from the published package, never by AI.

claude mcp add qmd -- npx -y @tobilu/qmd

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Qmd in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the qmd block.

About

QMD, short for Query Markup Documents, is an on-device search engine for markdown notes, meeting transcripts, documentation and knowledge bases. It combines BM25 full-text search, vector semantic search and LLM re-ranking, all running locally via node-llama-cpp with GGUF models. Typed sub-queries route keyword searches to BM25 and vector searches to embeddings, and the results are fused with Reciprocal Rank Fusion and reranked.

QMD exposes an MCP server with query, get, multi_get, status and metadata tools. It runs over stdio by default or as an HTTP server, and the source shows setup for Claude Desktop and a Claude Code plugin. The source also describes a Node.js and Bun library and a command line interface. It is aimed at people who want to search their own notes and documents with keywords or natural language, and at agent workflows that need structured results.

Written from the project's README and checked against it.

Tools it gives your assistant

  • querySearches with typed sub-queries (lex, vec, hyde), combined via RRF and reranking.
  • getRetrieves a document by path or docid, with fuzzy matching suggestions.
  • multi_getBatch retrieves documents by glob pattern, comma-separated list, or docids.
  • statusReports index health and collection info, including top metadata keys.
  • metadataDiscovers metadata keys, types and value counts to filter on.

What you need

  • Node.js or Bun
  • Local GGUF models via node-llama-cpp
  • An MCP client such as Claude Desktop or Claude Code

Try asking

  • Search my notes for the project timeline and summarize the results
  • Find meeting transcripts that mention quarterly planning
  • Get the full contents of docs/api-reference.md

Good to know

  • Unknown MCP parameters are silently ignored rather than rejected.
  • HTTP endpoints are unauthenticated, so add your own auth for off-host servers.
  • Embedding and reranking contexts are recreated after 5 minutes idle, adding about 1 second.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Qmd

All alternatives →
Zotero MCP54yyyu
94

Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.

AAA Local 6.2k
Agentdb ruvnet
94

AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.

AAB Local 169k/wk
Genkitx MCP firebase
94

Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.

AAA Local 6.7k
Ruvector ruvnet
94

RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.

AAA Local 216k/wk
Claude Mem thedotmack
94

Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.

AAA Local 158k/wk
Agentmemory MCP rohitg00
94

Agentmemory gives coding agents persistent memory across sessions and tools. It captures session events, makes decisions and fixes searchable, and lets agents recall them later. It is built for developers who use several coding assistants.

AAA Local 31k

Compare with Zotero MCP, Agentdb or Genkitx MCP

Qmd: common questions

Does QMD send my documents to the cloud?

The source says QMD runs on-device, with BM25, vector search and reranking all running locally via node-llama-cpp and GGUF models.

Can QMD be used from Claude Desktop or Claude Code?

Yes. The source gives an MCP configuration for Claude Desktop and says Claude Code users can install a QMD plugin.

Can QMD run as a shared server?

Yes. The HTTP transport runs as a long-lived server on localhost:8181 by default and avoids repeated model loading.

How do I install Qmd?

In Claude Code run claude mcp add qmd -- npx -y @tobilu/qmd. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Qmd the official server?

Qmd is published by npm:@tobilu from its verified domain in the official MCP Registry.

Is Qmd free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Qmd safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Qmd?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Ruvector.

Does Qmd work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.