Memory MCP alternatives
The Memory reference server is where most people meet agent memory: Anthropic's implementation in the official MCP servers repository, a knowledge graph of entities, relations and observations kept in one JSONL file, with nine tools such as create_entities, add_observations and search_nodes. It shows the pattern clearly, and it is deliberately minimal. The graph lives on one machine, it is written only when the agent decides to write it, and search_nodes matches strings rather than meaning.
People look past it when they need memory that holds up across real work: search that understands a question, memory that more than one person's agent can read, or facts that don't depend on the agent remembering to save them. The servers below are the agent memory MCPs worth weighing, with Glen first because it answers all three.
The 9 best alternatives
- GlenOur pick
Team memory that records itself, instead of a graph the agent has to fill
The reference server only knows what the agent writes into it, one create_entities call at a time, and it lives on one machine. Glen records every session your team runs plus Slack, GitHub and tickets, and hands each agent one cited answer from all of it.
Recorded automaticallyClaude CodeCodexCursorSlackGitHubLinearNotionCall transcriptsOne memory for your orgSourced, permissioned per fact, newer decisions winEvery teammate's agentClaude CodeCodexCursorGets one cited answer, injected into the session before it goes looking.29%fewer tokens across 100 replayed PRs21%faster, measured end to endParity+quality on withheld testsMemoryGlenWho writes memoryThe agent, via create_entitiesRecorded from every session and toolWho can read itOne machine's JSONL fileYour whole org, permissions per factWhat the agent getsNodes matching a substringOne cited answer, injected in-sessionWhat you runA local npx processNothing: hosted, OAuth 2.1 The closest to Glen in mechanism: claude-mem records sessions through hooks in Claude Code, Codex, Cursor and others, compresses tool use into observations with an observer model, and injects context when a session starts. The difference is scope. Memory lives in SQLite on one machine, grouped by project, and TeamBrain, its sharing feature, was a pilot with no public pricing when we checked. It is good memory for one developer, and your teammates' agents never see any of it.
Set up claude-mem →Mem0 runs an LLM over whatever the agent passes to add_memory, extracts discrete memories, and returns them through semantic search from a hosted endpoint at mcp.mem0.ai. It is built for per-user memory inside an application: every memory hangs off a user_id, agent_id or run_id, nothing is written unless the agent decides to call add_memory, and search hands back matching memories rather than an answer with sources. The self-run mem0-mcp package is archived and Mem0's OpenMemory was sunset in July 2026, so the hosted server is the only maintained route.
Set up Mem0 →MemPalace keeps conversations and files verbatim, without summarizing, and files each piece into wings and rooms so a search can be scoped to one person or project; ChromaDB with local embeddings does retrieval, and a SQLite graph tracks facts with validity windows. Hooks for Claude Code, Codex and Cursor save sessions automatically. A palace lives on one machine unless you run your own HTTP hub, search returns raw drawers for the agent to read rather than an answer, and its 47 tool definitions sit in every session's context window.
Set up MemPalace →Cognee runs an LLM pipeline over what it is given, extracting entities and relationships into a knowledge graph beside vector embeddings, and recall picks among graph, RAG, temporal and Cypher strategies. It runs locally on SQLite, LanceDB and an embedded graph and needs your own LLM key. Each MCP client writes to its own dataset by default, so Claude Code and Cursor on one machine don't share memory unless you change COGNEE_MCP_AGENT_SCOPED, and nothing is stored until the agent calls remember.
Set up Cognee →Graphiti, the open-source library under Zep's commercial product, is the most careful about time of anything on this list: facts are graph edges with validity timestamps, and a newer episode that contradicts an older fact invalidates it. You run it yourself on FalkorDB or Neo4j with your own LLM and embedding keys, and the README calls the MCP server a reference implementation with no authentication, so anyone who reaches the port can read or clear the whole graph. Episodes still arrive only when the agent calls add_memory.
Set up Zep Graphiti →Supermemory's hosted server turns content the agent saves into documents, extracts memories from them asynchronously, and returns matches with a similarity score and the source document's ID. Spaces partition memory per project or user, and clients with MCP Apps support get a space picker and an interactive memory graph. Through this server, memory enters when the agent or the user calls a save tool, so what a space holds is whatever someone remembered to store.
Set up Supermemory →ByteRover keeps project knowledge as topic files in a .brv/context-tree directory inside the repository, with git-style branches and merges and optional cloud sync for a team. Its MCP server is deliberately small: brv-query runs BM25 over the tree and brv-curate saves a topic the agent wrote. Knowledge enters only when an agent or a person curates it, so the tree holds what someone chose to document, which is the AGENTS.md problem with better tooling.
Set up ByteRover →LongMemory, the CaviraOSS project published until recently as OpenMemory and unrelated to Mem0's product of that name, sorts memories into five sectors that decay at different rates and links them through a waypoint graph. It is six tools over a local SQLite file, with a user_id on each call to keep users apart. It records only what the agent chooses to store, and the team-aware rewrite on its main branch was not on npm when we checked.
Set up LongMemory (formerly OpenMemory) →
How to choose
If you want to learn how agent memory works, the Memory reference server is still the clearest example, and a local file is fine for one person's experiments. For memory that reaches a team, Glen is the pick: it records every session and connected tool without anyone calling a save tool, shares one memory across the organization with per-observation permissions, and returns a cited answer instead of a list of nodes. Among the rest, claude-mem and MemPalace record sessions automatically but keep memory on one machine; Mem0 and Supermemory are hosted memory APIs for apps you build; Graphiti and Cognee are knowledge-graph engines you operate yourself; ByteRover and Basic Memory store what someone chose to write down.
FAQ
- What is the best alternative to the Memory MCP server?
- For a team of developers running coding agents, Glen: it records sessions and connected tools automatically, shares memory across the organization, and returns a cited answer. For one person who wants local, automatic session memory, claude-mem. For adding per-user memory to an app you are building, Mem0 or Supermemory.
- Does the Memory reference server share memory between users?
- No. It writes a JSONL file on the machine that runs it. Two developers get two separate graphs unless they share a file path, and nothing controls who can read what.
- Why not just keep using a local knowledge graph?
- A graph is only as good as what gets written into it, and with the reference server that depends on the agent calling create_entities and add_observations at the right moments. Memory that is recorded from every session, and reconciled when decisions change, holds far more of what the next agent actually needs.
- Is Glen open source or self-hosted?
- No. Glen is a managed service with a remote MCP server at https://mcp.tryglen.com/mcp. If you need memory that never leaves your machine, Basic Memory, MemPalace and MCP Memory Service are the self-hosted options on this page.










