
Memori Mcp
io.github.MemoriLabsPublished by GitHub account MemoriLabsv1.0.0Updated Oct 24, 2026
Memori MCP server — persistent AI memory with recall and augmentation tools
Overview
Official Memori MCP server that gives an AI assistant persistent long-term memory: recall facts, store durable preferences, and resume state across sessions.
- What you can do
- Recall relevant memories at the start of a user turn and fetch broad state summaries for briefs or project overviews
- Retrieve a structured post-compaction brief so the assistant can resume work after context compaction
- Store durable memory from a user message and assistant response after replying
- Report feedback on irrelevant, missing, stale or useful memory behavior
- Check memory usage and quota, and request an account or API key when the user explicitly asks
- When to use it
- Worth adding when you want an agent to remember preferences, decisions and outcomes across sessions or workflows without expanding the prompt context, and when you are comfortable keeping that memory in Memori Cloud.
- Requirements
- Runs as a local stdio process (npm package @memorilabs/memori-mcp) on desktop. Needs a Memori Cloud API key in MEMORI_API_KEY, an entity identifier for the end user, and optionally a process identifier for the agent or workflow. Network access to the Memori API endpoint is required.
Installation
In SourceWeft
- Open Memori Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit e02957d
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts