
modelcontextprotocol/server-memory
Knowledge graph-based persistent memory for maintaining context
by modelcontextprotocolOpen source
Description
Memory is a Model Context Protocol server that gives an assistant persistent memory, kept in a local knowledge graph. It lets a model remember information about the user across chats, and it is published on npm as @modelcontextprotocol/server-memory. The graph has three core concepts. Entities are the main nodes, each with a unique name, an entity type such as person, organization or event, and a list of observations. Relations are directed connections between entities, stored in active voice to describe how they relate. Observations are single facts attached to an entity, stored as strings, added or removed on their own, and kept atomic, with one fact each. The tools cover the graph. create_entities adds entities and skips names that already exist, and it reports the skipped names. create_relations adds connections and skips duplicates. add_observations extends an existing entity, delete_entities removes entities and their relations, and delete_observations removes specific facts. Deleting an entity that does not exist raises no error, and the response lists which names were not found. Because memory is stored on your machine, the graph stays with the server rather than in the chat. It is a useful base for an assistant that should recall people, projects and preferences over time, and the README describes how to configure it in an MCP client.…
Highlights
- Persistent memory in a local knowledge graph
- Entities, relations and atomic observations
- Tools to create, extend and delete graph data
- Skips duplicates and reports names it did not change
Ratings & Reviews
No ratings yet
Be the first to rate modelcontextprotocol/server-memory.
People also visit

agentic-mcp-tools/memora
Persistent memory with knowledge graph visualization, semantic/hybrid search

redleaves/context-keeper
LLM-driven context and memory management: short- and long-term memory

elvismdev/mem0-mcp-selfhosted
Self-hosted mem0 for Claude Code: Qdrant vector search, Neo4j knowledge graph
modelcontextprotocol/server-memory FAQ
What does the memory server store?
Entities with a name, a type and observations, plus directed relations between them, in a local knowledge graph.
Does it remember across chats?
Yes. The README says it lets Claude remember information about the user across chats.
What happens with duplicate names?
create_entities ignores entities that already exist, and create_relations skips duplicate relations.
How do I install it?
It is published on npm as @modelcontextprotocol/server-memory, and the README describes configuring it in an MCP client.
What are the best modelcontextprotocol/server-memory alternatives?
Popular alternatives to modelcontextprotocol/server-memory include agentic-mcp-tools/memora, pomazanbohdan/memory-mcp-1file and tstockham96/engram. See all modelcontextprotocol/server-memory alternatives



















