Best Agent memory MCP servers

Agent memory MCP servers give a model somewhere to keep what it learns between sessions, and a way to pull the right part of it back into the context window when a task needs it. They are the cross-session layer of context engineering: the window holds one session, and memory decides what the next session starts with.

The servers here split on three questions. Who writes the memory: the agent, by deciding to call an add or save tool, or a recorder that captures every session without anyone choosing to. Who can read it: one user on one machine, one app's end users, or a whole team with permissions per fact. And what comes back: raw matching chunks for the model to sort through, or an answer with sources. Local servers such as the Memory reference server, Basic Memory and claude-mem keep files or a database on your machine. Memory APIs such as Mem0, Supermemory and Zep's Graphiti store what your agent or app sends them. Glen records a team's agent sessions, Slack, GitHub and tickets into one org-wide memory and returns a cited answer, with newer decisions superseding older ones.

14 servers

Glen

Official

Shared memory for a team's coding agents: recorded sessions, Slack, GitHub and tickets, recalled with a source on every claim.

agent-memory

Alex Newman (thedotmack)

Official

claude-mem's MCP server searches the observations its hooks record from your agent sessions, stored locally in SQLite with FTS5 and a Chroma index.

agent-memory115,847

Anthropic (reference)

Official

Reference MCP server giving an agent a persistent local knowledge graph of entities, relations, and observations.

dev-tools86,581

Mem0

Official

Mem0's hosted MCP server: add, search, update, and delete long-term memories in your Mem0 Platform account, scoped by user, agent, app, or run.

agent-memory68,772

MemPalace

Official

Local MCP server that files conversation history and project files verbatim into wings, rooms and drawers, then searches them semantically.

agent-memory60,509

Topoteretes (Cognee)

Official

Cognee's MCP server: remember, recall and forget over a knowledge graph built from text, files and code, plus a code-graph search tool.

agent-memory33,231

Zep

Official

Zep's self-hosted Graphiti MCP server: turn episodes into a temporal knowledge graph of entities and facts, then search it from any MCP client.

agent-memory32,722

Supermemory

Official

Supermemory's hosted MCP server: save documents, search extracted memories, and read a profile per space, over OAuth at mcp.supermemory.ai.

agent-memory31,588

ByteRover

Official

ByteRover's brv mcp server: query and curate a project's context tree, versioned topic files in .brv/context-tree/, with no LLM call in either tool.

agent-memory4,944

CaviraOSS

Official

CaviraOSS's self-hosted memory engine, formerly OpenMemory: sector-classified memories with decay, plus a temporal fact graph, over stdio or HTTP MCP.

agent-memory4,573

Basic Machines

Official

An MCP server over a folder of Markdown notes that you and the agent both edit, indexed in SQLite for hybrid full-text and vector search.

agent-memory4,549

doobidoo (Henry Krupp)

Official

Self-hosted Python memory server with hybrid vector and BM25 search, an entity graph, scheduled consolidation, and an OAuth-protected remote mode.

agent-memory2,111

Oculair Media (community)

Community

Community MCP server for Letta: manage stateful Letta agents, their memory blocks, archival passages, tools, and sources from any MCP client.

agent-memory80

Pieces

Official

Local MCP endpoint in PiecesOS that lets an agent query Pieces Long-Term Memory: captured screen, clipboard and audio activity on one machine.

agent-memory