@remember-md/mcp
Enables semantic search and retrieval from your local markdown brain (Remember.md) via MCP tools, running entirely offline with local embeddings.
README
@remember-md/mcp
Local MCP server for the Remember.md second brain. Run via npx, point any MCP client at it, query your markdown brain semantically.
Status: v0.1.0 — first functional release. One tool:
search_brain. Active development continues.
What it does
Exposes your local markdown brain (a folder of .md files organised PARA-style by the Remember.md plugin) as a set of MCP tools any MCP client can call — Claude Code, OpenClaw, Cursor, Codex CLI, Claude.ai web, ChatGPT custom GPTs, anything that speaks the Model Context Protocol.
Tools shipped in v0.1.0:
search_brain(query, top_k)— hybrid retrieval. BM25 + vector + RRF fusion + 1-hop wikilink expansion. Lexical-first: BM25 results land immediately on first run, vector embeddings build in background and layer in once ready.
Tools planned for v0.2+:
get_file(path)— read a brain filelist_recent(period, kind?)— recent journal / notes / decisionsquery_persona()— currentPersona.mdcontentdashboard_snapshot()— counts + top beliefs + active projectspropose_belief(claim, evidence)— write candidate toInbox/
How it works
- Storage:
node:sqlite(Node 22.5+ stdlib) + sqlite-vec extension for vector search + FTS5 for BM25 — no server, no native compilation, no toolchain. - Embeddings: @huggingface/transformers running quantized
Xenova/bge-micro-v2(384d, ~17 MB) locally — no cloud calls. - Sync: on-demand mtime + content-hash incremental reindex at query time. The brain (markdown) is the source of truth; the index in
.remember/index.dbis rebuildable. - Graceful degradation: if vector loads fail, falls back to FTS5-only; if both fail, falls back to ripgrep.
Install
You don't install it. Point your MCP client at it via npx:
Claude Code (via the Remember.md plugin's /remember:init)
The Remember.md plugin automatically configures Claude Code's MCP layer to launch this server. Just run /remember:init.
Cursor / Codex / other MCP clients
Add to your MCP config:
{
"mcpServers": {
"remember": {
"command": "npx",
"args": ["-y", "@remember-md/mcp"],
"env": {
"REMEMBER_BRAIN_PATH": "/absolute/path/to/your/brain"
}
}
}
}
First run downloads the package (~15–30s) and the embedding model (~17 MB, one-time). After that, queries are sub-second.
Configuration
| Env var | Default | Purpose |
|---|---|---|
REMEMBER_BRAIN_PATH |
~/remember |
Brain root directory (folder of markdown files) |
REMEMBER_INDEX_DIR |
${brain}/.remember |
Where the SQLite index lives |
REMEMBER_EMBEDDING_MODEL |
Xenova/bge-micro-v2 |
Hugging Face model id |
REMEMBER_TIER |
auto | auto / vec / fts5 / ripgrep (force a fallback tier) |
Privacy
Local-only. No cloud calls. No telemetry. The brain folder + index never leave your machine. Embedding model runs in-process via ONNX Runtime.
License
MIT — see LICENSE.
Related
- Remember.md plugin — the capture / curate / persona side that produces the brain this server queries
- Remember.md spec — the markdown standard
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.