qmd
// Local search/indexing CLI (BM25 + vectors + rerank) with MCP mode.
$ git log --oneline --stat
stars:370
forks:70
updated:February 19, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameqmd
descriptionLocal search/indexing CLI (BM25 + vectors + rerank) with MCP mode.
homepagehttps://tobi.lutke.com
metadata[object Object]
qmd
Use qmd to index local files and search them.
Indexing
- Add collection:
qmd collection add /path --name docs --mask "**/*.md" - Update index:
qmd update - Status:
qmd status
Search
- BM25:
qmd search "query" - Vector:
qmd vsearch "query" - Hybrid:
qmd query "query" - Get doc:
qmd get docs/path.md:10 -l 40
Notes
- Embeddings/rerank use Ollama at
OLLAMA_URL(defaulthttp://localhost:11434). - Index lives under
~/.cache/qmdby default. - MCP mode:
qmd mcp.