Server data from the Official MCP Registry
Long-term memory for AI agents: fast recall, project brains and skills, local, in one binary.
About
Long-term memory for AI agents: fast recall, project brains and skills, local, in one binary.
At a glance
- Can access
- Connects to services on the internet
Security report
How we scoreValid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
9 files analyzed · Nothing found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Install command not verified. See the repository for install instructions.
View repositoryDocumentation
View on GitHubFrom the project's GitHub README.
Why
AI coding assistants forget everything between sessions. MemoryPilot gives them persistent, searchable memory with project awareness, semantic understanding, and automatic knowledge organization. A compact recall format (about 3x shorter) and memory capsules (old, low-importance memories folded into summaries 5 to 10 times shorter) keep the context small. Every memory is auto-classified with the right importance and kind on insert. The database compacts itself automatically — zero maintenance.
Is it for you?
- Yes, if you work with an AI coding agent (Claude Code, Cursor, Codex, the Claude desktop app…) and want it to remember decisions, preferences and fixes from one conversation and one project to the next, and to find a past conversation from a vague description. One memory is shared by all your agents.
- Probably not, if you only want Claude to remember things about you in the Claude app: its built-in memory does that with nothing to install. Claude Code's own memory (
CLAUDE.mdand its auto memory) is enough for instructions and a few notes per repository; MemoryPilot adds search, memory across projects and across tools. - It runs on your computer. Apple Silicon Macs and Linux have release binaries. Intel Macs build from source. There is no Windows version. claude.ai in a web browser and the mobile apps cannot reach a program on your computer; the server that would serve them is in progress and is not released.
Before you install
- License. MemoryPilot is source-available, not open source: free to use, including at work, but not to fork, modify or redistribute, nor to build a competing product from it (LICENSE).
- The embedding model is for non-commercial use. jina-embeddings-v5-text-nano-retrieval is licensed CC-BY-NC-4.0 by Jina AI. Personal use is fine; using MemoryPilot in a company or a paid product needs a commercial license from Jina (Models).
- Size. A 44 MB binary (macOS, Apple Silicon), and about 530 MB of models downloaded on first use.
- It updates itself from signed releases, unless you start it with
MEMORYPILOT_AUTO_UPDATE=0(Automatic updates). - One maintainer, and no published audit by an outside firm. What it claims can be read in the source, and the limits of its own benchmarks are written next to each number (Security).
Install
The Claude desktop app, without a terminal
- Download
memorypilot.mcpb. It works on Apple Silicon Macs; on an Intel Mac it installs but cannot start. - Double-click it, or drag it onto the Claude window, or open Settings > Extensions > Advanced settings > Install Extension… and choose the file. Claude shows what the extension is; click Install.
- In a new conversation, Claude can now save and recall memories. The models (about 530 MB) are downloaded on first use, once.
The extension adds the memory tools to Claude. It installs no hooks and no background service, and changes no other app. While Claude runs it, MemoryPilot still does two things on its own: it indexes the agent conversations found on this computer, and it checks for a new signed release and updates itself (Your data says how to turn each off).
Homebrew (macOS / Linux)
brew install Soflutionltd/memorypilot/memorypilot
That's it. On Apple Silicon, Homebrew installs the signed and notarized release binary (from the first signed release on); Intel Macs and Linux build from source via cargo (Homebrew pulls Rust automatically). After install, run ./install.sh from the cloned repo or follow the manual MCP config below.
Why signed matters on macOS. Credentials stored in MemoryPilot are encrypted with a key kept in your Keychain. macOS lets a binary read it without asking only when that binary is signed by the team that created the key. The signed release keeps that identity across updates, so you are never prompted; a binary built from source (
cargo install, Homebrew on Intel) has a new identity at each build, and macOS asks for your Keychain password after each update. Without stored credentials, the Keychain is never read.
One command: installs, and connects every agent on your machine
curl -fsSL https://raw.githubusercontent.com/Soflutionltd/MemoryPilot/main/install.sh | bash
What this does:
-
Detects your platform (macOS arm64 / x64, Linux x64 / arm64).
-
Fetches the pre-built binary from the latest GitHub Release and checks its
.sha256. -
On macOS, checks the signature: refuses a downloaded binary that is unsigned or signed by another team, and only warns for a binary you built yourself.
-
Installs to
~/.local/bin/MemoryPilotand clears Gatekeeper attributes on macOS. -
Auto-configures every supported IDE / agent it finds — Cursor, Claude Desktop, Claude Code, Codex CLI, Gemini CLI, Windsurf, VS Code, OpenCode, Cline, Roo Code — in a single pass.
-
Installs session hooks: in
~/.cursor/hooks.json(created even when Cursor is not installed), and in~/.claude/settings.jsonand~/.codex/hooks.jsonwhen those tools are there. They recall memories when a conversation starts and bring the conversation index up to date. On macOS it also installs a local service that loads the models once for every agent (MEMORYPILOT_NO_SERVICE=1skips it).
Read install.sh before you run it if you want to see each change; it is idempotent, and Uninstall says how to undo each of them.
If no pre-built binary is available for your platform, it falls back to cargo build --release --features http automatically (requires Rust).
Automatic updates
A running server (stdio or --http) looks for a new release 2 minutes after it starts, then every 6 hours. Apart from the first model download and the connectors' refresh (Your data), this is the only network call MemoryPilot makes on its own: two small HTTPS requests to github.com for the release manifest and its signature, carrying no identifier, then the archive when there is a new version. When there is one:
- The manifest must carry a valid minisign signature from the key compiled into the binary, and the archive must match the SHA-256 the manifest lists. On macOS the new binary must also be signed by Developer ID team
TB8CC687M3, and on every platform it must answer--versionwith the expected version. - The database is copied (
VACUUM INTO) to~/.MemoryPilot/backups/memory/memory-before-v<version>.db(mode 600, the three latest copies kept; a copy is written under a temporary name first and never replaces an earlier one), and the new binary opens a second copy with its schema upgrades (--self-test). Any failure stops the update and nothing is replaced. - The binary is replaced atomically; the previous one stays next to it as
MemoryPilot.old. Each running server switches to the new version in place as soon as it is idle (a second without a request over stdio, a few seconds over HTTP): the IDE keeps its connection, there is nothing to restart. - If the new version crashes at startup three times, the previous binary is put back and that version is skipped. A server stopped by a signal (session closed, service restarted, shutdown) is not a crash. If the new version had upgraded the database schema, the upgraded database is moved aside untouched (
backups/memory/memory-upgraded-by-v<version>.db) and the copy from step 2, refreshed just before the upgrade, takes its place: a binary never opens a database written by a newer schema, it refuses it with a message instead.
Releases roll out progressively: first to a share of installations (chosen from a random id kept in ~/.MemoryPilot/state/update/install-id, never sent), then to everyone after a delay, and a rollout can be paused. A signed manifest older than the latest one an installation has seen is ignored, so a paused rollout cannot be brought back by replaying an earlier manifest. MemoryPilot update installs the latest release now, rollout and skipped versions aside; MemoryPilot update --check only reports it.
Not updated automatically: Homebrew installs (brew upgrade memorypilot), binaries inside a cargo target/ directory, debug builds, platforms without a release binary (Intel Macs, Windows), any server started with MEMORYPILOT_AUTO_UPDATE=0, and any server on another database than the installation's (MEMORYPILOT_DB): the copy and the self-test are made on data/memory.db. A server started with MEMORYPILOT_AUTO_UPDATE=0 also keeps running the binary it was started from when another server installs an update under it, until it is restarted. A binary installed with cargo install moves to the signed release binary at its first update. Installations of v4.11.0 or older do not have the updater yet: update them once by hand (install.sh again, or brew upgrade).
Alternative paths
# Via Cargo, pinned to a release tag — works anywhere Rust runs
# (unsigned on macOS: Keychain prompt after each update if you store credentials):
cargo install --git https://github.com/Soflutionltd/MemoryPilot --tag v4.21.0 --bin MemoryPilot
# Local clone + auto-config (same installer, run from inside the repo):
git clone https://github.com/Soflutionltd/MemoryPilot.git && cd MemoryPilot && ./install.sh
The installer is idempotent: re-run it any time to refresh configs without breaking the others.
Pre-built binaries
Every release ships pre-built binaries for the three mainstream targets. Linux builds come from the release CI workflow on every v*.*.* tag; the macOS build is signed with Soflution's Developer ID and notarized by Apple (scripts/release-macos.sh):
| Platform | Target triple | Archive |
|---|---|---|
| macOS Apple Silicon | aarch64-apple-darwin | MemoryPilot-aarch64-apple-darwin.tar.gz |
| Linux x86_64 | x86_64-unknown-linux-gnu | MemoryPilot-x86_64-unknown-linux-gnu.tar.gz |
| Linux arm64 | aarch64-unknown-linux-gnu | MemoryPilot-aarch64-unknown-linux-gnu.tar.gz |
Each archive is paired with a .sha256 for verification. Grab them from the releases page.
Intel Mac (
x86_64-apple-darwin): no pre-built binary — theort/ ONNX Runtime crate used byfastembeddoes not publish prebuilts for this target. Usebrew install Soflutionltd/memorypilot/memorypilot(builds from source) orcargo install --git .... Apple Silicon Macs (M1+) are fully covered with a pre-built binary.
Supported IDEs / agents (auto-configured by ./install.sh):
| Agent | Config file / command | Auto-configured |
|---|---|---|
| Cursor | ~/.cursor/mcp.json | ✓ (stdio) |
| VS Code | ~/.vscode/mcp.json | ✓ (stdio) |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json | ✓ (stdio) |
| Claude Code | claude mcp add | ✓ (CLI) |
| Codex CLI | codex mcp add | ✓ (CLI) |
| Gemini CLI | ~/.gemini/settings.json | ✓ (stdio) |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | ✓ (stdio) |
| OpenCode | ~/.config/opencode/opencode.json | ✓ (stdio) |
| Cline (VS Code) | ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json | ✓ (stdio) |
| Roo Code (VS Code) | ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json | ✓ (stdio) |
| ChatGPT Desktop | Settings → Apps → Create | via HTTP (see below) |
Additional MCP-compatible clients (use the same stdio binary, manual config):
| Agent | Notes |
|---|---|
| Goose | YAML config under ~/.config/goose/config.yaml — add MemoryPilot under extensions: with type: stdio, cmd: ~/.local/bin/MemoryPilot |
| Kilo Code | Same cline_mcp_settings.json format under the Kilo VS Code extension storage path |
| Continue.dev | ~/.continue/config.json — add to mcpServers |
| Zed | Settings → Assistant → Context Servers → add stdio command |
| Aider | No native MCP; use the REST API (see HTTP API section) |
The script is idempotent — run it again to update without breaking existing MCP configs.
ChatGPT Desktop
ChatGPT needs an HTTP endpoint. Start the HTTP server, then add it as a custom connector (the token of ~/.MemoryPilot/config/http.token is required, as Authorization: Bearer or in the URL, /mcp/<token>):
MemoryPilot --http 7437
In ChatGPT: Settings → Apps → Create → URL: http://localhost:7437/mcp
Manual install
git clone https://github.com/Soflutionltd/MemoryPilot.git
cd MemoryPilot
cargo build --release --features http
cp target/release/MemoryPilot ~/.local/bin/
chmod +x ~/.local/bin/MemoryPilot
xattr -cr ~/.local/bin/MemoryPilot # macOS only
Then add MemoryPilot to your IDE's MCP config manually (see table above for file paths).
How it works
MemoryPilot gives the agent standing instructions when it connects: recall what is known at the start of a conversation, and save decisions, conventions and significant fixes as they come up, without asking you each time. Those instructions also tell it never to store a secret, password or API key; a secret that slips into a memory is masked and moved to an encrypted store. All configured IDEs share the same memory database. The instructions are in src/tools.rs (server_instructions).
For ChatGPT or any MCP client that needs HTTP: run MemoryPilot --http to expose the Streamable HTTP endpoint at /mcp.
Or use it through McpHub with all your other MCP servers.
First run
# If upgrading from v1 (JSON files):
MemoryPilot --migrate
# Compute embeddings for existing memories:
MemoryPilot --backfill
# Force re-embed all (skips unchanged via content hash):
MemoryPilot --backfill-force
Your data
- Everything is stored on your computer, in
~/.MemoryPilot(Storage): memories indata/memory.db, the index of your past conversations indata/conversations.db. Nothing is sent to a language model or to Soflution, and there is no telemetry (MEMORYPILOT_TELEMETRYonly writes a local log, and is off by default). - What it reads. A running MemoryPilot (started by an agent, by the extension or as the local service) indexes, locally, the conversations of Cursor, Claude Code and the Claude desktop app's agent sessions found on this computer, so that
find_conversationcan find them.MEMORYPILOT_CONVERSATIONS_WATCH=0turns that off. - What goes into the agent's context. With the hooks, memories are added when a conversation starts (up to 8,000 characters) and, in Claude Code, with each prompt (up to 4,000), so the agent starts informed. You do not see that text in the chat;
recallshows what it would be. - The network calls MemoryPilot makes on its own:
- the model download on first use (Hugging Face and a GitHub release);
- the update check every six hours (two small requests to
github.com, with no identifier), unlessMEMORYPILOT_AUTO_UPDATE=0; - the connectors: after a recall or a search, it refreshes in the background what it knows of your projects from the GitHub CLI when
ghis installed and signed in, and from the Supabase API when a token is stored.MEMORYPILOT_CONNECTORS=0turns them off.
- Secrets. A password or key found in a memory is masked and kept encrypted, with the key in the macOS Keychain (a key file readable only by you on Linux). Do not use MemoryPilot as a password manager.
Uninstall
MemoryPilot --service remove # macOS: the local service, when installed
claude mcp remove MemoryPilot # Claude Code
codex mcp remove MemoryPilot # Codex CLI
rm ~/.local/bin/MemoryPilot # or: brew uninstall memorypilot
rm -rf ~/.MemoryPilot # your memories, the conversation index, backups, logs
rm -rf ~/.cache/fastembed # the models
security delete-generic-password -s MemoryPilot -a credentials-key-v2 # macOS: the key of the encrypted secrets
Then remove by hand what no command undoes yet:
- the
MemoryPilotentry of the MCP settings file of each other tool (Cursor, VS Code, Claude Desktop, Gemini CLI, Windsurf… the files are listed below); - the hooks that run
MemoryPilot --hook …in~/.claude/settings.json,~/.cursor/hooks.jsonand~/.codex/hooks.json, and the dated.bakcopies the installer left next to those files.
Installed as an extension of the Claude desktop app: remove it in Settings > Extensions, then delete ~/.MemoryPilot and ~/.cache/fastembed.
Known limits
- No Windows version, no pre-built binary for Intel Macs.
- Not reachable from claude.ai in a browser or from a phone with the released binaries.
- The numbers below were measured by the author on one machine, and none was reproduced by a third party. Each table says what was measured and how.
- A search with reranking takes about a second on a store of a few thousand memories; the 28 ms figure is a search without reranking.
- The embedder's license excludes commercial use (see above).
Benchmarks
LongMemEval-S (ICLR 2025) — Academic Standard
Evaluated on the 470 answerable questions of LongMemEval-S (ICLR 2025; the 30 abstention questions are left out, as the official retrieval protocol does). Turn-level index, ~50 sessions per haystack.
What the score measures. R@5 here is session-level recall_any@5: a question counts as a hit when at least one of the top 5 retrieved turns belongs to one of its gold sessions. It is a retrieval metric, not answer accuracy, and a question that needs several sessions counts as a hit as soon as one of them is found (300 of the 470 questions have more than one gold session). For scale: a plain BM25 over turns, with no embeddings, scores about 93% on the same metric and 74% on recall_all@5. These figures were measured with v4.2 (multilingual-e5-small); the current default model has only been measured on a 100-question slice (see v4.6 below).
Retrieval scores (same metric family, setups differ)
| System | R@5 (recall_any, session level) | Notes | Source |
|---|---|---|---|
| MemoryPilot v4.2 (adaptive rerank) | 99.1% | 470 questions, ~900 ms/query on an M-series Mac | This repo, --benchmark-longmemeval |
| MemoryPilot v4.2 (rerank off) | 98.7% | 470 questions, ~28 ms/query with MEMORYPILOT_CROSS_RERANK=off | This repo, --benchmark-longmemeval |
| MemPalace v3.12.0 (hybrid) | 98.4% | 450 held-out questions after tuning on 50; 96.6% raw on 500 | MemPalace README, read 2026-11-16 |
| ICM v0.11.5 | 97.4% | 500 questions (487 hits), no LLM, one memory per session | rtk-ai/icm README, read 2026-11-16 |
| agentmemory v0.9 | 95.2% | 500 questions (abstention included), all-MiniLM | github.com/rohitg00/agentmemory benchmark/LONGMEMEVAL.md |
| mcp-memory-service v10.34.0 | 80.4% | labelled R@5; hit definition not stated | v10.34.0 release notes |
Answer accuracy (a different metric: an LLM reads the retrieved context and a judge grades the answer)
| System | QA accuracy | Context per question | Setup | Source |
|---|---|---|---|---|
| Recallium (closed) | 98.4% | 12,600 tokens | Claude Opus 5.5 in an agentic harness, gpt-4o judge, whole sessions as the retrieval unit | recallium.ai/benchmarks, read 2026-11-17 |
| MemoryPilot | 97.2% (486/500) | 6,047 tokens | Claude Opus 5.5 as reader, gpt-4o-2024-08-06 judge, one search per question, no LLM call at write time | This repo, benchmarks/results/longmemeval-s |
| Maximem Synap | 95.6% | 7,400 tokens | Gemini 3.8 Flash as reader, gpt-4o judge | maximem.ai/evals, read 2026-11-17 |
| Mastra (observational memory) | 94.87% | not published | see source | mastra.ai research, read 2026-11-17 |
| Hindsight | 94.6% | not published | see source | vectorize-io/hindsight-benchmarks, read 2026-11-17 |
| Mem0 (managed platform) | 94.4% (472/500) | not published | Mem0's own suite, top-200 retrieval; reader and judge not stated on the page | mem0ai/memory-benchmarks, read 2026-11-16 |
| Zep (cloud, 2026) | 90.2% (451/500) | 4,408 tokens (median) | gpt-5.4 as reader and as judge | getzep.com research, read 2026-11-16 |
| Zep / Graphiti (2025 paper) | 63.8% / 71.2% | not published | gpt-4o-mini / gpt-4o as reader, GPT-4o judge | arXiv 2501.13956, Table 2 |
| Supermemory | 85.2% / 84.6% | not published | gemini-3-pro / gpt-5 as reader, LongMemEval-S, 500 questions | supermemory.ai research, read 2026-11-16 |
The 97.2% is the score given by the benchmark's official judge (gpt-4o-2024-08-06). The same 500 answers were first judged by claude-haiku-5-5, which gave 94.0% (470/500); the two judges agree on 484 answers. Both files are in benchmarks/results/longmemeval-s.
MemoryPilot's end-to-end run (2026-11-18, compact search as released in v4.14.0). All 500 questions, abstention included. MemoryPilot indexes each haystack turn by turn with no LLM call, answers one search_memory per question, and the 50 turns it returns go to the reader in the official LongMemEval prompt (run_generation.py, chain of thought on). The official judge prompts (evaluate_qa.py) grade the answers with gpt-4o-2024-08-06 at temperature 0. The search is a compact one: assistant turns ranked after the third are cut to 150 characters, which keeps the prompt at 6,047 tokens per question (measured: 3,023,706 prompt tokens over 500 questions).
| Question type | Correct |
|---|---|
| knowledge-update (78) | 76 |
| multi-session (133) | 124 |
| single-session-assistant (56) | 56 |
| single-session-preference (30) | 30 |
| single-session-user (70) | 69 |
| temporal-reasoning (133) | 131 |
| All (500) | 486 (97.2%) |
| of which abstention (30) | 27 |
Every answer and every verdict is in benchmarks/results/longmemeval-s: the run itself (search metrics, the reader's 500 answers, token counts) and the same answers graded by the official judge. The folder also holds an earlier run with the 50 turns returned whole (485/500 at 15,497 tokens per question). The dataset is LongMemEval (MIT). To reproduce, with an API key in MEMORYPILOT_LLM_API_KEY:
MemoryPilot --benchmark-longmemeval benchmarks/longmemeval_s_cleaned.json --e2e --cot --answer-max-tokens 1500 --context-turns 50 --compact --llm-base-url https://api.anthropic.com/v1 --answer-model claude-opus-5-5 --judge-model claude-haiku-5-5 > run.json
MemoryPilot --benchmark-longmemeval benchmarks/longmemeval_s_cleaned.json --rejudge run.json --llm-base-url https://api.openai.com/v1 > run-gpt4o.json
Limits of this measure: a single run; the settings (50 turns, cut at 150 characters after rank 3) were chosen on this same question set, not on a held-out split; nobody outside this project has rerun it. The benchmark runner builds one index per question and writes each turn with a date prefix that holds its distance to the question's date ([date: …; 12 days ago; 2 weeks ago; …], see lme_temporal_prefix), and it searches without the approximate vector index: a memory stored through the MCP tools is indexed before any question exists, with its date only, so this run measures the benchmark path, not that ingestion path. On retrieval the relative dates change nothing measurable: on a sample of 60 questions (one in eight of each type, 2026-11-28), with and without them, R@1 is 95%, R@5 100%, MRR 97.5%, and every gold session is within the first 30 turns for 60 questions out of 60 (within the first 10 turns: 57 with, 58 without). Their weight in the reader's answers, which also sees them in the text of each turn, has not been measured. The compact mode ships in v4.14.0; the run predates the widening of its candidate pool to 100, which has not been measured end to end.
All figures are published by their own authors, none was reproduced independently, and the two tables cannot be compared with each other. On answer accuracy MemoryPilot is second to Recallium's published score and uses about half its context; on session-level recall MemoryPilot posts the highest published local score, by a margin smaller than the gap between this metric and a plain BM25 baseline. The protocol to settle a comparison: same 470 questions, same hardware, every system run by the same script, reporting
recall_any@5,recall_all@5, turn-level evidence recall and end-to-end QA accuracy with a fixed reader and judge.
What a memory costs (measured, MemoryPilot --footprint)
Quality is one axis. The others decide what a memory costs on every conversation and every write.
| Measure | MemoryPilot v4.20 | How to reproduce |
|---|---|---|
| LLM calls per write | 0 | Dedup, entities, graph links and embeddings run locally |
| LLM calls per search | 0 | Local encoder and reranker |
| Tools exposed, default profile | 24 | --footprint |
| Tool list, default profile | 24,429 characters, about 6,100 tokens | --footprint (tokens estimated at 4 characters each) |
| Tools exposed, full profile | 73 | MEMORYPILOT_TOOLS=full |
| Tool list, full profile | 46,399 characters, about 11,600 tokens | --footprint |
| Server instructions | 907 characters, about 230 tokens | --footprint |
| Runtime dependencies | none | One binary; no database server, no API key |
For scale, as published by each project and read on 2026-11-16: Mem0, Zep, Graphiti, Letta, Supermemory and Hindsight call an LLM on every write; MemPalace does not. Tool counts: Cognee 6 by default, Mem0 11, Zep 12, ICM 32, MemPalace 47. Clients that defer tool schemas (Claude Code does by default) mostly pay for tool names and server instructions, so the count matters less there than on clients that load every schema.
Other long-term-memory benchmarks: ICM publishes 92.9% answer accuracy on LoCoMo (1,540 questions, Gemini as reader and judge, source); Mem0 92.5% and Zep 94.7% on LoCoMo, on their own harnesses. MemoryPilot has no LoCoMo runner yet.
Detailed view — MemoryPilot vs MemPalace (closest local competitor)
| Metric | MemoryPilot v4.2 (rerank off) | MemoryPilot v4.2 (adaptive rerank) | MemPalace v3.3.3 | Delta vs MemPalace |
|---|---|---|---|---|
| R@5 | 98.7% | 99.1% | 96.6% raw / 98.4% hybrid | +2.5% vs raw / +0.7% vs hybrid |
| R@10 | 99.6% | 99.4% | ~97%¹ | +2.6% vs raw |
| NDCG@10 | 95.1% | 96.0% | Not published | MemoryPilot publishes |
| MRR | 93.6% | 94.9% | Not published | MemoryPilot publishes |
| Avg search latency | ~28 ms (MEMORYPILOT_CROSS_RERANK=off) | ~900 ms (the default) | N/A | search call only, models warm |
¹ Validated with the full 470-question evaluation set (after dropping the 30 abstention questions) in two modes: hybrid retrieval with the rerank off (BM25 + cosine RRF,
MEMORYPILOT_CROSS_RERANK=off, ~28 ms/query) and the default adaptive cross-encoder rerank (MEMORYPILOT_CROSS_RERANK=adaptive, jina-v2-multilingual, fusion weight 0.45, ~900 ms/query, suitable for benchmarks and high-stakes recall). Latencies cover the search call only, with models loaded; MemPalace's figures come from a different question split.
By Category (470 questions, adaptive rerank)
| Category | R@5 | R@10 | MRR |
|---|---|---|---|
| single-session-user (64) | 100% | 100% | 96.6% |
| single-session-assistant (56) | 100% | 100% | 98.8% |
| multi-session (121) | 100% | 100% | 95.7% |
| knowledge-update (72) | 100% | 100% | 98.2% |
| temporal-reasoning (127) | 97.6% | 98.4% | 93.3% |
| single-session-preference (30) | 96.7% | 96.7% | 75.9% |
French / Multilingual Benchmark — --benchmark-fr
To complement the English-only LongMemEval, MemoryPilot ships its own deterministic French benchmark covering 109 memories and 109 paraphrased queries across infra, mobile, web, security, and ML domains. The queries are intentionally distant from the indexed wording so they actually exercise the semantic lane.
| Mode | R@5 | R@10 | MRR | Avg latency |
|---|---|---|---|---|
| Default fast (BM25 + jina RRF) | 92.7% | 99.1% | 74.4% | ~100 ms |
| Adaptive cross-encoder rerank, mmarco (v4.10) | 99.1% | 99.1% | 97.4% | ~210 ms (Apple Silicon) |
| Adaptive cross-encoder rerank, jina-reranker-v2 (default since v4.11) | 100% | 100% | 98.0% | ~436 ms (2-vCPU Linux VM) |
v4.5 fixed a ranking bug that had capped this benchmark at R@5 ≈ 70% since v4.0: knowledge-graph neighbours were injected at a hard-coded score (0.1) above every genuine RRF hit (max 2/41 ≈ 0.049), so they occupied the cross-encoder window and pushed real matches past limit. Neighbours now enter below the weakest genuine candidate and only the cross-encoder can promote them.
v4.5.0 also closes two write-path stability bugs surfaced by that work: the episodic rollup embedded every hourly bucket on each pass (before checking whether the episode already existed) and did so synchronously inside add_memory, then panicked on multi-byte French text; it now runs on its own thread with a cheap existence check first. And auto-compaction held a Mutex across run_gc/compact_to_capsules, whose merged rows re-enter add_memory — a deadlock hidden until the rollup stopped panicking ahead of it.
Run-to-run variance is bounded to ±1 pp on R@5 / R@10 thanks to deterministic memory ids, deterministic id-based RRF tie-break, synchronous ANN warm-up, and explicit cross-encoder pre-warm before the first query. This is the metric to watch for any French / multilingual regression.
v4.6 — beyond single-fact retrieval
v4.6.0 targets the LongMemEval categories a top-k retriever alone cannot win: multi-session aggregation, temporal reasoning, knowledge updates and abstention. Everything stays local and rule-based or int8 ONNX. Measured on LongMemEval-S@100 (64 single-session + 36 multi-session, plus the 7 abstention questions of that slice) against v4.5.0, same machine, cross-encoder adaptive:
| Metric | v4.5.0 | v4.6.0 |
|---|---|---|
| R@5 / R@10 | 99% / 100% | 100% / 100% |
| MRR / nDCG@10 | 96.3% / 97.2% | 96.5% / 97.3% |
| Multi-session gold coverage@10 | 93.6% | 94.5% |
| Multi-session questions with all gold sessions in top-10 | 30/36 | 32/36 |
| False abstention on answerable questions | — | 4% |
Extractive answer (search_memory … answer=true), contains-gold | — | 48% (72% single-session; counting questions are out of reach for span extraction) |
--benchmark-fr is unchanged within noise (R@1 96.3%, R@5 99.1%, MRR 97.6%).
- MMR diversity (
src/diversity.rs) — the finalists plus the RRF ranks just below them are re-ordered by maximal marginal relevance over their stored vectors (λ = 0.4, redundancy floor 0.55). The top hit never moves, so MRR is untouched; a second, distinct source can displace a restatement of the first.MEMORYPILOT_MMR=0disables it. - Temporal grounding (
src/temporal.rs) — explicit dates in a memory (2026-09-01,12 septembre 2026,September 12,hier…) becomedateentities at ingest; a temporal phrase in the query (last week,il y a deux semaines,en mars,last Tuesday) becomes a day window that boosts dated candidates inside it (×1.25) and mildly demotes dated candidates far outside (×0.85). Undated memories are neutral, so a mis-parsed window costs at most the boost.MEMORYPILOT_TEMPORAL=0disables it. - Contextual embeddings — transcript chunks and other context-poor kinds are embedded with a
[date · project]prefix while the stored content and its hash are left untouched. - Superseding — the daily consolidation pass links a memory to a newer, near-identical restatement with a changed value (cosine ≥ 0.86, lexical overlap 0.55–0.95, ≥ 1 h apart) and the old one is demoted (−0.35) at search time. Both stay retrievable;
consolidate_memories(apply=true)reports the links made. - Calibrated confidence — every search returns
confidence: { top_cosine, peak, cross_score, margin, level, abstain }. On LongMemEval the abstention haystacks are built from the same user's other sessions and no cheap signal separates them from answerable questions (top-1 cosine p50 0.46 vs 0.54, cross-encoder logits overlap fully), so the hardabstainis deliberately conservative (cosine < 0.35, 4% false abstention) andlevelcarries the graded signal.MEMORYPILOT_ABSTAIN_COSINEmoves the floor. - Extractive reader (
src/reader.rs, opt-in) —search_memorywithanswer: truerunsdeepset/roberta-base-squad2(int8 ONNX, 125 MB, English, loaded on demand through the idle pool) over the top-5 passages and returns the literal span or nothing. ~480 ms per question on CPU. It is a benchmarking instrument and a shortcut for literal lookups, not a language model: it abstained on 5/7 LongMemEval abstention questions where the retriever could not.--benchmark-longmemeval --readerreports SQuAD-style EM / F1 / contains.
Search Quality — Real-World (500 memories, 30 scenarios)
| Metric | MemoryPilot v4.2 | MemPalace v3.1 (raw) | Quantum Memory Graph |
|---|---|---|---|
| R@5 | 100% | 96.6% | 93.4% |
| R@10 | 100% | N/A | 93.4% |
| NDCG@10 | 95.6% | 88.9% | 90.8% |
| Cluster Coherence | 96.7% | N/A | N/A |
| Multilingual | 100+ languages (validated FR R@5 99.1%) | English only | English only |
| Compression | about 3x on a compact recall, 5-10x on aged memories folded into capsules | 30x (recall drops to 84.2%) | N/A |
| Avg Search Latency | ~28 ms rerank off / ~410 ms adaptive (default) | N/A | ~80 ms |
| Install size | 44 MB binary + ~530 MB of models downloaded on first run | ~500 MB (Python+ChromaDB) | 1.5 GB |
| Dependencies | none at runtime (single binary, ONNX bundled; models fetched from Hugging Face once) | Python + ChromaDB + SQLite | Python + ONNX |
vs the best memory servers on the market:
Documentation truncated — see the full README on GitHub.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Total Agent Memory
Freeby vbcherepanov · Developer Tools
Persistent local memory for coding agents: temporal knowledge graph, procedural and episodic recall
Recall
Freeby Polign · Developer Tools
Memory and state for AI agents: every correction kept with its history, and resume after a crash.
Agent Memory
Freeby XChuCx · Developer Tools
Git-native project memory for AI coding agents: Markdown source of truth, reviewable, secret-safe.
Mengram
Freeby Alibaizhanov · Developer Tools
Long-term memory for AI agents: semantic facts, episodic events, and procedural workflows
Zenbrain
Freeby Zensation Ai · Developer Tools
Agent memory: working, episodic, semantic, procedural and core layers. Local SQLite, no account.
Genome
Freeby NORTHTEKDevs · Developer Tools
Fully local memory for AI agents: zero-LLM ingest, semantic recall, air-gapped, auditable.
