Skip to content
PluginStats

@tobilu/qmd weekly downloads statistics

By tobilu · npm · MCP servers

Query Markup Documents - On-device hybrid search for markdown files with BM25, vector search, and LLM reranking

View on npm Fresh · Dec 6, 2026

@tobilu/qmd has 76,182 recorded weekly downloads on npm, an increase of 14.6% over the past 30 days, ranking #687 of 3,247 tracked listings.

Weekly downloads
76,182
Official API · Dec 5, 2026
7-day growth
-22.2%
-21.8K weekly downloads
30-day growth
+14.6%
+9.7K weekly downloads
90-day growth
+93.5%
+36.8K weekly downloads
Rank
#687
▼ 60 in 7 days

About @tobilu/qmd

QMD - Query Markup Documents

An on-device search engine for everything you need to remember. Index your markdown notes, meeting transcripts, documentation, and knowledge bases. Search with keywords or natural language. Ideal for your agentic flows.

QMD combines BM25 full-text search, vector semantic search, and LLM re-ranking—all running locally via node-llama-cpp with GGUF models.

flowchart LR
  Q[User Query] --> X[Query Expansion]
  Q --> FTS[BM25 Search]
  Q --> VS[Vector Search]
  X --> HYDE[HyDE]
  X --> VEC[Vec dense sentences]
  X --> LEX[Lex BM25 keywords]
  HYDE --> VS
  VEC --> VS
  LEX --> FTS
  VS --> RRF[Reciprocal Rank Fusion]
  FTS --> RRF
  RRF --> RR[LLM Reranker]
  RR --> OUT[Final ranked results]

Typed expansions are routed exclusively: lex → BM25/FTS, vec and hyde → vector search. The original query is sent to both backends, then fused with RRF and reranked.

You can read more about QMD's progress in the CHANGELOG.

Quick Start

# Install globally (Node or Bun)
npm install -g @tobilu/qmd
# or
bun install -g @tobilu/qmd

# Or run directly
npx @tobilu/qmd ...
bunx @tobilu/qmd ...

# Create collections for your notes, docs, and meeting transcripts
qmd collection add ~/notes --name notes
qmd collection add ~/Documents/meetings --name meetings
qmd collection add ~/work/docs --name docs

# Add context to help with search results, each piece of context will be returned when matching sub documents are returned. This works as a tree. This is the key feature of QMD as it allows LLMs to make much better contextual choices when selecting documents. Don't sleep on it!
qmd context add qmd://notes "Personal notes and ideas"
qmd context add qmd://meetings "Meeting transcripts and notes"
qmd context add qmd://docs "Work documentation"

# Generate embeddings for semantic search
qmd embed

# Search across everything
qmd search "project timeline"           # Fast keyword search
qmd vsearch "how to deploy"             # Semantic search
qmd query "quarterly planning process"  # Hybrid + reranking (best quality)

# Get a specific document
qmd get "meetings/2024-01-15.md"

# Get a document by docid (shown in search results)
qmd get "#abc123"

# Get multiple documents by glob pattern
qmd multi-get "journals/2025-05*.md"

# Search within a specific collection
qmd search "API" -c notes

# Export all matches for an agent
qmd search "API" --all --files --min-score 0.3
Using with AI Agents

QMD's --json and --files output formats are designed for agentic workflows:

# Get structured results for an LLM
qmd search "authentication" --json -n 10

# List all relevant files above a threshold
qmd query "error handling" --all --files --min-score 0.4

# Retrieve full document content
qmd get "docs/api-reference.md" --full
MCP Server

Although the tool works perfectly fine when you just tell your agent to use it on the command line, it also exposes an MCP (Model Context Protocol) server for tighter integration.

Tools exposed:

  • query — Search with typed sub-queries (lex/vec/hyde), combined via RRF + reranking
  • get — Retrieve a document by path or docid (with fuzzy matching suggestions)
  • multi_get — Batch retrieve by glob pattern, comma-separated list, or docids
  • status — Index health and collection info, including each collection's top metadata keys
  • metadata — Discover metadata keys, types, and value counts to filter on

Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "qmd": {
      "command": "qmd",
      "args": ["mcp"]
    }
  }
}

Claude Code — Install the plugin (recommended):

claude plugin marketplace add tobi/qmd
claude plugin install qmd@qmd

Or configure MCP manually in ~/.claude/settings.json:

{
  "mcpServers": {
    "qmd": {
      "command": "qmd",
      "args": ["mcp"]
    }
  }
}
HTTP Transport

By default, QMD's MCP server uses stdio (launched as a subprocess by each client). For a shared, long-lived server that avoids repeated model loading, use the HTTP transport:

# Foreground (Ctrl-C to stop)
qmd mcp --http                    # localhost:8181
qmd mcp --http --port 8080        # custom port
qmd mcp --http --host 0.0.0.0     # bind all interfaces (e.g. container probes)

# Background daemon
qmd mcp --http --daemon           # start, writes PID to ~/.cache/qmd/mcp.pid
qmd mcp stop                      # stop via PID file
qmd status                        # shows "MCP: running (PID ...)" when active

MCP shutdown allows active requests five seconds to finish. After that it cancels them; a standalone server exits nonzero if work remains. Embedded callers receive a timeout error while resource cleanup continues safely. An external supervisor is still needed if native code blocks the event loop.

The server binds to localhost by default. Pass --host (or set the QMD_HOST environment variable) to override — --host 0.0.0.0 is useful when the server runs in a container and a liveness probe connects from a non-loopback address.

The HTTP server exposes two endpoints:

  • POST /mcp — MCP Streamable HTTP (stateless JSON and SSE responses)
  • POST /query (alias /search) — structured search without the MCP protocol. Accepts the same optional filter object as the query tool (invalid filters return 400); see Metadata Filtering
  • POST /metadata — metadata discovery without the MCP protocol. Same body as the metadata tool (invalid filters return 400); see Metadata Discovery
  • GET /health — liveness check with uptime
Origin and Host validation…

Description from the npm listing.

  • markdown
  • search
  • fts
  • full-text-search
  • vector
  • semantic-search
  • sqlite
  • bm25
  • embeddings
  • rag
  • mcp
  • reranking
  • knowledge-base
  • local-ai
  • llm

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@tobilu/qmd weekly downloads on npm, last 90 days: 76,182 weekly downloads as of Dec 5, 2026, +93.5% over 90 days.@tobilu/qmdWeekly downloads on npm · Last 90 days76,182downloads / week+93.5% over 90 days020K40K60K80K100K120KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@tobilu/qmd weekly downloads on npm, last 90 days: 76,182 weekly downloads as of Dec 5, 2026, +93.5% over 90 days.

7/30/90-day growth

@tobilu/qmd weekly downloads growth on npm: -22.2% over 7 days, +14.6% over 30 days, +93.5% over 90 days.@tobilu/qmdWeekly downloads growth on npm76,182downloads / week now7-day growth-21,784 weekly downloads-22.2%30-day growth+9,695 weekly downloads+14.6%90-day growth+36,814 weekly downloads+93.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@tobilu/qmd weekly downloads growth on npm: -22.2% over 7 days, +14.6% over 30 days, +93.5% over 90 days.

Ranking history

@tobilu/qmd npm ranking history: currently #687 (by weekly downloads).@tobilu/qmdnpm ranking · by weekly downloads · Last 90 days#687current rank#600#620#640#660#680#700#720#740Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@tobilu/qmd npm ranking history: currently #687 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 35, #7 (overall #687)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 4, #20 (overall #80)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @tobilu/qmd
Date (UTC)Weekly downloadsChange vs. previous
76,182-19.8K
95,966-588
96,554-707
97,261+880
96,381-4.8K
101,132-537
101,669+3.7K
97,966+11.1K
86,866-517
87,383+2.4K
84,981+1.8K
83,132+7.1K
76,036+4.2K
71,838—

Similar npm MCP servers plugins

All 20 @tobilu/qmd alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@tobilu/qmd. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.