COMPARISONS · LOCAL NOTE SEARCH

qmd alternatives in 2026: local note search for AI agents

AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-12-01 · UPDATED · 2026-12-01
SHORT ANSWER · UPDATED 2026-12-01

What are the best qmd alternatives in 2026? For a local search engine that also covers code, logs and docs from one binary, XERJ. For a full self-hosted personal assistant over your docs, Khoj. For search inside an Obsidian vault, Obsidian Omnisearch. Stay with qmd when you want a notes-first CLI with context add, local BM25, vectors and rerank, and an MCP server.

Key number: qmd has 31,757 GitHub stars, is MIT licensed, and its latest release is v2.9.0, 17 Nov 2026. The headline feature is qmd context add, which attaches descriptive context to collection paths so agents can choose the right notes.

Stars and licences from the public GitHub API on 1 Dec 2026; latest releases from the GitHub releases API the same day. qmd features from the tobi/qmd README (CLI, collections, context add, MCP tools query and get).

TL;DR qmd (Query Markup Documents) is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25, vector search and local LLM reranking, and it exposes a CLI and an MCP server. Its distinctive command is qmd context add, which stores a short description on a collection path and returns that context with matching documents. Teams compare alternatives when they want one engine for notes plus code, a full personal assistant, or search inside Obsidian. Pick XERJ for local agent search over a whole workspace, Khoj for a self-hosted assistant, and Obsidian Omnisearch when the vault stays in Obsidian.

TOOL · FILTER

Find the qmd alternative that fits

I need

Sort by

ToolWhat it isBest forLatest releaseLicenceStars
qmdOn-device search engine for markdown notes, transcripts and docs, with a CLI and MCPLocal BM25, vectors and rerank, plus context add on collection pathsv2.9.0, 17 Nov 2026MIT31,757
XERJLocal search over notes, code, docs and logs, with citations, from one Rust binaryAgents that search a folder of notes and the rest of the workspace over MCPv1.0.0-rc.105, 23 Nov 2026Apache-2.023,083
KhojSelf-hosted personal AI that searches your docs and the web, with chat and agentsA full local assistant, not only a search CLI2.0.0-beta.28, 25 Mar 2026AGPL-3.038,308
Obsidian OmnisearchFull-text search plugin for an Obsidian vault, including PDFs and attachmentsSearch inside the Obsidian app1.32.0, 24 Oct 2026GPL-3.02,207

Stars and licences from the public GitHub API on 1 Dec 2026; latest GitHub releases from the releases API the same day. Tick boxes to keep only the tools that do all of them; sort by stars, newest release or name.
PASTE THIS TO YOUR AI AGENT. IT DOES THE REST Read https://xerj.org/compare/qmd-alternatives-2026.md. Ask me whether the corpus is an Obsidian vault, a folder of markdown, or a mixed workspace with code, whether the agent needs MCP, and whether we want a CLI or a full assistant, then tell me which qmd alternative fits and how to set it up.

Pick one in ten seconds

Why people look for a qmd alternative

qmd, published at tobi/qmd and installable as @tobilu/qmd, indexes markdown notes, transcripts and documentation on the device. Search modes include keyword (qmd search), semantic (qmd vsearch) and hybrid plus rerank (qmd query). The MCP server exposes query and get tools. The feature that stands out is qmd context add: you attach a short description to a collection or path (for example qmd context add qmd://notes "Personal notes and ideas"), and that description comes back with matching documents so an agent can pick the right set. Teams look at alternatives when the corpus is more than notes, when they want a full assistant, or when they already live in Obsidian.

qmd vs XERJ

Both run locally, both speak MCP, and both mix keyword and semantic search. qmd is a TypeScript CLI aimed at notes and documentation, with collections, context add, and local models via node-llama-cpp (31,757 stars, MIT, v2.9.0, 17 Nov 2026). XERJ is a Rust binary that indexes mixed folders (markdown, code, PDFs, logs and more) and returns cited passages. Its latest release is v1.0.0-rc.105 (23 Nov 2026). xerj mcp --http serves Streamable HTTP at http://127.0.0.1:9330/mcp, read-only unless you pass --allow-writes; a non-loopback bind needs XERJ_MCP_TOKEN. The flag is --http. Choose qmd when the workflow is notes-first and context add is the feature you want; choose XERJ when agents must search the whole workspace, not only a notes collection.

When to choose Khoj or Obsidian Omnisearch

Choose Khoj when you want a self-hosted personal AI: docs and web search, chat, custom agents and scheduled research (AGPL-3.0, 38,308 stars, latest release 2.0.0-beta.28, 25 Mar 2026). See XERJ vs Khoj. Choose Obsidian Omnisearch when search should stay inside the Obsidian app, including PDFs and attachments (GPL-3.0, 2,207 stars, 1.32.0, 24 Oct 2026). Omnisearch is the in-app pick; XERJ can search the same vault folder over MCP with Obsidian closed. See how to let an AI agent search an Obsidian vault.

qmd context add, and how XERJ relates

qmd context add stores a human-written description on a collection or path prefix. The most specific prefix wins, and the text is returned with search hits so an agent can decide which documents to open. XERJ does not copy that command. It relies on the index and citations from the files themselves. If path-level hints for the agent are the reason you tried qmd, start there. If you want one MCP server over notes plus code and logs, start with XERJ.

Read next

FAQ

What is the best qmd alternative in 2026?

XERJ fits local agent search over a mixed workspace. Khoj fits a full self-hosted assistant. Obsidian Omnisearch fits search inside Obsidian. Stay with qmd when you want a notes-first CLI, context add, and local hybrid search with MCP.

What does qmd context add do?

It attaches a short description to a collection or path, using qmd:// virtual paths or a filesystem path. That description is returned with matching documents so an agent can choose the right group of notes. You can list and remove entries with qmd context list and qmd context rm.

Is qmd open source?

Yes. tobi/qmd is MIT licensed, with 31,757 GitHub stars on 1 Dec 2026, and its latest release is v2.9.0, 17 Nov 2026.

Can I use qmd and XERJ together?

Yes. Some people keep qmd on a notes collection (for context add) and point XERJ at the wider workspace (code, PDFs, logs) over MCP.

How was this page checked?

Stars and licences came from the public GitHub API on 1 Dec 2026. Latest releases came from the GitHub releases API the same day. qmd commands and MCP tools were read from the tobi/qmd README.

Evidence