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.

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens.

Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. REST API + knowledge graph + autonomous consolidation.

Decision audit trail + persistent memory for AI trading agents. Outcome-weighted recall, tamper-evident SHA-256 chain with RFC 3161 anchoring, 20 MCP tools.

A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to Vector RAG and amnesia.

A Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure.

Biologically-inspired memory for AI agents. Decay, retrieval strengthening, consolidation. Zero runtime deps, SQLite, MCP. Benchmarked retrieval with an opt-in TypeSafe Jev reranker.

AtomicMemory gives agents durable context across sessions without coupling your application to one model, framework, or deployment.

marm-memory v2.60.1 - Give your AI Agents a permanent memory in 60 seconds

MemoryMesh is an MCP server that gives AI models a structured, long-term memory in the form of a knowledge graph.

— codebase-memory-mcp-pro is a community fork of (MIT License, © 2025 DeusData), maintained by @win4r.

Installing MCPs is a huge pain, so I made a CLI tool to make it easier.
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.