Best MCP Servers for Memory & Knowledge Bases
MCP servers that provide long-term memory, embeddings, and knowledge retrieval.
Memory and knowledge-base MCP servers let agents persist context across conversations. They are the foundation for personal assistants, research agents, and RAG workflows.
Top picks
Mnemo
MCP server providing a persistent, temporal memory brain for AI assistants, enabling cross-session recall of facts with relationships and temporal context.
Verified Repo Memory
Repository-scoped memory with code citations and just-in-time verification, preventing stale information for AI coding agents.
doctree-mcp
Enables agentic document retrieval over markdown, CSV, and JSONL using BM25 and tree navigation, without vector databases or embeddings, allowing AI agents to search, browse, and retrieve structured document sections.
hive-memory
MCP server for personal and shared memory with full-text search (SQLite FTS5) and outcome tracking, compatible with any MCP agent like Claude Code, Cursor, and Codex CLI.
io.github.oxgeneral/agentmem
Lightweight persistent memory for AI agents using a single SQLite file with hybrid search (keywords + semantics). Zero to 12MB install, no cloud or server required.
Memento
Provides persistent memory for AI tools by building a local knowledge graph from conversations, enabling cross-session recall and context awareness without cloud dependencies.
How to choose
- Prioritize transport: stdio servers run locally; HTTP/remote servers need no install but require network trust.
- Check stars & maintenance: Higher GitHub stars and recent commits usually signal a more reliable project.
- Review security scope: File-system and browser servers can access sensitive data; run them in isolated environments.
- Match your client: Not all MCP clients support every transport; verify compatibility with Claude Desktop, Cursor, or your own agent.
Editorial picks are based on public metadata and keyword matching. They do not constitute endorsements; always review source and license before use.