Skip to content

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

#1 Shodh Memory Verified
161 stars

Cognitive memory for AI agents with Hebbian learning, 3-tier architecture, and knowledge graphs. Single ~15MB binary, runs offline on edge devices.

#2 Memdocs Verified
1 stars

Git-native project memory for AI assistants with enterprise-grade audit compliance

Compatibility

Claude CodeFull support
Tested
CursorFull support
Tested
VS CodeFull support via Copilot
Tested
WindsurfFull support
Tested
Claude DesktopFull support
Tested

Install

Claude Code

claude mcp add memdocs -- uvx memdocs
#3 ApeRAG Verified
1,068 stars

Production-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

Verified
by DeusData

Persistent codebase knowledge graph. Survives session restarts and context compaction.

ai memory C stdio
687
View

Rust Docs MCP Server

Verified
by Govcraft

Provides up-to-date documentation context for a specific Rust crate to LLMs via an MCP tool, using semantic search (embeddings) and LLM summarization.

documentation Rust stdio
262
View

MCP Ragdocs

Verified
by hannesrudolph

An 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

ai memory TypeScript stdio
256
View

Mengram

Verified
by alibaizhanov

Human-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.

ai memory Python stdio
108
View

Ragieai MCP Server

Verified
by ragieai

Retrieve context from your Ragie (RAG) knowledge base connected to integrations like Google Drive, Notion, JIRA and more.

ai memory JavaScript stdio
87
View

Ldclabs MCP Server

Verified
by ldclabs

Knowledge Graphs to enable memory persistence, knowledge evolution, explainable interaction.

ai memory Python stdio
56
View

Omega Memory

Verified
by omega-memory

Persistent memory for AI coding agents with semantic search, auto-capture, cross-session learning, and intelligent forgetting. 12 MCP tools, local-first.

ai memory Python stdio
41
View

Core

Verified
by omega-memory

Persistent memory for AI coding agents. #1 on LongMemEval. Local-first.

ai memory Python stdio
41
View

Mnemex

Verified
by prefrontal-systems

Temporal memory for AI with decay and reinforcement. Two-layer storage (JSONL + Markdown).

ai memory HTML stdio
29
View

Engram

Verified
by tstockham96

Intelligent 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.

ai memory TypeScript stdio
27
View

Documentation Extractor

Verified
by nirholas

Extract llms.txt from any docs site - Mintlify Docusaurus GitBook parser

documentation TypeScript stdio
15
View

Neverinfamous Memory Journal MCP

Verified
by neverinfamous

A MCP server built for developers enabling Git based project management with project and personal…

ai memory TypeScript stdio
11
View

Remembra

Verified
by remembra-ai

Persistent 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.

ai memory HTML stdio
6
View

Connapse

Verified
by Destrayon

Self-hosted knowledge backend for AI agents with hybrid vector + keyword search, container-isolated indexes, and 11 MCP tools. .NET, Docker-ready.

ai memory C# stdio
4
View

Cogmemai MCP

Verified
by hifriendbot

Persistent cognitive memory for Claude Code. Cloud-first with semantic search, AI-powered extraction, and project scoping. Zero local databases.

ai memory TypeScript stdio
3
View

MCP Context Server

Verified
by alex-feel

An MCP server that provides persistent multimodal context storage for LLM agents.

ai memory Python stdio
3
View

Context7

Verified
by upstash

Up-to-date code documentation for LLMs and AI code editors.

ai memory TypeScript stdio
49.3k 2 tools
View

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