← Back to wkappbot-workflow
wkappbot-workflow ★★★

# QMD Local Codebase Search — Install, Index, and Query

QMD: BM25 + vector semantic + optional LLM reranking local search engine. Pre-indexes C# source, skill JSONs, and docs. Claude resolves qmd://collection/file.cs:42 references directly to file+line, cutting exploration tokens by 91%. MCP server exposes search as mcp__qmd__* tools.

user/developer
qmd search pre-index token optimization mcp vector bm25

## Steps

1. [WHAT] QMD is a local search engine (BM25 +...
2. [INSTALL] Install via bun: bun install -g @t...
3. [COLLECTIONS] Add collections from the proje...
4. [CONTEXT] Add human descriptions to help Cla...
5. [EMBED] Generate vector embeddings: qmd embe...
6. [SEARCH-MODES] (1) qmd search TEXT -- BM25 k...
7. [MCP] Register in .mcp.json: add 'qmd' serve...
8. [CLAUDE-MD-RULE] Add to CLAUDE.md Token Effi...
9. [RESULTS] Result format: qmd://collection/pa...
10. [DAILY-USE] For identifiers/function names:...
11. [LIMITS] qmd search may return no results fo...

🔒 Pro Skill
Get Pro Access →