Mnemoverse Memory
@mnemoverse/mcp-memory-server
面向 AI 代理的托管记忆,能够学习哪些事实重要。反馈会重新排序召回——基于预测误差的 Rescorla-Wagner 更新,而非相似度评分——因此有帮助的内容会上升,误导性的内容会下沉,并带有有界的新近性决胜规则以保留新鲜记忆。该引擎还提供整合功能(HDBSCAN 聚类,并带有 Von Restorff 保护,使独特记忆在压缩中幸存)。一个 API 密钥即可在 Claude、Cursor、VS Code、ChatGPT 以及任何 MCP 客户端中使用。
记忆跨会话、项目和工具持久存在,并随使用而改进。托管式,因此无需运行基础设施,且不锁定于单一云。
⭐ 如果 Mnemoverse 让你免于向代理重复解释上下文,请给仓库加星。这有助于其他开发者找到它。
快速开始
1. 获取免费 API 密钥
在 console.mnemoverse.com 注册——只需 30 秒,无需信用卡。
2. 连接到你的 AI 工具
Claude Code — 通过 CLI 添加:
claude mcp add mnemoverse -s user \
-e MNEMOVERSE_API_KEY=mk_live_YOUR_KEY \
-e MNEMOVERSE_API_URL=https://core.mnemoverse.com/api/v1 \
-- npx -y @mnemoverse/mcp-memory-server@latestCursor — 点击安装,或添加到 .cursor/mcp.json:
{
"mcpServers": {
"mnemoverse": {
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}VS Code — 添加到 .vscode/mcp.json(注意:VS Code 使用 servers,而不是 mcpServers):
{
"servers": {
"mnemoverse": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}Windsurf — 添加到 ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mnemoverse": {
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}更多 MCP 客户端 — 同一服务器,不同配置文件:
Zed — 添加到 ~/.config/zed/settings.json(Zed 使用 context_servers,并且需要 "source": "custom"):
{
"context_servers": {
"mnemoverse": {
"source": "custom",
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}JetBrains(AI Assistant)— 设置 → 工具 → AI Assistant → Model Context Protocol (MCP),然后粘贴:
{
"mcpServers": {
"mnemoverse": {
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}Cline — MCP 服务器 → 配置(或编辑 cline_mcp_settings.json)。Cline 会按字面读取 env 值,因此请粘贴你的真实密钥——而不是 ${VAR} 引用:
{
"mcpServers": {
"mnemoverse": {
"command": "npx",
"args": [
"-y",
"@mnemoverse/mcp-memory-server@latest"
],
"env": {
"MNEMOVERSE_API_KEY": "mk_live_YOUR_KEY",
"MNEMOVERSE_API_URL": "https://core.mnemoverse.com/api/v1"
}
}
}
}Continue — 添加 ~/.continue/mcpServers/mnemoverse.yaml(Continue 使用 YAML):
mcpServers:
- name: mnemoverse
command: npx
args:
- "-y"
- "@mnemoverse/mcp-memory-server@latest"
env:
MNEMOVERSE_API_KEY: "mk_live_YOUR_KEY"
MNEMOVERSE_API_URL: "https://core.mnemoverse.com/api/v1"为什么使用
@latest?裸的npx @mnemoverse/mcp-memory-server会被 npm 无限期缓存,并停止重新检查注册表。@latest后缀会强制在每次 Claude Code / Cursor / VS Code 会话启动时进行元数据查找(约 100-300 毫秒),因此你总能获取新版本。
⚠️ 编辑配置后请重启你的 AI 客户端。MCP 服务器仅在客户端启动时被加载。
3. 试试看——30 秒验证是否生效
将以下内容粘贴到你的 AI 聊天中:
“记住我最喜欢的 TypeScript 框架是 Hono,并请调用
memory_write保存它。”
你的代理应调用 memory_write 并确认记忆已存储。
然后打开新聊天 / 新会话(这正是关键——记忆在重启后依然存在),并询问:
“我最喜欢的 TypeScript 框架是什么?”
你的代理应调用 memory_read,找到条目,并回答“Hono”。如果做到了——你就连接成功了。接下来随意写入任何内容。
如果它没有记住:请检查客户端是否已完全重启,以及配置中是否包含你的真实 mk_live_... 密钥,而不是占位符。
Related MCP server: memmd-mcp
工具
工具 | 功能 |
| 存储一条记忆——见解、偏好、经验教训 |
| 通过自然语言查询搜索记忆(可选的新近性排序、时间范围、作者排除) |
| 按最新优先列出记忆——无需查询; |
| 将记忆评为有帮助或无帮助(改善未来召回) |
| 检查已存储的记忆数量、存在的领域 |
| 创建共享记忆房间;其地址可作为写入/读取时的 |
| 为你拥有的房间生成一次性邀请(代码 + 链接) |
| 使用邀请码( |
| 列出你拥有或加入的房间,以及每个房间可用作 |
| 按别名和用途列出 Vault 密钥——绝不返回密钥值 |
想法:该记住什么
用户偏好:“我使用深色模式”、“我更喜欢 Tailwind 而不是 CSS modules”
项目上下文:“此项目使用 PostgreSQL + Prisma”、“部署到 Railway”
经验教训:“在此仓库推送前始终运行测试”
已做决策:“我们选择 REST 而非 GraphQL,因为缓存更简单”
人员与角色:“Alice 是设计师,Bob 负责 API”
过往错误:“不要在周五部署——这是惨痛教训”
通用记忆
同一个 API 密钥适用于所有工具。在 Claude Code 中写入记忆——在 Cursor 中读取。在 VS Code 中学到的东西——你的 GPT 自定义操作也知道。
┌── Claude Code (this MCP server)
├── Cursor (this MCP server)
Mnemoverse API ──├── VS Code (this MCP server)
(one memory) ├── GPT (Custom Actions)
├── Python SDK (pip install mnemoverse)
└── REST API (curl)配置
环境变量 | 必需 | 默认 |
| 每次工具调用都需要——服务器在无密钥时也能启动并列出其工具 | — |
| 否 |
|
链接
设置与参考
背景阅读
Memory MCP 服务器对比 — 十三个可用选项,包含定价和注册表存在情况
如何选择记忆 MCP 服务器 — 缩小范围的五个问题
什么是 AI 代理记忆 — 类别解释
这是向量数据库吗? — 记忆层的独特之处
多代理系统的共享记忆 — Rooms 如何工作以及何时使用
项目
隐私政策
此服务器会向 Mnemoverse API(core.mnemoverse.com)发送工具调用所携带的内容,并使用你的 API 密钥进行身份验证——除此之外,它不会发送任何它能看到的内容。它不会读取你的 AI 客户端的对话历史、你的本地文件,或任何你未传递给 memory_* / vault_* 工具的内容。存储的记忆位于你的账户下;Mnemoverse 绝不会出售它们,也绝不会自行分享。唯一的分享路径是你自己创建的:邀请某人加入共享房间,即授予其助手访问该房间记忆的权限,且受邀请范围限制。
每个工具发送的数据:
工具 | 发送的数据 |
| 你传递的 |
|
|
| feed 过滤器: |
| 被评分的 |
| 房间的 |
|
|
| 邀请 |
| 无请求体——经过身份验证的 GET |
有一项内容会在你未明确请求时发出:自 0.8.1 起,当搜索或 feed 返回空结果时,服务器会发送一个或两个经过身份验证的只读 GET 探测(/memory/rooms 和/或 /memory/stats),以便空答案能说明它未覆盖的内容。这些探测仅携带你的 API 密钥,不改变任何存储状态,并在 CHANGELOG 中披露。
隐私政策 | |
保留与删除 | 通过写入新记忆来纠正错误或过时的记忆;删除是 REST API 上的管理操作,不通过此 MCP 服务器暴露 |
联系方式 |
许可证
MIT © Mnemoverse
Available Tools
11 toolsmemory_create_roomAInspect
Create a SHARED memory room — a space OTHER people's assistants can read, and write too when their membership scope is read_write, across the AI tools members connect to Mnemoverse. Members can access the room's existing history, including memories saved before they joined; joining does not expose their private account memory. Use when the user wants to share context or collaborate with someone else (e.g. 'make a room for me and my teammate'). Returns the room's address; pass that address as the domain on memory_write/memory_read to use it, and on memory_list_recent to catch up on what others added. People join through an invite minted with memory_invite_to_room.
Inputs: name (required), description. Returns: name, address, room_id
memory_feedbackAInspect
Rate memories returned by memory_read to help improve future retrieval ranking. Pass their IDs as memory_ids and an outcome from -1 (unhelpful) to 1 (helpful). Records feedback and updates ranking signals: positive feedback raises a memory's ranking; negative feedback lowers it so other memories out-rank it — nothing is erased. Saved text is not changed or deleted. For memories read from a shared room, pass that room's address as domain; your own memories need no domain. A read-only room member cannot rate the room's memories.
Inputs: outcome (required), memory_ids (required), domain. Returns: avg_valence, updated_count, coactivation_edges
memory_graphARead-onlyIdempotentInspect
Reads the association edges around given concepts: which concepts the memory has linked together, with each link's weight, outcome valence and co-activation count. Use to inspect what a memory store has learned or to explain why a read expanded to a concept. Reads your own graph, or a shared room's when its address is passed as domain; any other domain value has no effect. At depth 2 or 3 the engine drops edges below weight 0.05 unless min_weight is set. Read-only.
Inputs: seeds (required), depth, limit, domain, +1 more. Returns: edges, nodes, truncated, min_weight_applied
memory_invite_to_roomAInspect
Mint an invite for a room you own and get a ready-to-forward message. An invite is single-use by default; pass max_uses to let several people join with the same one. The user sends that message to the person they want to add (any messenger); the recipient opens the link or tells THEIR assistant the code to join. Use when the user asks to invite someone to a room they own, including one just created with memory_create_room.
Inputs: room_id (required), scope, max_uses, expires_in_days. Returns: code, scope, join_url, expires_at, +2 more
memory_join_roomAIdempotentInspect
Join a shared memory room using an invite code (starts with 'mnvr_'). Use when the user pastes an invite code or says something like 'join room with code ...'. The result gives the room's address, which is the domain for reading the shared room with memory_read, and tells you what you may do with it: memory_write to that address is only allowed when your membership scope is read_write; a read-only membership has that write refused; and when the server does not report a scope, whether memory_write would succeed is stated as unknown rather than promised either way.
Inputs: code (required). Returns: name, scope, address, room_id, +2 more
memory_list_recentARead-onlyIdempotentInspect
List the NEWEST memories first — no search query needed. Semantic search answers 'what do I know about X'; this answers 'what happened lately': resuming work after a break, catching up on a shared room ('any new messages?'), or reviewing what was saved recently. Pass since (your last-seen time) to get only what's new, and page through older entries with the returned cursor. Complete by construction WITHIN ONE SCOPE — nothing is skipped there, unlike a semantic search. A page is also bounded by SIZE, so a page of long entries comes back shorter than limit and hands you a cursor for the rest — nothing is dropped, and following the cursor is how you get it. To catch up on a shared room you MUST pass its address as domain: rooms are separate stores and an unscoped call never covers them, though it names the ones you have (rooms_not_searched).
Inputs: limit, since, until, cursor, +2 more. Returns: items, next_cursor, rooms_not_searched
memory_list_roomsARead-onlyIdempotentInspect
List the shared memory rooms you can use — the ones you OWN plus the ones you've JOINED — each with the address to pass as domain on memory_read, and on memory_write too where your membership scope is read_write; a read-only membership has that write refused. Use this to RE-FIND a room in a new session (e.g. 'what rooms do I have?', 'resume the room with my teammate') instead of having to create or re-join it.
Inputs: no named parameters. Returns: rooms
memory_readARead-onlyIdempotentInspect
Search long-term memory for user preferences, past decisions, project setup, people, or earlier context. The memory persists across sessions and across every AI tool the user has connected. It applies when an answer may depend on something from an earlier session or another tool; it is not needed for general world knowledge. Returns matches ranked by relevance (or newest-first with order_by: 'recency'); each result carries an id; after the answer, memory_feedback takes these ids to record which memories helped. A correction is a fresh memory_write. Without supersedes it is stored alongside the earlier memory, which stays as it was, unless it is too close to an existing memory, in which case the write is refused; with supersedes, the earlier memory is marked replaced, is hidden from reads when the account hides replaced memories, and include_history returns it. No MCP deletion tool is exposed; a user can permanently delete an individual personal memory through the REST API or with help from support.
Inputs: query (required), since, top_k, until, +5 more. Returns: items, rooms_not_searched
memory_statsARead-onlyIdempotentInspect
Get an overview of the stored memory: total count, the number of learned concept associations, the list of domains, and average quality scores. This memory is shared across all AI tools the user has connected to Mnemoverse. Use it to orient yourself, to confirm the exact domain name before writing to it, or when the user asks what you remember. Read-only — changes nothing.
Inputs: no named parameters. Returns: domains, episodes, prototypes, avg_valence, +3 more
memory_writeAInspect
Store a long-term memory that persists across sessions and across every AI tool the user has connected to Mnemoverse. Suited to durable information: a stated preference, a decision, a fact about people, roles or project setup, a lesson learned; transient chatter that only matters this turn does not belong here. Never store passwords, API keys, payment data, MFA codes, government IDs, or health records. Behavior: outside shared rooms, a novelty gate refuses a write the embedder cannot tell apart from a memory already stored in the same domain, so the result tells you whether the memory was stored or refused. Write content as a self-contained statement that still makes sense when recalled out of context. To correct a memory you have checked is outdated, pass its memory_id in supersedes.
Inputs: content (required), domain, concepts, supersedes. Returns: reason, stored, memory_id, importance, +1 more
vault_listARead-onlyIdempotentInspect
List the secrets stored in your Mnemoverse Vault — by ALIAS and purpose only; the secret VALUE is never returned or shown to you, and no tool on this server returns it. Use this to check WHICH secrets the user has stored and under what alias (e.g. the user says 'do I have a GitHub token saved?'). Only YOUR account's secrets are listed.
Inputs: no named parameters. Returns: secrets
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct memory operation: write/read, recency listing, feedback, graph inspection, stats, room lifecycle, and vault listing. memory_read vs memory_list_recent and memory_stats are clearly differentiated by purpose in the descriptions. Room tools are also cleanly separated by create/join/invite/list semantics.
Ten tools follow a consistent memory_verb_noun pattern (memory_write, memory_read, memory_create_room, etc.). vault_list is the only deviation, but it still uses a readable noun_verb convention. The set is mostly consistent with a minor prefix exception.
Eleven tools are well-scoped for a memory server that includes personal memory, shared rooms, feedback, graph inspection, stats, and vault listing. Each tool covers a meaningful operation without obvious redundancy. The count sits comfortably in the appropriate 3-15 range.
The surface covers core memory lifecycle operations: write, read, recency listing, feedback, graph, stats, and shared-room collaboration. Corrections are supported through supersedes, but no MCP deletion tool is exposed, so permanent deletion requires the REST API or support. This is a minor gap rather than a major dead end.
Maintenance
Related MCP Connectors
Persistent memory for AI agents across Claude, ChatGPT and any MCP client.
One memory for your AI agents and your team: Claude, ChatGPT, Cursor and your agents share it.
Persistent memory for AI agents: one brain shared across Claude, Cursor, Codex and more.
A personal memory you control, shared across Claude, ChatGPT, Cursor and any MCP client.
Related MCP Servers
- AlicenseAqualityDmaintenancePersistent memory API for AI agents — store, recall, and inject semantically-searchable context across sessions. EU-hosted, GDPR-compliant. Supports Claude, Cursor, Cline, and any MCP-compatible client.42MIT
- AlicenseBqualityDmaintenanceA shared memory layer for AI agents — one memory.md synced across Claude Desktop, Cursor, Claude Code, OpenAI Codex, and any MCP client.42MIT
- AlicenseNot gradedqualityBmaintenancePersistent memory for AI coding agents that stores and recalls preferences, decisions, and conventions via semantic similarity, with zero cloud dependencies and plug-and-play MCP integration for Claude Code.Apache 2.0
- AlicenseBqualityAmaintenancePersistent, local memory for AI coding agents that learns how you work, not just what you said. Supports Claude Code, Codex CLI, Cursor, and any MCP client.79285 PyPI78MIT