Best Memory MCP servers

Persistent memory so your assistant remembers preferences, projects and facts across conversations — from simple JSON stores to knowledge graphs. We compared 54 Memory MCP servers — 46 updated in the last 90 days, 12 with one-click install — ranked by relevance and GitHub stars.

Quick comparison

Top 12 by relevance. Status: maintained = commit in the last 90 days.

ServerStarsStatusUpdatedInstallAPI key
Memory (Knowledge Graph) (official reference server)modelcontextprotocol★ 91.2kMaintained3 days agoOne-clickNot mentioned
codebase-memory-mcpDeusData★ 46.5kMaintainedtodayOne-clickLikely
mcp-memory-servicedoobidoo★ 2kMaintainedtodayCommandNot mentioned
nocturne_memoryDataojitori★ 1.4kMaintained21 days agoCommandLikely
memory-bank-mcpalioshr★ 919Stale1 year agoOne-clickNot mentioned
okf-agent-memoryokf-memory★ 771MaintainedyesterdaySee READMELikely
marm-memoryLyellr88★ 420MaintainedyesterdayCommandLikely
MemoryMeshCheMiguel23★ 354Aging7 months agoSee READMENot mentioned
nanobotHKUDS★ 49kMaintainedtodaySee READMELikely
Graphitigetzep★ 31.7kMaintainedtodaySee READMELikely
context-modemksglu★ 27.9kMaintainedyesterdayCommandLikely
holaOSholaboss-ai★ 11.4kMaintained1 month agoSee READMELikely

All 54 Memory MCP servers

Showing all 54 servers

Memory (Knowledge Graph) (official reference server)

by modelcontextprotocol · TypeScript

Basic persistent memory using a local knowledge graph of entities, relations and observations, so the assistant can remember information about you across chats.

Memory & KnowledgeOfficialMaintained91.2k (repo)

codebase-memory-mcp

by DeusData · C

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. Single static binary, zero dependencies.

Developer ToolsMaintained46.5k

mcp-memory-service

by doobidoo · Python

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

Memory & KnowledgeMaintainedRemote2k

nocturne_memory

by Dataojitori · Python

A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to Vector RAG and amnesia. Empower your AI with persistent, graph-like structured memory across any model, session, or tool. Drop-in replacement for OpenClaw.

Memory & KnowledgeMaintainedRemote1.4k

memory-bank-mcp

by alioshr · TypeScript

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

Memory & KnowledgeStale919

okf-agent-memory

by okf-memory · Go

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. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

Memory & KnowledgeMaintained771

marm-memory

by Lyellr88 · Python

Local-first 3-in-1 AI memory layer & MCP server for Claude Code, Codex, Grok, Gemini, VS Code and Cursor. Fuses session history, codebase indexing & concept graphs in SQLite. Enables zero-cloud, privacy-first context & instant recall, supports multi-agent swarms.

Developer ToolsMaintainedRemote420

MemoryMesh

by CheMiguel23 · TypeScript

A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.

Memory & KnowledgeAging354

nanobot

by HKUDS · Python

Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps

Agents & OrchestrationMaintainedRemote49k

Graphiti

by getzep · Python

Real-time temporal knowledge graphs for AI agents, with an MCP server that gives assistants long-term graph memory.

Memory & KnowledgeMaintained31.7k

context-mode

by mksglu · TypeScript

Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.

Memory & KnowledgeMaintained27.9k

holaOS

by holaboss-ai · TypeScript

Open-source agentic workspace enterprises can make their own. Connect the systems you already run — 100+ integrations, MCP, chat tools, apps, browser, local files — with shared memory. Any agent (Claude Code, Codex), any model, or BYOK. Set up in clicks, not months. Local-first: your data never leaves your machines.

Agents & OrchestrationMaintained11.4k

gentle-ai

by Gentleman-Programming · Go

Gentle-AI configures the AI coding agents you already use: Claude Code, Cursor, OpenCode, Codex, Pi, and more. Choose persistent memory, Organic-Driven Development, curated skills, MCP servers, personas, and optional bounded review. Open source, no agent lock-in.

Developer ToolsMaintained7.7k

engram

by Gentleman-Programming · Go

Persistent memory system for AI coding agents. Agent-agnostic Go binary with SQLite + FTS5, MCP server, HTTP API, CLI, and TUI.

Memory & KnowledgeMaintained7.2k

moltis

by moltis-org · Rust

A secure persistent personal agent server in Rust. One binary, sandboxed execution, multi-provider LLMs, voice, memory, Telegram, WhatsApp, Discord, Teams, and MCP tools. Secure by design, runs on your hardware.

Agents & OrchestrationMaintainedRemote2.9k

x64dbg-mcp-server

by duty1g · Zig

x64dbg-MCP Server is a native MCP (Model Context Protocol) plugin for x64dbg that exposes the debugger's full functionality over HTTP. Connect any MCP-compatible AI assistant and control x64dbg programmatically: set breakpoints, step through code, read memory, dump registers, and more. Built with Zig — zero dependencies, single-binary output, cros

SecurityMaintainedRemote2.5k

agentset

by agentset-ai · TypeScript

The open-source RAG platform: built-in citations, deep research, 22+ file formats, partitions, MCP server, and more.

Memory & KnowledgeMaintained2.1k

jarvis

by isair · Python

Private local AI assistant for your desktop. Voice and text chat, personal memory, dictation and MCP tools. Runs offline with Ollama or OpenAI-compatible servers on macOS, Windows and Linux.

Agents & OrchestrationMaintained2k

trpc-agent-go

by trpc-group · Go

A Go framework for building production agent systems with graph workflows, tools, memory, A2A, AG-UI, MCP, evaluation, and observability.

Agents & OrchestrationMaintainedRemote1.9k

cheatengine-mcp-bridge

by miscusi-peek · Lua

Connect your favorite AI agents directly to Cheat Engine via MCP. Automate reverse engineering, pointer scanning, and memory analysis using natural language.

SecurityMaintained1.6k

aoci-code

by aoci-spec · Go

A persistent, Git-versioned map of your whole codebase and database schema that coding agents read before they touch anything. Local-first MCP server + CLI in Go: a governed repository index of code knowledge that gives Claude Code, Codex, Cursor, and opencode long-term context, memory, and code intelligence.

Developer ToolsMaintained1.5k

rocketmq-rust

by mxsm · Rust

🚀 Apache RocketMQ built in Rust 🦀 — faster, safer, and more memory-efficient. Powering high-performance messaging for the AI era, with AI Agent, MCP, and AI-SRE capabilities.

Developer ToolsMaintained1.5k

phantom

by ghostwright · TypeScript

An AI co-worker with its own computer. Self-evolving, persistent memory, MCP server, secure credential collection, email identity. Built on the Claude Agent SDK.

Agents & OrchestrationAgingRemote1.5k

tradememory-protocol

by mnemox-ai · Python

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

Finance & CryptoMaintained1.4k

deja-vu

by vshulcz · Go

Coding agent memory for Claude Code, Codex, Cursor and 38 more, built from the session history already on your disk. Local search, MCP and hooks, no LLM, one Go binary.

Developer ToolsMaintained1.2k

token-savior

by Mibayy · Python

MCP server that gets Claude to 97.9% (188/192) on a real coding benchmark at -80% active tokens and -83% wall time, vs 78.3% plain. Structural code navigation + persistent memory engine. Works with every MCP client.

Developer ToolsMaintained1.2k

AgentChat

by Shy2593666979 · Python

AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。

Agents & OrchestrationMaintained914

NornicDB

by orneryd · Go

Nornicdb is a distributed low-latency, Graph+Vector, Temporal MVCC with all sub-ms HNSW search, graph traversal, and writes. Using Neo4j Bolt/Cypher and qdrant's gRPC means you can switch with no changes while adding intelligent features like schemas, managed embeddings, reranking+llm, GPU accel, Auto-TLP, Policy-based Memory Decay, and MCP server.

DatabasesMaintained905

scarf

by awizemann · Swift

Native macOS and iOS App for the Hermes AI agent — multi-window, multi-server (local + remote over SSH). Chat, dashboard, sessions, memory, cron, MCP, and more.

Developer ToolsMaintained892

mcp-knowledge-graph

by shaneholloman · JavaScript

MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development

Memory & KnowledgeAging888

projectmem

by riponcm · Python

Open-source coding agents memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.

Developer ToolsMaintained864

memorix

by AVIDS2 · TypeScript

Open-source cross-agent memory layer for coding agents via MCP. Compatible with Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Antigravity, OpenClaw, Hermes Agent, Oh-my-Pi, Pi, Copilot, Kiro, OpenCode, and Trae.

Developer ToolsMaintained836

second-brain-cloudflare

by rahilp · TypeScript

One memory layer, every AI tool. Store anything once — recall it in Claude, ChatGPT, Cursor, or any MCP client. Self-hosted on Cloudflare's free tier.

Cloud & DevOpsMaintained802

stash

by alash3al · Go

Stash — persistent memory layer for AI agents. Episodes, facts, and working context stored in Postgres. MCP server included. Self-hosted, single binary, no cloud required.

Memory & KnowledgeAgingRemote769

context-portal

by GreatScottyMac · Python

Context Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.

Memory & KnowledgeAging767

memora

by agentic-box · Python

Give your AI agents persistent, collective memory — with deduplicating absorb, supersession lineage, semantic search, and a graph UI. Speaks MCP.

Memory & KnowledgeMaintainedRemote737

metaharness

by ruvnet · TypeScript

🛠️ The meta-harness for AI agents — scaffold your own focused, branded agent harness with its own npx CLI, MCP server, memory, learning loop, and witness-signed releases. Works with Claude Code, Codex, pi.dev, Hermes, OpenClaw, and RVM (hardware-isolated sandbox).

Developer ToolsMaintainedRemote699

swarmclaw

by swarmclawai · TypeScript

Open-source self-hosted AI agent runtime and multi-agent framework for autonomous agent swarms. Agent memory, MCP tools, schedules, delegation, and 23+ LLM providers (Claude, GPT, Gemini, OpenRouter, Ollama). A practical Claude Code and LangChain alternative.

Agents & OrchestrationAgingRemote691

sandbase-harness

by sandbaseai · TypeScript

Local-first, self-hosted AI agent runtime and MCP bridge with sandboxed sessions, memory, credentials, audit/replay, and a local Console.

Agents & OrchestrationMaintainedRemote685

mcp-mem0

by coleam00 · Python

MCP server for long term agent memory with Mem0. Also useful as a template to get you started building your own MCP server with Python!

Memory & KnowledgeStaleRemote684

Deuz-SDK

by Deuz-AI · TypeScript

TypeScript AI SDK and agent framework with zero dependencies. Build production AI agents and multi-agent swarms: durable execution, long-term memory, hybrid RAG, MCP client/server, A2A, human-in-the-loop approvals, CodeAct sandboxes, realtime voice. One streaming API, 29 providers: Claude, GPT, Gemini, Grok, DeepSeek, Ollama. Node, Bun, Deno, edge.

Memory & KnowledgeMaintained682

life-sciences

by anthropics · Python

Repo for the Claude Code Marketplace to use with the Claude for Life Sciences Launch. This will continue to host the marketplace.json long-term, but not the actual MCP servers.

Developer ToolsMaintainedRemote620

caura

by caura-ai · Python

Caura (formerly MemClaw) — governed shared memory for AI agent fleets. Multi-agent, multi-tenant, MCP-native. Trust tiers, keystone policies, audit trails, knowledge graph, self-improving retrieval. Apache 2.0.

Memory & KnowledgeMaintainedRemote499

memtrace-public

by syncable-dev · Python

Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code · Codex · DeepSeek Harness · Hermes · VS Code · Windsurf.

Developer ToolsMaintained491

open-second-brain

by itechmeat · TypeScript

Local-first 🧠 memory for Hermes Agent that lives in your Obsidian vault and remembers project context. Nightly 😴 dream passes turn repeat corrections into confirmed preferences with measurable confidence. Adapters ship for Claude Code, Codex, and OpenClaw, with an MCP server for anything else.

Memory & KnowledgeMaintained477

HarnessKit

by RealZST · Rust

More than a skill manager — manage skills, MCP servers, plugins, hooks, CLIs, configs, memory & rules across every AI coding agent. 🌟 Star if you like it!

Developer ToolsMaintainedRemote461

Agenvoy

by agenvoy · Go

Self-hosted 24/7 personal AI agent that runs on your own machine — memory, schedules, tools and credentials stay local. Single Go binary with MCP.

Memory & KnowledgeMaintained443

atomicmemory

by atomicstrata · TypeScript

Portable semantic memory for AI agents: core engine, TypeScript SDK, framework adapters, MCP server, CLI, and host plugins.

Memory & KnowledgeMaintained438

AgenticX

by DemonDamon · Python

AgenticX is a unified, production-ready multi-agent platform — Python SDK + CLI (agx) + Studio server + Machi desktop app. Features Meta-Agent orchestration, 15+ LLM providers, MCP Hub, hierarchical memory, avatar & group chat, skill ecosystem, safety sandbox, and IM gateway (Feishu/WeChat).

Productivity & CommsMaintainedRemote397

cross-code-organizer

by mcpware · JavaScript

Cross-Code Organizer (formerly Claude Code Organizer): cross-harness config dashboard for Claude Code, Codex CLI, MCP servers, skills, memories, agents, sessions, security scanning, context budget, and backups.

Developer ToolsMaintainedRemote383

EDDI

by labsai · Java

Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus.

Memory & KnowledgeMaintainedRemote383

AgentRecall-X

by Goldentrii · JavaScript

Correction-first persistent memory for AI agents. MCP server + SDK + CLI. Compounds across sessions.

Memory & KnowledgeMaintained372

lemmalog

by JordyZomer · Rust

A Datalog engine for LLM agent memory: stratified rules, provenance-tracked facts, incremental derivation, and an MCP server that lets your harness use it as a shared brain.

Memory & KnowledgeMaintained334

agentao

by jin-bo · Python

Local-first, governed AI agent runtime for Python — embed it in your app, or run it as a CLI or ACP server. Permissions, MCP, memory and audit replay built in.

Memory & KnowledgeMaintainedRemote309

Memory MCP server FAQ

What is the best Memory MCP server?

Based on GitHub stars and recent activity, Memory (Knowledge Graph) (official reference server) by modelcontextprotocol (★ 91.2k, updated 3 days ago) is the most popular actively maintained option on HookMCP, followed by codebase-memory-mcp and mcp-memory-service. The right choice depends on whether you need write access, a hosted (remote) endpoint, or a server that runs locally without an API key.

Is there an official Memory MCP server?

Yes — Memory (Knowledge Graph) (official reference server) by modelcontextprotocol is published by the vendor or the MCP project. Official servers are usually the safest first install.

How do I install a Memory MCP server in Claude, Cursor or VS Code?

Open the server's page on HookMCP, choose your client tab (Claude Desktop, Cursor, VS Code or Claude Code) and copy the config — 12 of the 54 servers here have one-click install links for Cursor and VS Code. Restart your AI app and the new tools appear automatically.

Do Memory MCP servers need an API key?

36 of 54 servers here mention API keys or tokens in their README; 18 don't mention any. Check each listing's Details panel, and pass keys as environment variables rather than pasting them into chat.

Related integrations

Or browse by category: Developer Tools, Agents & Orchestration, Memory & Knowledge.