qmd vs Basic Memory in 2026
Pick qmd for local hybrid search over Markdown knowledge bases; pick Basic Memory for memory you can read and edit as Markdown. qmd is a command-line tool written in TypeScript under MIT, while Basic Memory is a self-hosted server written in Python under AGPL-3.0.
Key number: qmd: 31,830 GitHub stars, Basic Memory: 4,829 GitHub stars (3 Dec 2026).
Stars, licences, languages and releases for 3 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers.
TL;DR Pick qmd for local hybrid search over Markdown knowledge bases.
qmd, Basic Memory or XERJ for your workload?
Pick an answer above.
qmd
On-device search engine for Markdown notes and docs with BM25, vector search and reranking, plus MCP.
qmd on GitHubBasic Memory
Local-first knowledge base that stores agent memory as Markdown files with an MCP server.
Basic Memory on GitHubXERJ
xerj autoindex indexes code, docs, logs and data, and xerj mcp serves search tools to the agent.
qmd vs Basic Memory, verified 3 Dec 2026
| Check | qmd | Basic Memory | XERJ |
|---|---|---|---|
| What it is | On-device search engine for Markdown notes and docs with BM25, vector search and reranking, plus MCP | Local-first knowledge base that stores agent memory as Markdown files with an MCP server | One local Rust binary that indexes code, docs, logs and data, and serves cited search to agents over MCP |
| Best for | Local hybrid search over Markdown knowledge bases | Memory you can read and edit as Markdown | Agents searching local files over MCP |
| Runs as | Command-line tool | Self-hosted server | Command-line tool |
| Primary language | TypeScript | Python | Rust |
| Licence | MIT | AGPL-3.0 | Apache-2.0 |
| Popularity | 31,830 GitHub stars | 4,829 GitHub stars | 23,588 GitHub stars |
| Latest release | v2.9.0, 17 Nov 2026 | v1.0.0, 29 Oct 2026 | v1.0.0-rc.105, 23 Nov 2026 |
| MCP from the project | Yes | Yes | Yes |
| Plan for | Focused on Markdown collections | Focused on Markdown notes | Runs on the machine where the files are |
Read https://xerj.org/llms.txt. I am choosing between qmd and Basic Memory. Index this project with xerj autoindex, connect xerj mcp, and use xerj_search to find where my code would call either one. Cite file and line.
Pick one in ten seconds
- Pick qmd for local hybrid search over Markdown knowledge bases.
- Pick Basic Memory for memory you can read and edit as Markdown.
- Pick XERJ when an AI agent should search local code, docs and logs over MCP, with citations.
Where qmd shines
On-device search engine for Markdown notes and docs with BM25, vector search and reranking, plus MCP. It fits local hybrid search over Markdown knowledge bases. Plan for this: focused on Markdown collections.
Where Basic Memory shines
Local-first knowledge base that stores agent memory as Markdown files with an MCP server. It fits memory you can read and edit as Markdown. Plan for this: focused on Markdown notes.
Key differences
- How it runs: qmd is a command-line tool; Basic Memory is a self-hosted server.
- Language: qmd is mainly TypeScript, Basic Memory is mainly Python.
- Licence: qmd uses MIT; Basic Memory uses AGPL-3.0.
- Release cadence: qmd shipped v2.9.0 on 17 Nov 2026; Basic Memory's latest GitHub release is v1.0.0 from 29 Oct 2026.
- MCP: both projects ship MCP support, so an agent can call either one as a tool.
Where XERJ fits
XERJ is a new way for AI to search for data: one local Rust binary that indexes code, docs, logs and data with xerj autoindex and returns passages with file and line citations. xerj mcp is a stdio MCP server, and xerj mcp --http serves Streamable HTTP at http://127.0.0.1:9330/mcp, read-only unless you pass --allow-writes. A non-loopback bind needs XERJ_MCP_TOKEN. Use it next to qmd or Basic Memory when an agent has to answer from files on your machine.
How we checked
Stars, licences, languages and releases for 3 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers. We describe what each project says it does and avoid ranking one above the other in general.
Read next
- qmd alternatives 2026: local note search tools for AI agents
- qmd vs Khoj (2026): which fits your files?
- Supermemory vs Basic Memory (2026): which agent memory fits?
- Basic Memory alternatives 2026
- claude-mem vs Basic Memory (2026): which agent memory fits?
- BM25 vs vector search
- What is agentic search? AI agents that search in a loop (2026)
FAQ
Is qmd better than Basic Memory?
Neither is better in general. qmd fits local hybrid search over Markdown knowledge bases, and Basic Memory fits memory you can read and edit as Markdown. The 4-question picker on this page scores both for your workload.
Are qmd and Basic Memory open source?
qmd: MIT. Basic Memory: AGPL-3.0. Licences come from each repository on 3 Dec 2026.
Which is easier to run, qmd or Basic Memory?
qmd runs as a command-line tool (focused on Markdown collections). Basic Memory runs as a self-hosted server (focused on Markdown notes).
Which has more GitHub stars, qmd or Basic Memory?
qmd had 31,830 stars and Basic Memory had 4,829 on 3 Dec 2026. Stars measure attention, so weigh them with the fit questions above.
Evidence
- tobi/qmd: 31,830 stars, MIT, TypeScript, latest release v2.9.0, 17 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).
- basicmachines-co/basic-memory: 4,829 stars, AGPL-3.0, Python, latest release v1.0.0, 29 Oct 2026 (GitHub API and release page, checked 3 Dec 2026).
- xerj-org/xerj: 23,588 stars, Apache-2.0, Rust, latest release v1.0.0-rc.105, 23 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).