About Qmd
Qmd is an MCP server published by tobi in the Developer Tools category: mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local. Conduid read 5 tools from its source: get, metadata, multi_get, query and status. It is published to npm as @tobilu/qmd and starts with npx.
The repository has 32K stars and 2.0K forks, is licensed MIT, and its last commit was on 20 Nov 2026. The latest release is v2.9.0 (18 Nov 2026): QMD adds document processors, metadata filtering, and remote model support. It follows v2.8.3 (16 Aug 2026), and the 5 most recent releases go back to v2.5.1 (20 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include hybrid-search, knowledge-base, local-ai, markdown, obsidian and rag.
Install
claude mcp add qmd -- npx -y @tobilu/qmdnpx -y @tobilu/qmdgit clone https://github.com/tobi/qmdTools (5)
getRetrieve a document by path or docid (with fuzzy matching suggestions)| Parameter | Type | Description |
|---|---|---|
| file | string | Path, docid (`#abc123`), or `path:from:count` (e.g. `#abc123:120:40`) |
| fromLine | number | Start line (1-indexed); overrides the `:from` suffix |
| lineNumbers | boolean | Prefix lines with numbers (default true) |
| maxLines | number | Limit returned lines |
metadataDiscover metadata keys, types, and value counts to filter on| Parameter | Type | Description |
|---|---|---|
| collections | array | Restrict discovery to collection names (default: the collections `query` searches) |
| filter | object | Count only documents matching this filter (same AST as `query`) |
| keyLimit | number | Keys reported (default 50). `totalKeys` and `remainingKeys` describe the rest |
| keyOffset | number | Keys skipped before the window, in report order (default 0) |
| match | object | Report only metadata entries matching this condition (same AST as `filter`, with `field` naming the entry's `key` or `value`) |
| minCount | number | Hide values held by fewer documents (default 1) |
| sort | string | `count` (default) or `value` |
| valueLimit | number | Values reported per key and type (default 10). `remainingValues` reports the rest |
| valueOffset | number | Values skipped per key and type before the window, in `sort` order (default 0) |
multi_getBatch retrieve by glob pattern, comma-separated list, or docids| Parameter | Type | Description |
|---|---|---|
| lineNumbers | boolean | Prefix lines with numbers (default true) |
| maxBytes | number | Skip files larger than N (default 10240) |
| maxLines | number | Limit lines per file |
| pattern | string | Glob pattern or comma-separated list |
querySearch with typed sub-queries (`lex`/`vec`/`hyde`), combined via RRF + reranking| Parameter | Type | Description |
|---|---|---|
| candidateLimit | number | Max candidates to rerank (default 40) |
| collections | array | Filter by collection names (OR). Array only — singular `collection` is silently ignored. |
| filter | object | Metadata filter (recursive `operator`-discriminated JSON AST; see Metadata Filtering) |
| intent | string | Disambiguation context (does not search on its own) |
| limit | number | Max results (default 10) |
| minScore | number | Minimum relevance 0–1 (default 0) |
| rerank | boolean | Run LLM reranking (default true); set false for RRF-only |
| searches * | array | Typed sub-queries (`lex`/`vec`/`hyde`), 1–10. Required. First gets 2x weight. |
statusIndex health and collection info, including each collection's top metadata keysSecurity checks
Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 10K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by bun.lock and 3 more.
- ✓No dynamic code executionScanned 78 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/mcp/server.ts:17, src/mcp/server.ts:1852
- Starts other programs
- 16 callssrc/cli/mcp-pid.ts:215, src/cli/mcp-pid.ts:221, src/cli/version.ts:49
- Outbound network calls
- 2 callssrc/llm.ts:365, src/remote-http.ts:37
- Writes or deletes files
- 21 callsfinetune/benchmark.py:177, finetune/convert_gguf.py:149, finetune/convert_gguf.py:165
- Lockfile
- bun.lock and 3 more
Pattern matches on the source text of 78 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 10K words, fetched 22 hours ago. The original in the repository is authoritative.
Read full README