Mnemosyne
概览
作者提供的说明(英文原文)
Evidence-tracked local memory MCP server: one SQLite file; corrections retire dependent memories.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 232/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
MNEMOSYNE_INDEX_MODE
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mnemosyne": {
"command": "npx",
"args": [
"-y",
"mnemosy-ai",
"mcp",
"--db",
"your-value",
"--workspace",
"your-value",
"--agent",
"your-value"
],
"env": {
"MNEMOSYNE_INDEX_MODE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add mnemosyne --env MNEMOSYNE_INDEX_MODE=your-value -- npx -y mnemosy-ai mcp --db your-value --workspace your-value --agent your-value运行前请先填写空着的值。
这个服务器需要在启动命令中填入值,请复制设置后自行填写。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mnemosyne": {
"command": "npx",
"args": [
"-y",
"mnemosy-ai",
"mcp",
"--db",
"your-value",
"--workspace",
"your-value",
"--agent",
"your-value"
],
"env": {
"MNEMOSYNE_INDEX_MODE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器需要在启动命令中填入值,请复制设置后自行填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mnemosyne": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mnemosy-ai",
"mcp",
"--db",
"your-value",
"--workspace",
"your-value",
"--agent",
"your-value"
],
"env": {
"MNEMOSYNE_INDEX_MODE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
MNEMOSYNE_INDEX_MODEenvDense index used for semantic recall; defaults to auto
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 28naem-del 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5714 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5714 个服务器的 80% 更新
- 基础检查结果等于或优于此分类中其他 5714 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Mnemosyne 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(3.0.0-rc.4)于10天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Mnemosyne
The next agent starts wiser.
Mnemosyne is local-first, long-term memory for AI agents: one SQLite file that keeps what an agent learned together with the evidence it came from, served to any host over TypeScript, MCP, CLI or HTTP. When a source is corrected, the memories recorded as depending on it are retired, so the next agent starts from what current recorded evidence still supports instead of repeating a stale lesson. The local engine needs no model API key, database server or Docker.
- Evidence on every memory. Each record keeps its source and trust tier, and the superseded version stays inspectable after a correction.
- Corrections that reach dependents. A corrected requirement retires the procedures and skills recorded as depending on it; 3.0 can also propose dependencies nobody declared, for review.
- Auditable over time. Past beliefs replay exactly. Given the records a failed retrieval should have returned,
bisectfinds the records that pushed them out. In the 3.0 pre-release, consolidation is outcome-gated and reversible. - Any host. MCP for Claude Code, Cursor and Codex; a TypeScript SDK; a CLI; and authenticated HTTP with a Python client and live inspector.
Stable: 2.0.0 (`npm install mnemosy-ai`) · Newest pre-release: 3.0.0-rc.4, the breakthrough release (`npm install mnemosy-ai@next`) · MIT · Node.js ≥22.16
Website · Quickstart · Documentation · Examples · Migration · Measured results · Trust evidence · Claims and evidence · Releases · npm · Contributing · Issues
[!NOTE]
Which Mnemosyne is this? This repository is the TypeScript package published on npm as
mnemosy-ai, with its site at mnemosy.ai. It is a separate project from mnemosyne-oss/mnemosyne, the Python memory library published on PyPI asmnemosyne-memory; the two share a name, not code or maintainers. Please file issues for that project in its own repository.
This repository predates `mnemosyne-oss/mnemosyne`: GitHub records its creation on February 24, 2026; the separate Python repository was created on April 5, 2026.
Try it
The first npx run downloads the package; after that, the 3.0.0-rc.4 demo runs offline on synthetic corpora, with no API key and no model, and measures each claim while it runs:
npx -y -p mnemosy-ai@next mnemosy demo
The recording above is one unedited run (assets/demo.tape regenerates it with vhs). The last line of each of its five moments, matching the recorded run of 28 October 2026 (site/demo-five.json; timings vary by machine; the pass bars printed after each line are omitted here):
PROOF replay determinism: 1000/1000 identical, 24000/24000 as-of answers = ground truth [PASS]
PROOF downstream repair: undeclared invalidated 3/3, accepted edges true 3/3, stale after correction 0 (11 probes) [PASS] PROOF blame precision / time-to-locate: precision 1.00, 0.40 s, 2000 records [PASS] PROOF poisoning suite v1, live: 227 cases, 0 escapes, 0 false quarantines [PASS] PROOF consolidation receipts: kept 1 (delta +2), rolled back 2 (regression, invariant violated), rollback identical hash true, chain verified 4 receipts [PASS]
5/5 moments proved.
What each moment proves, and what it does not. Then give the memory to Claude Code (other clients: Install and connect an agent):
claude mcp add mnemosyne -- npx -y -p mnemosy-ai@next mnemosy mcp --db ./.mnemosyne/memory.sqlite --workspace my-project --agent assistant
For the stable release, write mnemosy-ai@2.0.0 in place of mnemosy-ai@next; on 2.0.0, mnemosy demo runs the earlier single-scenario demo.
Contents: 3.0: the breakthrough release · Install and connect an agent · Measured results · Choose your engine · A working demonstration · Corrections in code · Tune the dense index · What you can build · Entry points · Migrate · Limits · Operational boundaries · Build with us
New in 3.0: the breakthrough release (pre-release on npm next)
3.0 is the breakthrough release. Replay and bisect already existed in 2.0.0. 3.0 adds four things: dependencies nobody declared, inferred and proposed for review, so that corrections reach them once accepted; a poisoning gate checked against a reproducible attack suite; outcome-gated, reversible consolidation with signed receipts; and opt-in precision controls. bisect also gained the hybrid retrieval path: since 3.0.0-rc.4 the mnemosy bisect CLI re-executes the store's own path (--retrieval auto|lexical|hybrid, default auto, which picks hybrid when the store has stored vectors for the bundled model; an hnsw index is refused). bisect is not a public package export, so from npm the CLI is the entry point. Each of these is documented and tested below, and each public claim is listed with its evidence in Claims and evidence. 3.0.0-rc.4 is the current release candidate on the npm next channel: npm install mnemosy-ai@next installs it, while npm install mnemosy-ai still installs the stable 2.0.0. Every number below was measured on 3.0.0-rc.2, offline, with no API key, no paid model and no LLM judge. Each one reproduces with the commands in Benchmarks and trust evidence, which also lists what is not claimed.
| Measurement | Result | Protocol |
|---|---|---|
| PrecisionMemBench | 70/77 single-turn, 11/12 session turns (rc.1: 22/77 unfiltered, 48/77 with tuned wrapper filters, session 6/12) | Public 35-belief fixture the controls were designed against, protocol-exact, retrieval mode, no wrapper-side filter, no LLM judge · protocol |
| Poisoning suite v1, consolidation on | 0/167 escapes, 0/60 false quarantines (85/167 escape without the gate) | 227 synthetic cases, lexical path, 294 gate decisions · protocol |
| Dependency suite v1 | recall 96.05 %, precision 98.06 %, 0 stale procedures with the premise guard (inference alone: 7/248 stale; guard false-hold rate 92.78 %) | Synthetic corpus, seed 20261028, 120 corrections, accept-all eval reviewer · protocol |
| Replay determinism | 1000/1000 identical states, 24,000/24,000 as-of answers | Two readers of one store at 1000 seeded cut points; answers against ground truth from the plan · protocol |
| Bisect | precision 1.00 on 2,000 records, 0.40 s in the recorded run of 2026-10-28 (site/demo-five.json; varies by machine; bar 60 s) | One seeded false record in a synthetic store; the expected record is known, and the blame is confirmed by re-running recall without the culprit · protocol |
The default retrieval path's recall did not move: LoCoMo and LongMemEval-S recall are identical before and after (regression check). Recall latency was measured only on a loaded machine, with a scratch harness that is not committed, so those figures cannot be reproduced from this repository; the known limits, including a slowdown of the non-default overlap scorer, are in the changelog.
- Precision you can switch on. The new opt-in controls are a names gate and guarded single-edit fuzzy matching. Empty answers are native abstentions, and the ledger records why. With the controls on, the kernel scores 70/77 single-turn cases and 11/12 session turns on PrecisionMemBench (session was 6/12 with the rc.1 filtered configuration). That run was protocol-exact, in retrieval mode, with no LLM judge, no wrapper-side filter and no wrapper
kindspredicate, and the lexical and hybrid paths score the same. The 12th session turn needs an open-question kind policy that the kernel is not told about. - For comparison, the kernel scored 22/77 unfiltered and 48/77 with the fixture-tuned wrapper filters of rc.1.
- The benchmark fixture is public, and the controls were designed against it, so this is not a held-out estimate.
- The 7 remaining misses are those of our metadata-based configuration; the single-turn protocol does not send explicit lifecycle fields.
- The default retrieval path is unchanged: LoCoMo and LongMemEval-S recall are
只显示了开头部分;其余内容请在仓库中阅读