Best MCP servers for long-term memory (2026)
These are the 30 most popular open-source MCP servers for long-term memory, ranked by GitHub stars. Each one links to a page with repository details, install configs where available, and related servers.
- Memory (official) Official – Knowledge graph-based persistent memory system.
- ruflo ★74702 – 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conver
- codebase-memory-mcp ★46608 – High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in mil
- context-mode ★29252 – Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and
- osaurus ★8048 – Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cryptographic
- x64dbg-mcp-server ★2506 – x64dbg-MCP Server is a native MCP (Model Context Protocol) plugin for x64dbg that exposes the debugger's full functional
- mcp-memory-service ★2014 – Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. REST API + knowledge graph
- cheatengine-mcp-bridge ★1644 – Connect your favorite AI agents directly to Cheat Engine via MCP. Automate reverse engineering, pointer scanning, and me
- aoci-code ★1551 – A persistent, Git-versioned map of your whole codebase and database schema that coding agents read before they touch any
- rocketmq-rust ★1528 – 🚀 Apache RocketMQ built in Rust 🦀 — faster, safer, and more memory-efficient. Powering high-performance messaging for
- tradememory-protocol ★1430 – Decision audit trail + persistent memory for AI trading agents. Outcome-weighted recall, tamper-evident SHA-256 chain wi
- nocturne_memory ★1391 – A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to Vector RAG and amnesia. E
- PrismerCloud ★1386 – Prismer Cloud
- deja-vu ★1201 – Coding agent memory for Claude Code, Codex, Cursor and 39 more, built from the session history already on your disk. Loc
- agentrq ★1155 – AgentRQ: Human-in-loop realtime conversational task manager for AI Agents. Self-hosted! Control your own agents from whe
- memory-bank-mcp ★920 – A Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.
- AgentChat ★916 – AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP
- iai-personal-memory-engine ★908 – A cyber brain for your AI. It never forgets a detail, remembers exactly what you said, and learns how you work over time
- NornicDB ★905 – Nornicdb is a distributed low-latency, Graph+Vector, Temporal MVCC with all sub-ms HNSW search, graph traversal, and wri
- projectmem ★865 – Open-source coding agents memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats
- memorix ★840 – Open-source cross-agent memory layer for coding agents via MCP. Compatible with Claude Code, Codex, Cursor, Windsurf, Ge
- Wax ★804 – Shared Single-file memory layer for all your agents, sub mili-second RAG over text, photo and video on Apple Silicon.. N
- okf-agent-memory ★795 – Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embe
- hippo-memory ★779 – Stop re-teaching your agent. Make your agent's memory work like a brain. Hippo is long-term memory for coding agents. It
- storybloq ★772 – Project memory and workflows for Claude Code and Codex. Keep stories, plans, handovers, and review evidence in your repo
- memora ★740 – Give your AI agents persistent, collective memory — with deduplicating absorb, supersession lineage, semantic search, an
- MegaMemory ★724 – Persistent project knowledge graph for coding agents. MCP server with semantic search, in-process embeddings, and web ex
- swarmvault ★717 – The local-first LLM Wiki: open-source knowledge graph builder, RAG knowledge base, and agent memory store. Built on Andr
- metaharness ★702 – 🛠️ The meta-harness for AI agents — scaffold your own focused, branded agent harness with its own npx CLI, MCP server,
- swarmclaw ★690 – Open-source self-hosted AI agent runtime and multi-agent framework for autonomous agent swarms. Agent memory, MCP tools,
Frequently asked questions
What is an MCP server for long-term memory?
An MCP (Model Context Protocol) server connects AI assistants such as Claude, Cursor or GitHub Copilot in VS Code to external tools and data. The servers on this page are focused on long-term memory.
How is this list ranked?
By GitHub stars and recent activity, using public repository data refreshed on October 15, 2026.
How do I install one?
Most servers are added to your client’s MCP config file as an npx, uvx or Docker command. Our install guides for Claude Desktop, Cursor and VS Code walk through it step by step.
Related guides
- How to install MCP servers in Claude Desktop (step by step)
- How to install MCP servers in Cursor (mcp.json guide)
- How to use MCP servers in VS Code with GitHub Copilot
Weekly MCP digest – new and trending MCP servers in your inbox.