← Back to feed

qmd

GitHub Repo Pretty sure · context tree is clever
https://github.com/tobi/qmd

Local-first RAG retriever that actually ships: BM25 + vectors + reranking in a CLI tool designed for agents. The context tree feature is the real insight.

20%
65%
15%
Slop 20%Signal 65%Science 15%

QMD is refreshingly un-bullshit: hybrid search (BM25 + semantic + LLM reranking) running locally via GGUF models, MCP integration, structured output for agents. The context tree (metadata returned with matches to help LLMs decide) is a genuinely useful insight most RAG tools miss. CLI is production-ready, SDK exists, HTTP daemon mode solves the model-loading tax. Not novel science—BM25 is 30 years old, hybrid ranking is standard—but the integration is tight and the execution matters. Some vap...

19508 stars TypeScript 2026-04-05 120 days old

Become a MFer to rate — log in