Home / Best MCP Servers / Memory & Knowledge Bases Best MCP Servers for Memory & Knowledge Bases (2026) A data-ranked shortlist of the 12 strongest MCP servers for memory & knowledge bases — every entry links to its full page with copy-paste configs for Claude Desktop, Claude Code, Cursor, VS Code and Windsurf. List compiled 2026-10-28; rankings refresh as the underlying data updates.
How entries are picked: An entry is eligible only if it meets at least one of: 10+ GitHub stars, 100+ monthly npm/PyPI downloads, or a verified official/reference tier on its brand page; entries meeting none of the three are excluded, as are archived repositories. Eligible entries are ranked by a score built from: GitHub stars — multiplied by 10 when the entry has a verified official/reference tier, so official status counts as ten times the community traction rather than a flat bonus; maintenance recency (last push); and npm/PyPI downloads where available. Two tie-break rules keep the list honest: when the same repository is shared by several listings, its star count does not contribute to ranking (the shared figure would otherwise swamp independent projects), and when several implementations share a product name, only the highest-scoring one is listed — the others stay in the directory. Data comes from the public MCP Registry (description, install method), GitHub repository stats and package download counts — no editorial scoring, no paid inclusion, and sponsorship never affects these lists.
MCP official reference implementations These entries sit outside the ranking: they are the Model Context Protocol steering group's own reference implementations for this scenario. They are not scored, they do not affect the order below, and archived ones are marked as such with a maintained alternative where one exists.
One of the seven reference servers the MCP steering group still maintains.
No maintained replacement is named by the MCP steering group for this one; the archived code remains available in servers-archived.
Up-to-date code docs for any prompt
⭐ 63,214 stars Last push: 2026-10-17 License: MIT 2,685,137/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add context7 -- npx -y @upstash/context7-mcpCursorconfig JSON Cursor
Copy {
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
]
}
}
}Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
⭐ 46,788 stars Last push: 2026-10-18 License: MIT 7,001/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"codebase-memory-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add codebase-memory-mcp -- npx -y codebase-memory-mcpCursorconfig JSON Cursor
Copy {
"mcpServers": {
"codebase-memory-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"codebase-memory-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"codebase-memory-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-memory-mcp"
]
}
}
}Local-first long-term memory for AI agents, with byte-recomputable signed verification receipts.
⭐ 1,254 stars Last push: 2026-10-16 License: Custom 704/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"nautilus-compass": {
"command": "uvx",
"args": [
"nautilus-compass"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add nautilus-compass -- uvx nautilus-compassCursorconfig JSON Cursor
Copy {
"mcpServers": {
"nautilus-compass": {
"command": "uvx",
"args": [
"nautilus-compass"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"nautilus-compass": {
"command": "uvx",
"args": [
"nautilus-compass"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"nautilus-compass": {
"command": "uvx",
"args": [
"nautilus-compass"
]
}
}
}Keys / environment: Authorization
Local-first agentic RAG with citations - hybrid search, reranking, multimodal document retrieval
⭐ 629 stars Last push: 2026-10-17 License: MIT 4,279/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"haiku-rag": {
"command": "uvx",
"args": [
"haiku-rag"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add haiku-rag -- uvx haiku-ragCursorconfig JSON Cursor
Copy {
"mcpServers": {
"haiku-rag": {
"command": "uvx",
"args": [
"haiku-rag"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"haiku-rag": {
"command": "uvx",
"args": [
"haiku-rag"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"haiku-rag": {
"command": "uvx",
"args": [
"haiku-rag"
]
}
}
}MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.
⭐ 517 stars Last push: 2026-10-11 License: MIT 7,482/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add anki-mcp-server -- npx -y @ankimcp/anki-mcp-serverCursorconfig JSON Cursor
Copy {
"mcpServers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"anki-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ankimcp/anki-mcp-server"
]
}
}
}Markdown knowledge base as agent memory. Runs against the notes directory it is started in.
⭐ 1,778 stars Last push: 2026-10-17 License: Apache-2.0 Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"iwe": {
"command": "npx",
"args": [
"-y",
"@iwe-org/mcp"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add iwe -- npx -y @iwe-org/mcpCursorconfig JSON Cursor
Copy {
"mcpServers": {
"iwe": {
"command": "npx",
"args": [
"-y",
"@iwe-org/mcp"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"iwe": {
"command": "npx",
"args": [
"-y",
"@iwe-org/mcp"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"iwe": {
"command": "npx",
"args": [
"-y",
"@iwe-org/mcp"
]
}
}
}Local-first, cloud-friendly memory — 100+ tools, 99.2% LongMemEval-S retrieval@8, hybrid search.
⭐ 29 stars Last push: 2026-10-17 License: Apache-2.0 5,393/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"m3-memory": {
"command": "uvx",
"args": [
"m3-memory"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add m3-memory -- uvx m3-memoryCursorconfig JSON Cursor
Copy {
"mcpServers": {
"m3-memory": {
"command": "uvx",
"args": [
"m3-memory"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"m3-memory": {
"command": "uvx",
"args": [
"m3-memory"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"m3-memory": {
"command": "uvx",
"args": [
"m3-memory"
]
}
}
}#8 Remote only — needs a client that connects over HTTP/SSE by empryo Search and read Empryo's documentation. Read-only, no auth, no local access.
⭐ 1,426 stars Last push: 2026-10-16 License: Custom Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"docs-16": {
"url": "https://empryo.com/mcp"
}
}
}Claude Desktop connects remote servers via Settings → Connectors → Add custom connector (paste the URL).
Claude CodeCLI command Claude Code
Copy claude mcp add --transport http docs-16 https://empryo.com/mcpCursorconfig JSON Cursor
Copy {
"mcpServers": {
"docs-16": {
"url": "https://empryo.com/mcp"
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"docs-16": {
"type": "http",
"url": "https://empryo.com/mcp"
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"docs-16": {
"serverUrl": "https://empryo.com/mcp"
}
}
}Self-hosted MCP memory for AI agents: persistent context with evidence-backed claims.
⭐ 7 stars Last push: 2026-10-15 License: MIT 3,090/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"provena-memory": {
"command": "uvx",
"args": [
"provena-agent-memory"
],
"env": {
"PROVENA_API_KEY": "<YOUR_PROVENA_API_KEY>",
"PROVENA_SCOPE_ID": "<YOUR_PROVENA_SCOPE_ID>"
}
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add --env PROVENA_API_KEY=<YOUR_PROVENA_API_KEY> --env PROVENA_SCOPE_ID=<YOUR_PROVENA_SCOPE_ID> provena-memory -- uvx provena-agent-memoryCursorconfig JSON Cursor
Copy {
"mcpServers": {
"provena-memory": {
"command": "uvx",
"args": [
"provena-agent-memory"
],
"env": {
"PROVENA_API_KEY": "<YOUR_PROVENA_API_KEY>",
"PROVENA_SCOPE_ID": "<YOUR_PROVENA_SCOPE_ID>"
}
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"provena-memory": {
"command": "uvx",
"args": [
"provena-agent-memory"
],
"env": {
"PROVENA_API_KEY": "<YOUR_PROVENA_API_KEY>",
"PROVENA_SCOPE_ID": "<YOUR_PROVENA_SCOPE_ID>"
}
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"provena-memory": {
"command": "uvx",
"args": [
"provena-agent-memory"
],
"env": {
"PROVENA_API_KEY": "<YOUR_PROVENA_API_KEY>",
"PROVENA_SCOPE_ID": "<YOUR_PROVENA_SCOPE_ID>"
}
}
}
}Keys / environment: PROVENA_API_KEY · PROVENA_SCOPE_ID
Instant, private access to your knowledge base: Zotero, Obsidian, Apple Notes (macOS).
⭐ 575 stars Last push: 2026-09-28 License: — 104/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"docsagent": {
"command": "npx",
"args": [
"-y",
"@docsagent/docsagent"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add docsagent -- npx -y @docsagent/docsagentCursorconfig JSON Cursor
Copy {
"mcpServers": {
"docsagent": {
"command": "npx",
"args": [
"-y",
"@docsagent/docsagent"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"docsagent": {
"command": "npx",
"args": [
"-y",
"@docsagent/docsagent"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"docsagent": {
"command": "npx",
"args": [
"-y",
"@docsagent/docsagent"
]
}
}
}Persistent local memory for coding agents: temporal knowledge graph, procedural and episodic recall
⭐ 73 stars Last push: 2026-10-14 License: MIT 1,668/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"total-agent-memory": {
"command": "uvx",
"args": [
"total-agent-memory"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add total-agent-memory -- uvx total-agent-memoryCursorconfig JSON Cursor
Copy {
"mcpServers": {
"total-agent-memory": {
"command": "uvx",
"args": [
"total-agent-memory"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"total-agent-memory": {
"command": "uvx",
"args": [
"total-agent-memory"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"total-agent-memory": {
"command": "uvx",
"args": [
"total-agent-memory"
]
}
}
}Local decisions, evidence, outcomes and reviewed lessons with bounded retrieval and an HTML viewer.
⭐ 0 stars Last push: 2026-10-08 License: MIT 2,342/mo downloads Repository ↗ Full page & details → Install with your client Claude Desktopconfig JSON Claude Desktop
Copy {
"mcpServers": {
"project-memory": {
"command": "uvx",
"args": [
"project-memory-mcp"
]
}
}
}Claude CodeCLI command Claude Code
Copy claude mcp add project-memory -- uvx project-memory-mcpCursorconfig JSON Cursor
Copy {
"mcpServers": {
"project-memory": {
"command": "uvx",
"args": [
"project-memory-mcp"
]
}
}
}VS Codeconfig JSON VS Code
Copy {
"servers": {
"project-memory": {
"command": "uvx",
"args": [
"project-memory-mcp"
]
}
}
}Windsurfconfig JSON Windsurf
Copy {
"mcpServers": {
"project-memory": {
"command": "uvx",
"args": [
"project-memory-mcp"
]
}
}
}Sources & last verified ▸ Server descriptions, categories and install methods: the public MCP Registry (modelcontextprotocol.io) as of 2026-10-28. ▸ Stars, last-push dates and licenses: GitHub repository API, fetched per entry's own repository on 2026-10-28. ▸ Download counts: npm and PyPI public APIs where a package is listed. ▸ Official / Reference labels follow MCPNav's verified brand table (each verified against the publisher's own repository and documentation). Last verified: 2026-10-28. Entries change as the underlying data changes; archived repositories are excluded.