Memori MCP logo

Memori MCP

Memori MCP server — persistent AI memory with recall and augmentation tools

Install Memori MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "memori-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@memorilabs/memori-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio memori-mcp -- npx -y @memorilabs/memori-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y @memorilabs/memori-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Tools2

What Memori MCP lets your agent do. Expand a tool for its parameters.

Verified live~192 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/30 checks healthy over the last 117d

What it can do

From the 2 tools this server returned when we ran it.

Makes network requests · 1Read-only tools · 2
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age217 days
Maintainers1

Observed 2026-10-29 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1d ago via OSV.dev · @memorilabs/memori-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads202Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed2Callable tools this server registers over MCP.

From the project 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.

  1. 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.
  2. 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.
  3. 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
  4. 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:

ToolWhen to callWhat it does
memori_recallStart of each user turnFetches relevant memories at the start of a user turn
memori_recall_summarySession starts, daily briefs, status updates, project overviewsFetches broad memory state for session starts, daily briefs, status updates, and project overviews
memori_compactionAfter context compactionFetches a structured post-compaction brief so an agent can resume operational work
memori_advanced_augmentationAfter composing a responseStores durable memory after the agent has drafted a response
memori_feedbackWhen the user flags a memory issue or praises a resultReports irrelevant, missing, stale, or especially useful memory behavior
memori_signupWhen the user explicitly asks and provides an emailRequests a Memori account/API key when the user explicitly asks
memori_quotaWhen the user asks about usage or quota errors appearChecks current memory usage and limits when the user asks or quota errors appear

Example Agent Flow

Given the user message: "I prefer Python and use uv for dependency management."

  1. Agent calls memori_recall with the user message as query
  2. Agent composes a response using any returned facts
  3. Agent sends the response to the user
  4. Agent calls memori_advanced_augmentation with the user_message and assistant_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_id to identify the end user (e.g. user_123)
  • An optional process_id to identify the agent or workflow (e.g. my_agent)

Export these in your shell or replace the placeholders directly in your config:

server.ts
export MEMORI_API_KEY="your-memori-api-key"
export MEMORI_ENTITY_ID="user_123"
export MEMORI_PROCESS_ID="my_agent"   # optional

Server Details

PropertyValue
ServerMemori MCP
Endpointhttps://api.memorilabs.ai/mcp/
TransportStateless HTTP
AuthAPI key via request headers

Headers

HeaderRequiredDescription
X-Memori-API-KeyYesYour Memori API key from app.memorilabs.ai
X-Memori-Entity-IdYesStable end-user or entity identifier (e.g. user_123)
X-Memori-Process-IdNoOptional process, app, or workflow identifier (e.g. my_agent) for memory isolation

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, and memori_advanced_augmentation
  • Calls return non-401 responses
  • memori_recall returns memories for known entities
  • memori_advanced_augmentation accepts 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

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Memori MCP

memori-mcp is an MCP server that connects MCP-compatible agents to Memori’s persistent memory capabilities. It provides tools for recalling relevant facts, retrieving broad memory summaries, restoring working state after context compaction, storing durable memories, reporting feedback, requesting signup, and checking quota. It works without an SDK or code changes.

memori-mcp provides seven tools: memori_recall, memori_recall_summary, memori_compaction, memori_advanced_augmentation, memori_feedback, memori_signup, and memori_quota. They support memory retrieval, summaries, post-compaction recovery, durable memory storage, feedback, account signup, and quota checks.

memori-mcp uses the memori_compaction tool to fetch a structured post-compaction brief, helping an agent restore its working state and resume operational work after context has been compacted.

memori-mcp does not require an SDK or code changes; it is designed to connect to any MCP-compatible client through configuration.

You need a Memori API key from app.memorilabs.ai to use memori-mcp.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMemori MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/memori-mcp?style=directory)](https://allmcps.com/mcp/memori-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/memori-mcp"><img src="https://allmcps.com/api/badge/memori-mcp?style=directory" alt="Memori MCP on AllMCPs" /></a>