Best Memory MCP Servers in 2026
By default every agent conversation starts from zero. Memory MCP servers persist facts, preferences, and project context across sessions — from the official knowledge-graph server to vector-store-backed options with semantic recall.
The trade-off to compare below: simple file-based stores are transparent and easy to inspect, while embedding-based retrieval scales better but is harder to audit. Each detail page describes the storage model.

高性能代码智能MCP服务器。将代码库索引为持久知识图谱——平均仓库以毫秒计。158种语言,子MS查询,令牌数减少99%。

为AI代理管道(LangGraph、CrewAI、AutoGen)和Claude提供开源持久内存。REST API + 知识图谱 + 自治整合。

为AI交易代理提供决策审计轨迹+持久内存。结果加权召回,带有RFC 3161锚定的防篡改SHA-256链,20个MCP工具。

一个轻量级、可回滚且可视化的MCP代理长期记忆服务器。告别矢量RAG和失忆。

一个基于Cline内存银行管理的模型上下文协议(MCP)服务器实现,灵感来自Cline内存银行。

为AI编码代理提供Git原生的持久内存。实现了Google OKF v0.2,内存内搜索速度低于300微秒的BM25,嵌入式MCP服务器和渐进披露。

为人工智能智能体设计的生物启发记忆。衰变、检索强化、巩固。零运行时DEPS,SQLite,MCP。基于选择加入TypeSafe Jev重排序器的基准检索。

atomicstrata/atomicmemory 是一个从 https://github.com/atomicstrata/atomicmemory. 导入的 MCP 服务器候选

lyellr88/marm-memory 是从 https://github.com/lyellr88/marm-memory. 导入的 MCP 服务器候选

chemiguel23/memorymesh 是从 https://github.com/chemiguel23/memorymesh. 导入的 MCP 服务器候选

win4r/codebase-memory-mcp-pro 是从 https://github.com/win4r/codebase-memory-mcp-pro. 导入的 MCP 服务器候选

supermemoryai/install-mcp 是从 https://github.com/supermemoryai/install-mcp. 导入的 MCP 服务器候选。
FAQ
What does a memory server actually store?
Whatever the agent decides to record: user preferences, project conventions, decisions made in earlier sessions. The official server uses an entity-relation knowledge graph; alternatives use key-value or vector stores.
Where does the data live?
Almost all options below store locally — a JSON file or a local database. Check the detail page if you want the memory shared across machines; that usually means pointing the server at a hosted store.
Can memory leak between projects?
Yes, if you run one global memory store. A practical pattern is one memory server instance per project, configured with a project-specific storage path in each workspace's MCP config.