Self-hosted alternatives to modelcontextprotocol/server-memory
200 self-hosted apps like modelcontextprotocol/server-memory, closest match first.
Top picks
- B

Basic Memory
LaunchOne knowledge base for you, your AI tools, and your team. Your chats, docs, decisions, and research, connected in a living knowledge graph. Plain Markdown you control. Open source, MCP-native, works with every AI.
Open sourceSelf-hosted
- G
GrayMatter
LaunchGrayMatter gives AI agents persistent memory. It ships as a single binary of about 10 MB that you install without Docker, a database server, config files or a cloud account. It works as a general-purpose MCP server with Claude Code, Cursor,
Open sourceSelf-hosted
- M
Mnemory
LaunchA self-hosted, secure, feature-rich memory system for AI agents and assistants. Provides intelligent fact extraction and deduplication, with an artifact store for detailed content.
Open sourceSelf-hosted
- D

Deepmem
LaunchDeepMem is a Mem0-compatible memory-as-a-service: 10× cheaper, 2× faster, sub-50ms p95 latency. Generous free tier, no card. Swap your endpoint URL and switch in 5 minutes.
Open sourceSelf-hosted
- S

SignetAI
LaunchSignet is a local-first memory and secrets layer for AI agents. The site says it gives Claude Code, Codex, OpenCode, OpenClaw, Hermes Agent, Gemini CLI, Pi, Oh My Pi, ForgeCode, Kimi CLI and Muse Code one shared context, including identity
Open sourceSelf-hosted
- M
Marm Memory
LaunchLocal-first 3-in-1 AI memory layer & MCP server for Claude Code, Codex, Grok, Gemini, VS Code and Cursor. Fuses session history, codebase indexing & concept graphs in SQLite. Enables zero-cloud, privacy-first context & instant recall, suppo
Open sourceSelf-hosted
More like modelcontextprotocol/server-memory
About modelcontextprotocol/server-memory

modelcontextprotocol/server-memory
Knowledge graph-based persistent memory for maintaining context
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.
- Price
- Open source
- Made by
- modelcontextprotocol
- Category
- AI Skills
- Website
- github.com/modelcontextprotocol/servers/memory


