qmd
A local search engine for markdown files (“Quick Markdown Search”). It is a CLI and an MCP server (qmd mcp, stdio) over one sqlite index at ~/.cache/qmd/index.sqlite.
Search modes
qmd query also accepts a multi-line structured document whose lines are typed lex:, vec: or hyde: (with an optional intent: line) when you want to control the sub-queries yourself. qmd get <file>[:from[:count]] and qmd multi-get fetch documents by path, glob or #docid.
Gotchas
qmd benchreturns at most 10 files per query; after thewiki/**filter only about 3 pages remain, so the suite calls the CLI with-n 50instead.
Related
Linked pages
- BM25
- Compounding Knowledge Base
- Context7
- Contextual Retrieval
- ketch
- Open Knowledge Format (OKF)
- Reranking
- Wikilink Graph Extraction: Reducing LightRAG Indexing Cost