Best MCP Servers for AI Memory & Context
Top MCP servers for persistent memory, sequential reasoning, and context management. Make AI agents smarter.
20 servers · Updated 2026 · From 2805 reviewed
Top Picks
Cognitive memory for AI agents with Hebbian learning, 3-tier architecture, and knowledge graphs. Single ~15MB binary, runs offline on edge devices.
Git-native project memory for AI assistants with enterprise-grade audit compliance
Compatibility
Install
Claude Code
claude mcp add memdocs -- uvx memdocsProduction-ready RAG platform combining Graph RAG, vector search, and full-text search. Best choice for building your own Knowledge Graph and for Context Engineering
All AI Memory & Context Servers
Codebase Memory
VerifiedPersistent codebase knowledge graph. Survives session restarts and context compaction.
Rust Docs MCP Server
VerifiedProvides up-to-date documentation context for a specific Rust crate to LLMs via an MCP tool, using semantic search (embeddings) and LLM summarization.
MCP Ragdocs
VerifiedAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context
Mengram
VerifiedHuman-like memory layer for AI agents with semantic, episodic, and procedural memory. Claude Code hooks (auto-save, auto-recall, cognitive profile). 29 MCP tools, knowledge graph, smart triggers, multi-user isolation. Python & JS SDKs.
Ragieai MCP Server
VerifiedRetrieve context from your Ragie (RAG) knowledge base connected to integrations like Google Drive, Notion, JIRA and more.
Ldclabs MCP Server
VerifiedKnowledge Graphs to enable memory persistence, knowledge evolution, explainable interaction.
Omega Memory
VerifiedPersistent memory for AI coding agents with semantic search, auto-capture, cross-session learning, and intelligent forgetting. 12 MCP tools, local-first.
Core
VerifiedPersistent memory for AI coding agents. #1 on LongMemEval. Local-first.
Mnemex
VerifiedTemporal memory for AI with decay and reinforcement. Two-layer storage (JSONL + Markdown).
Engram
VerifiedIntelligent agent memory with semantic recall, automatic consolidation, contradiction detection, and bi-temporal knowledge graph. 80% on LOCOMO benchmark using 96% fewer tokens than full-context approaches.
Documentation Extractor
VerifiedExtract llms.txt from any docs site - Mintlify Docusaurus GitBook parser
Neverinfamous Memory Journal MCP
VerifiedA MCP server built for developers enabling Git based project management with project and personal…
Remembra
VerifiedPersistent memory layer for AI agents with entity resolution, PII detection, AES-256-GCM encryption at rest, and hybrid search. 100% on LoCoMo benchmark. Self-hosted.
Connapse
VerifiedSelf-hosted knowledge backend for AI agents with hybrid vector + keyword search, container-isolated indexes, and 11 MCP tools. .NET, Docker-ready.
Cogmemai MCP
VerifiedPersistent cognitive memory for Claude Code. Cloud-first with semantic search, AI-powered extraction, and project scoping. Zero local databases.
MCP Context Server
VerifiedAn MCP server that provides persistent multimodal context storage for LLM agents.
Context7
VerifiedUp-to-date code documentation for LLMs and AI code editors.
FAQ
What are the best MCP servers for AI Memory & Context?
We reviewed 2805 MCP servers and selected 20 top picks for AI Memory & Context. Our top recommendation is Shodh Memory.
How do I install these MCP servers?
Each server page includes one-click install commands for Claude Code, Cursor, and VS Code. Click on any server above to see its install instructions.
Are these MCP servers safe to use?
Every server in our directory is safety-rated. Look for the safety badge on each server card — green means verified safe, yellow means use with caution.
Browse Other Topics
Not sure where to start?
Try a Starter Pack — pre-built server collections for common roles.
Browse Starter Packs