Mnemo MCP Server
mcp-name: io.github.n24q02m/mnemo
Persistent AI memory with hybrid search. Open, free, unlimited.
Distribution & CLI: the repo is mnemo; the PyPI distribution is n24q02m-mnemo (install pip install n24q02m-mnemo / uvx --python 3.14 n24q02m-mnemo). Two console scripts ship: n24q02m-mnemo (legacy alias mnemo-mcp) runs the MCP server (mcp subcommand for stdio default or --http; bare invocation starts the HTTP server), and mnemo is the CLI-first memory surface that never serves. See CLI.


| Project |
Tagline |
Tag |
| better-semantic-release |
Drop-in python-semantic-release fork with built-in release-safety guards (orp... |
Tooling |
| claude-plugins |
Claude Code plugin marketplace for the n24q02m MCP servers -- install web sea... |
Marketplace |
| crg |
Knowledge graph for token-efficient code reviews -- semantic search and call-... |
MCP |
| email |
IMAP/SMTP email for AI agents -- read, send, organize folders, and manage att... |
MCP |
| fastretrieval |
Fast multi-model retrieval runtime: ONNX and GGUF embeddings, reranking, and ... |
Tooling |
| hull |
hull is the shared monorepo core for the wet, crg and mnemo self-hosted stack |
MCP |
| mnemo |
Persistent AI memory with hybrid search. Open, free, unlimited. |
MCP |
| notion |
Markdown-first Notion for AI agents -- pages, databases, blocks, and comments... |
MCP |
| skret |
Secrets without the server. |
CLI |
| tacet |
A self-distilling neuro-symbolic cascade that amortises LLM cost across knowl... |
Tooling |
| telegram |
Telegram for AI agents -- messages, chats, media, and contacts across both bo... |
MCP |
| tools-docs |
Docs portal for the n24q02m open-source tool stack (skret, MCP plugins, hull,... |
Tooling |
| wet |
Open-source MCP server for AI agents: web search, content extraction, and lib... |
MCP |
| workspace |
Google Workspace MCP server (Docs/Drive/Calendar/Gmail/Sheets/Slides/Tasks/Ch... |
MCP |
Table of contents
- Features
- Quick install
- Status
- Documentation
- Smithery
- Tools
- Security
- Build from Source
- CLI
- Self-hosting (local HTTP instance)
- Remote (HTTP mode)
- Trust Model
- License
Roadmap (current = Phase 3 / v2.x)
Phase rows below describe the pre-de-host design history (v1.x / early v2):
multi-provider LLM dispatch, GDrive/S3 passport sync, and Cloudflare
deployment were removed in the 2026-09 de-host. Current architecture:
one local SQLite store (WAL), per-task [models.*] provider cells
(OpenRouter pre-wired default), no embedded sync (backup = rclone).
| Phase |
Version |
Status |
Highlights |
| Phase 1 |
v1.x |
Shipped |
Typed memory(action="capture") (6 context_types + dedup) -- RRF (k=60) hybrid fusion + cross-encoder rerank + temporal decay -- importance x recency archive policy + restore -- Alembic migrations -- multi-provider LLM dispatch (pre-de-host) -- plugin trinity (recall-context + memory-commit skills, SessionStart + opt-in PostToolUse hooks) |
| Phase 2 |
v1.x+1 |
Shipped, partially removed |
LLM-driven compression of older memories (kept, now via [models.chat] cell) + Passport sync (encrypted import/export bundle; removed 2026-09) |
| Phase 3 |
v2.0.0 |
Shipped (BREAKING) |
Temporal knowledge graph -- bitemporal valid_from / valid_to columns -- entity resolution via embedding KNN -- entity_search / entity_graph / history actions -- KG_AUTO_ENABLED opt-in auto-extract on capture |
Features
- Hybrid retrieval -- FTS5 + vector search (sqlite-vec), fused via Reciprocal Rank Fusion (k=60), then re-ranked via the
[models.rerank] provider cell (OpenRouter pre-wired default) with the local Fastretrieval Qwen3 cross-encoder as fallback, plus temporal decay and importance boost
- Typed capture --
memory(action="capture") with 6 context_types (conversation/fact/preference/skill/task/decision), embedding-based dedup, and optional [models.chat]-cell compression + importance scoring
- Knowledge graph -- Automatic entity extraction and relation tracking; top results boosted by graph proximity
- Importance scoring + archive policy -- LLM-scored 0.0-1.0 importance; soft-archive when
recency_factor * (1 - importance) > 1.0; restore action available
- Auto-archive trigger -- Background sweep every Nth capture (default 100) -- no cron required
- STM-to-LTM consolidation -- LLM summarization of related memories in a category
- Duplicate detection -- Warns before adding semantically similar memories
- Zero config -- Fastretrieval's built-in local registry resolves Qwen3 ONNX embedding + reranking, no API keys needed. Optional cloud calls go through per-task
[models.<task>] provider cells (OpenAI-spec; OpenRouter pre-wired default)
- Local-first storage -- one SQLite file (WAL) under
~/.mnemo/; backup and cross-machine migration = rclone outside the server (no embedded sync)
- Plugin trinity -- Ships
/recall-context + /memory-commit skills and SessionStart + opt-in PostToolUse hooks (see docs/ARCHITECTURE.md)
- Proactive memory -- Tool descriptions and skills guide AI to save preferences, decisions, facts at the right moment
- LLM compression -- Per-turn compression through the
[models.chat] provider cell targets ~3x token reduction at >=0.9 fact retention; graceful skip when the cell is unconfigured (see docs/compression.md)
- Temporal knowledge graph -- Bitemporal columns (
valid_from / valid_to / superseded_by) on every memory + entity-resolution dedup (embedding KNN at default 0.85 cosine threshold) + audit trail (memory_audit table with prev/new state hashes) + new actions (entity_search / entity_graph / history / as_of) + opt-in KG_AUTO_ENABLED auto-extract on capture. BREAKING for clients that called memory.get expecting historical-inclusive results: pass as_of for time-travel; default now filters to current-state (valid_to IS NULL).
Quick install
# Method 1: Claude Code plugin (skills + hooks; connects to a running
# mnemo HTTP instance -- start one per "Self-hosting" below)
/plugin marketplace add n24q02m/claude-plugins
/plugin install mnemo@n24q02m-plugins
# Method 2 (stdio default): register mnemo over stdio
claude mcp add mnemo -- uvx --python 3.14 n24q02m-mnemo mcp
# Method 2b (HTTP server): run locally and register endpoint
uvx --python 3.14 n24q02m-mnemo # serves http://127.0.0.1:8000/mcp by default
claude mcp add --transport http mnemo http://127.0.0.1:8000/mcp
# Method 3 (remote): point a client at an existing HTTP deployment
claude mcp add --transport http mnemo https://<your-host>/mcp
Install matrix (stdio via n24q02m-mnemo mcp or Streamable HTTP via n24q02m-mnemo mcp --http / bare n24q02m-mnemo; see the
Setup page for full steps):
| Client |
Install |
| Claude Code (plugin) |
/plugin marketplace add n24q02m/claude-plugins then /plugin install mnemo@n24q02m-plugins (requires a running instance; see Self-hosting) |
| Claude Code (HTTP) |
start the server (uvx --python 3.14 n24q02m-mnemo or docker compose), then claude mcp add --transport http mnemo http://127.0.0.1:8000/mcp |
| Codex / Gemini CLI / Cursor / Windsurf |
start the server, then register the http://<host>:<port>/mcp HTTP endpoint in the client's MCP settings |
| Any MCP client |
point it at the /mcp endpoint of a running instance (Streamable HTTP) |
With auth = "token" or "multi" configured in mnemo-config/config.toml,
send the token as a Bearer credential (--header "Authorization: Bearer <token>"
or the client's equivalent).
Comparison vs. peers
| Feature |
mnemo |
Mem0 |
Letta |
OpenMemory |
| Hybrid retrieval (FTS + vec) |
yes (FTS5 + RRF + sqlite-vec) |
yes |
partial |
yes |
| Cross-encoder rerank |
yes (Fastretrieval Qwen3 local + [models.rerank] cell) |
partial (Cohere only) |
no |
no |
| Temporal decay scoring |
yes (exp half-life) |
no |
no |
no |
| Importance boost in rank |
yes (LLM 0.0-1.0) |
no |
no |
no |
| Soft-archive + restore policy |
yes (importance x recency) |
no |
no |
no |
| Self-hostable (single SQLite file) |
yes (zero ext deps) |
partial (cloud-first) |
yes (Postgres) |
yes (Postgres + Qdrant) |
| LLM dispatch |
yes ([models.chat] cell, any OpenAI-spec endpoint) |
partial |
yes |
partial |
| Plugin trinity (skills + hooks) |
yes (recall-context + memory-commit) |
n/a |
n/a |
n/a |
| Cross-machine migration |
yes (rclone backup/restore outside the server) |
yes (cloud) |
n/a |
n/a |
| LLM compression on capture |
yes ([models.chat] cell, ~3x at >=0.90 retention) |
no |
no |
no |
Bitemporal valid_from / valid_to queries |
yes (as_of time-travel) |
no |
partial (events only) |
no |
| Entity resolution via embedding KNN |
yes (cosine threshold tunable) |
no |
no |
no |
| Audit trail with state hashes |
yes (memory_audit table) |
no |
no |
no |
Status
2026-09 -- De-host update
The Cloudflare D1/Vectorize/KV deployment mode, embedded GDrive/S3 passport
sync, multi-provider key dispatch (per-provider API-key env vars + model
chains), and legacy cloud sync were removed. mnemo runs on a local SQLite (WAL) store with both stdio (n24q02m-mnemo mcp) and Streamable HTTP (--http) transports, and all cloud calls go through
per-task [models.*] provider cells (OpenRouter pre-wired default).
Backup across machines = rclone outside the server.
If you encountered issues with prior versions, update to the latest release
and follow the current setup docs.
Related plugins from the same author:
All plugins share the same architecture -- install once, learn pattern transfers.
Documentation
Full docs at docs.n24q02m.com/plugins/servers/mnemo/setup/: