Memory and knowledge MCP servers
Memory and knowledge MCP servers give an AI app a place to store and retrieve facts across conversations: a knowledge graph, a vector index or a searchable document store. They are how an agent remembers your preferences, your codebase or your company docs.
What to look for
- What it stores: plain notes, embeddings, a graph of entities, or all three. Graphs help with relations; embeddings help with fuzzy search.
- Where data lives: local files and a local database keep it on your machine; hosted memory needs a vendor you trust with the contents.
- Forgetting: you should be able to see, edit and delete what the agent stored.
- Freshness: document indexes go stale, so check how the server re-indexes when files change.
Jobs these servers take on
- Remember a customer's setup and preferences across support conversations.
- Index a codebase so the agent finds the right files before it edits.
- Search company docs and answer with the passage and the file it came from.
Osaurus from osaurus-ai is the most starred memory and knowledge server in our directory, followed by Basic Memory and obsidian-wiki.
Official memory and knowledge servers, published by the company behind the product, include ClickHouse Loom.
If you'd rather not install anything, Nautilus Compass Memory, Stash and Caura run as hosted remote servers you connect to by URL.
The top memory and knowledge servers
Search and filter these- Osaurusby osaurus-aiOwn your AI. The open-source agent harness for macOS. Run local or cloud models with persistent memory, skills, tools, and autonomous execution. Built in Swift.8.2k GitHub stars
- Basic Memoryby basicmachines-coLocal-first knowledge management with bi-directional LLM sync via Markdown files.4.8k GitHub stars
- obsidian-wikiby Ar9avMemory for agents in a markdown vault you own: search, read, write, recap, context packs.3.8k GitHub stars
- Memory Serviceby doobidooOpen-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. REST API + knowledge graph + autonomous consolidation.2.2k GitHub stars
- IWE (iwe.md)by iwe-orgMarkdown knowledge base as agent memory. Runs against the notes directory it is started in.1.9k GitHub stars
- Supermemoryby supermemoryaiYour memories are in ChatGPT... But nowhere else. Universal Memory MCP makes your memories available to every single LLM. No logins or paywall. One command to set it up.1.7k GitHub stars
- Tradememory Protocolby mnemox-aiTamper-evident decision audit trail and outcome-weighted memory for AI trading agents.1.5k GitHub stars
- Nocturne Memoryby DataojitoriA 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.1.4k GitHub stars
- Persomeby Intuition-LabLocal-first personal memory and model server for trusted MCP agents on macOS.1.3k GitHub stars
- Nautilus Compass Memoryby chunxiaoxxLocal-first long-term memory for AI agents, with byte-recomputable signed verification receipts.1.3k GitHub stars
- Token Saviorby MibayyStructural codebase MCP server with persistent memory: navigate by symbol, recall across sessions.1.2k GitHub stars
- Neo4j Memoryby neo4j-contribMCP Neo4j Knowledge Graph Memory Server.994 GitHub stars
- Memorixby AVIDS2Local-first project memory with legacy MCP and 2026 discovery compatibility.960 GitHub stars
- Iai Personal Memory Engineby CodeAbraA cyber brain for your AI. It never forgets a detail, remembers exactly what you said, and learns how you work over time. Free, local, works with Cursor, Claude Code, Codex, OpenClaw, Hermes and more. MIT.926 GitHub stars
- Memory Bankby alioshrA Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.926 GitHub stars
- MegaMemoryby 0xK3vinPersistent project knowledge graph for coding agents. MCP server with semantic search, in-process embeddings, and web explorer.906 GitHub stars
- Projectmemby riponcmCoding agent memory, one local MCP server for every project. Warns before repeating failed fixes.886 GitHub stars
- Knowledge Graphby shanehollomanMCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development.885 GitHub stars
- Okf Agent Memoryby okf-memoryGit-native persistent memory for AI coding agents. Implements Google OKF v0.3 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.880 GitHub stars
- ThoughtDAGby chenxiachanSearch local AI conversations by file or phrase and recall source turns. Four read-only tools.821 GitHub stars
- Waxby christopherkaraniShared Single-file memory layer for all your agents, sub mili-second RAG over text, photo and video on Apple Silicon.. No Server. No API. One File. Pure Swift.816 GitHub stars
- Context Spaceby context-spaceUltimate Context Engineering Infrastructure, starting from MCPs and Integrations.814 GitHub stars
- Hippo memoryby kitfunsoOne memory for every agent you'll ever use.801 GitHub stars
- Stashby alash3alStash, persistent memory layer for AI agents. Episodes, facts, and working context stored in Postgres. MCP server included. Self-hosted, single binary, no cloud required.771 GitHub stars
- Dsh Memoryby FuRongJun-1999灵枢 LINGSHU · 为 AI Agent 提供可追溯、可复核的本地长期记忆,建立可信的自我。以 Markdown 保存记忆,支持分层写入复核与带证据的召回,适配 DeepSeek Harness 和其他 MCP 宿主。.769 GitHub stars
- Context Portalby GreatScottyMacContext 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.767 GitHub stars
- Memoraby agentic-boxGive your AI agents persistent, collective memory, with deduplicating absorb, supersession lineage, semantic search, and a graph UI. Speaks MCP.752 GitHub stars
- Swarmvaultby swarmclawaiThe local-first LLM Wiki: open-source knowledge graph builder, RAG knowledge base, and agent memory store. Built on Andrej Karpathy's pattern. An Obsidian alternative for personal knowledge management, AI second brain, and durable Claude Code / Codex / OpenClaw memory.741 GitHub stars
- Mem0by coleam00MCP server for long term agent memory with Mem0. Also useful as a template to get you started building your own MCP server with Python!686 GitHub stars
- Open Second Brainby itechmeatLocal-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.637 GitHub stars
- Cauraby caura-aiCaura (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.578 GitHub stars
- Telememby TeleAI-UAGILong-term and multimodal memory for AI agents - character-aware, mem0-compatible, fully-local option.496 GitHub stars
- GrayMatterby angelnicolascPersistent agent memory as a single Go binary: knowledge graph, TUI observability, zero infra.490 GitHub stars
- Private Journalby obraA lightweight MCP server that provides Claude with a private journaling capability to process feelings and thoughts.484 GitHub stars
- Compartmentby MaxFreedomPollardDurable agentic memory, encrypted at rest. Fully offline: no network, no API key, no cloud.470 GitHub stars
- Molio Knowledge Baseby zhuzhaoyunRead-only access to your Molio local knowledge base: search, read, browse, and AI Q&A.453 GitHub stars
- Atomicmemoryby atomicstrataPortable semantic memory for AI agents: core engine, TypeScript SDK, framework adapters, MCP server, CLI, and host plugins.441 GitHub stars
- Marm Memoryby Lyellr88Universal MCP Server with advanced AI memory capabilities and semantic search.439 GitHub stars
- Mementoby gannonhMemento MCP: A Knowledge Graph Memory System for LLMs.426 GitHub stars
- TrueMemoryby buildingjoshbetterThe memory your AI should have had from the start. Automatic capture, automatic recall, 100% local. One SQLite file, zero cloud. Works with Claude Code, Claude CLI, Cursor, Codex CLI, Gemini CLI.384 GitHub stars
- Goldentriiby GoldentriiCloses the Intelligent Distance: a correction you give one agent reaches every connected agent.376 GitHub stars
- Ori Mnemosby aayoawoyemiPersistent memory infrastructure for AI agents. Identity, knowledge graph, and search.340 GitHub stars
- varun29ankuSby varun29ankuSCognitive memory for AI agents, semantic search, Hebbian learning, knowledge graphs.326 GitHub stars
- Plurby plur-aiOpen, local-first engram memory for AI agents: read, correct, delete; shared over MCP.325 GitHub stars
- Nowledge Memby nowledge-coMemory and context manager just works.319 GitHub stars
- Guildby mathomhausShared context, memory, and task coordination across AI coding agents. Single Go binary, local SQLite, hybrid keyword and semantic search.298 GitHub stars
- PMB AIby oleksiijkoLocal-first persistent memory for AI coding agents.295 GitHub stars
- Utekeby codecoradevLong-term memory for AI agents (MCP). One Rust binary, offline, 98.2% recall@5 on LongMemEval-S. Works with Claude Code, Cursor, Codex. Self-host free or use Uteke Cloud.295 GitHub stars
- ResiMindby 1105216375-altExact polynomial checks, sparse expansion and verified rule memory. Local MCP tools, no model key.294 GitHub stars
- SuperLocalMemoryby qualixarLocal-first memory for AI agents: recall with sources, answer checks, documents, mesh, governance.293 GitHub stars
- Membrickby RooAGIPersistent memory layer for AI coding agents, current-state retrieval that knows what is still true. Claude Code, Codex, Gemini CLI.280 GitHub stars
- LOREby Jatin-RoopchandaniAsk questions about the books you own: an AI reader that turns e-books into a knowledge graph and answers with every sentence cited, without spoilers past your chapter. GraphRAG + MCP.278 GitHub stars
- YourMemoryby sachitrafaPersistent memory for AI agents. Memories decay with time and strengthen on recall.275 GitHub stars
- Yuqueby yuqueMCP server for Yuque, expose your knowledge base to AI assistants.273 GitHub stars
- Mnemeby slow-stackThe memory that dreams, long-term memory for AI agents. Readable files on your own machine, consolidated between sessions. Runs as a DeepSeek Harness plugin or over MCP.267 GitHub stars
- ClickHouse Loomby ClickHouseShared long-term memory, document search and a code index for AI agents, self-hosted on ClickHouse.264 GitHub stars
- TOMC Memoryby ZipengWu365CPU task-specific context preparation and explicitly saved local project notes through MCP.264 GitHub stars
- Flightsby ravinahpAn MCP server to search for flights.262 GitHub stars
- Codebase Memory MCP Proby win4rCommunity fork of DeusData/codebase-memory-mcp (MIT), incremental-reindex CALLS-edge fix + 9 integrated upstream PRs. Pure-C code knowledge-graph MCP server.260 GitHub stars
- Memory Graphby memory-graphA graph DB-based MCP memory server for coding agents with intelligent relationship tracking.260 GitHub stars
More memory and knowledge servers
- ArcRift by Eshaan-Nair
- Neural Memory by nhadaututtheky
- Remnic by joshuaswarren
- Lobu by lobu-ai
- Mnemos by Riley-Coyote
- Memory Eternal by EternalNight996
- PyMemoryEditor by JeanExtreme002
- OMEGA Memory by omega-memory
- Memory by fellowgeek
- Memorizer by petabridge
- LeanKG by FreePeak
- Www Project Agent Memory Guard by OWASP
- ClawMem by yoloshii
- Mind by GabrielMartinMoran
- Best Agent Memory by Glen-Web-App
- Sibyl Memory by Sibyl-Labs
- Context Engineering by bonigarcia
- Knowledge Base by willynikes2
- Engraphis by Coding-Dev-Tools
- Yantrikdb by yantrikos
- Cohort by congchuanling-dot
- Omem by ourmem
- Anchormind by JinHo-von-Choi
- Akb by dnotitia
- Memory (Puliczek) by Puliczek
- Piia Engram by Patdolitse
- Mnemo Cortex by GuyMannDude
- Mnemosyne by 28naem-del
- ContextKeep by mordang7
- Eion by eiondb
- Octop Memory by TencentCloud
- Ombre Brain by P0lar1zzZ
- Prism Coder by dcostenco
- Atlas (bloodfeast) by bloodfeast
Questions about memory and knowledge MCP servers
Which memory and knowledge MCP server is the most popular?
By GitHub stars, Osaurus from osaurus-ai leads the memory and knowledge servers in our directory, with Basic Memory and obsidian-wiki next. Stars show developer interest, not fit, so check that a server covers the job you need before you pick it.
What is the difference between memory and RAG in MCP servers?
Memory servers store facts the agent learns during conversations. Retrieval servers, often called RAG, search a set of documents you load in. Many servers do both: they index your files and also let the agent save new notes.
Is it safe to store company knowledge in an agent memory server?
Use a local or self-hosted server for anything sensitive, control who can read the store, and check that you can delete entries. Treat the memory store like any other database that holds company data.
New MCP servers, tested, every week.
Applied Theory, Jeff Fermin's weekly newsletter: the servers and AI plays worth your time, explained for GTM teams.