
Memori Mcp
io.github.MemoriLabs由 GitHub 账号 MemoriLabs 发布v1.0.0更新于 Oct 24, 2026
Memori MCP server — persistent AI memory with recall and augmentation tools
概览
Memori 官方 MCP 服务器,为 AI 助手提供持久长期记忆:召回事实、保存偏好,并在跨会话时恢复状态。
- 可以做什么
- 在用户每轮对话开始时召回相关记忆,并获取用于简报或项目概览的整体状态摘要
- 在上下文压缩后获取结构化的恢复简报,让助手继续原有工作
- 在回复后把用户消息与助手回复中的持久信息写入记忆
- 对无关、缺失、过期或特别有用的记忆行为提交反馈
- 查询记忆用量与配额,并在用户明确要求时申请账号或 API 密钥
- 适用场景
- 适合希望智能体跨会话、跨工作流记住偏好、决策与结果的场景,无需把大量上下文塞进提示词;前提是你接受把这些记忆存放在 Memori 云端。
- 运行要求
- 以本地 stdio 进程运行(npm 包 @memorilabs/memori-mcp),仅限桌面端。需要 MEMORI_API_KEY 中的 Memori 云端 API 密钥、用于标识最终用户的实体 ID,以及可选的智能体或工作流进程 ID。需要能访问 Memori API 端点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Memori Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Memori MCP
Persistent AI memory for any MCP-compatible agent — no SDK required.
memori-mcp is the official Memori MCP server. Connect it to your AI agent to give it long-term memory: recall relevant facts, retrieve broad state summaries, restore working state after context compaction, store durable preferences after responding, and maintain context across sessions.
Why Memori MCP?
Memori turns stateless agents into stateful systems by providing structured, persistent memory that works across sessions and workflows.
- Persistent state beyond prompts — Most agents rely on prompt context and lose state between runs. Memori provides durable, structured memory so agents can retain facts, decisions, and outcomes over time.
- Memory from execution (not just natural language) — Traditional systems extract memory from chat. Memori builds memory from agent execution itself — including tool calls, decisions, and results. This enables true agent-native memory, not just conversational recall.
- Lower cost, higher accuracy — Instead of expanding prompt context, Memori retrieves only what matters.
- Significantly reduced token usage
- Faster responses
- Improved accuracy vs long-context approaches
- Works with any MCP client and production-ready - No SDK, no code changes, just config
Memori is state infrastructure for production agents — enabling persistent memory, efficient retrieval, and structured context across both natural language and agent execution.
LoCoMo Benchmark
Memori was evaluated on the LoCoMo benchmark for long-conversation memory and achieved 81.95% overall accuracy while using an average of 1,294 tokens per query. That is just 4.97% of the full-context footprint, showing that structured memory can preserve reasoning quality without forcing large prompts into every request.
Compared with other retrieval-based memory systems, Memori outperformed Zep, LangMem, and Mem0 while reducing prompt size by roughly 67% vs. Zep and lowering context cost by more than 20x vs. full-context prompting.
Read the benchmark overview or download the paper.
How It Works
The server exposes seven tools:
Example Agent Flow
Given the user message: "I prefer Python and use uv for dependency management."
- Agent calls
memori_recallwith the user message asquery - Agent composes a response using any returned facts
- Agent sends the response to the user
- Agent calls
memori_advanced_augmentationwith theuser_messageandassistant_response
On a later turn like "Write a hello world script", the agent recalls the Python + uv preference and personalizes its response.
Prerequisites
- A Memori API key from app.memorilabs.ai
- An
entity_idto identify the end user (e.g.user_123) - An optional
process_idto identify the agent or workflow (e.g.my_agent)
Export these in your shell or replace the placeholders directly in your config:
Server Details
Headers
session_id is derived automatically as <entity_id>-<UTC year-month-day:hour>. You do not need to provide it.
Verifying the Connection
After configuring your client, verify the setup:
- MCP server shows as connected and healthy in your client UI
- Tools list includes
memori_recall,memori_recall_summary,memori_compaction, andmemori_advanced_augmentation - Calls return non-401 responses
memori_recallreturns memories for known entitiesmemori_advanced_augmentationaccepts durable user/assistant turn data
If you receive 401 errors, double-check your X-Memori-API-Key value. See the Troubleshooting guide for more help.
Links
来源:README.md,提交 e02957d
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分