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.

#1

Context7

by upstash

Up-to-date code docs for any prompt

⭐ 63,214 starsLast push: 2026-10-17License: MIT2,685,137/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add context7 -- npx -y @upstash/context7-mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}
#2

Codebase Memory

by DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

⭐ 46,788 starsLast push: 2026-10-18License: MIT7,001/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "codebase-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add codebase-memory-mcp -- npx -y codebase-memory-mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "codebase-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "codebase-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "codebase-memory-mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "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 starsLast push: 2026-10-16License: Custom704/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "nautilus-compass": {
      "command": "uvx",
      "args": [
        "nautilus-compass"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add nautilus-compass -- uvx nautilus-compass
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "nautilus-compass": {
      "command": "uvx",
      "args": [
        "nautilus-compass"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "nautilus-compass": {
      "command": "uvx",
      "args": [
        "nautilus-compass"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "nautilus-compass": {
      "command": "uvx",
      "args": [
        "nautilus-compass"
      ]
    }
  }
}
Keys / environment: Authorization
#4

haiku.rag

by ggozad

Local-first agentic RAG with citations - hybrid search, reranking, multimodal document retrieval

⭐ 629 starsLast push: 2026-10-17License: MIT4,279/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "haiku-rag": {
      "command": "uvx",
      "args": [
        "haiku-rag"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add haiku-rag -- uvx haiku-rag
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "haiku-rag": {
      "command": "uvx",
      "args": [
        "haiku-rag"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "haiku-rag": {
      "command": "uvx",
      "args": [
        "haiku-rag"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "haiku-rag": {
      "command": "uvx",
      "args": [
        "haiku-rag"
      ]
    }
  }
}
#5

Anki MCP Server

by ankimcp

MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.

⭐ 517 starsLast push: 2026-10-11License: MIT7,482/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add anki-mcp-server -- npx -y @ankimcp/anki-mcp-server
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "anki-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ankimcp/anki-mcp-server"
      ]
    }
  }
}
#6

IWE (iwe.md)

by iwe-org

Markdown knowledge base as agent memory. Runs against the notes directory it is started in.

⭐ 1,778 starsLast push: 2026-10-17License: Apache-2.0Repository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "iwe": {
      "command": "npx",
      "args": [
        "-y",
        "@iwe-org/mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add iwe -- npx -y @iwe-org/mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "iwe": {
      "command": "npx",
      "args": [
        "-y",
        "@iwe-org/mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "iwe": {
      "command": "npx",
      "args": [
        "-y",
        "@iwe-org/mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "iwe": {
      "command": "npx",
      "args": [
        "-y",
        "@iwe-org/mcp"
      ]
    }
  }
}
#7

M3 Memory

by skynetcmd

Local-first, cloud-friendly memory — 100+ tools, 99.2% LongMemEval-S retrieval@8, hybrid search.

⭐ 29 starsLast push: 2026-10-17License: Apache-2.05,393/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "m3-memory": {
      "command": "uvx",
      "args": [
        "m3-memory"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add m3-memory -- uvx m3-memory
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "m3-memory": {
      "command": "uvx",
      "args": [
        "m3-memory"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "m3-memory": {
      "command": "uvx",
      "args": [
        "m3-memory"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "m3-memory": {
      "command": "uvx",
      "args": [
        "m3-memory"
      ]
    }
  }
}
#8

Docs

Remote only — needs a client that connects over HTTP/SSEby empryo

Search and read Empryo's documentation. Read-only, no auth, no local access.

⭐ 1,426 starsLast push: 2026-10-16License: CustomRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "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
claude mcp add --transport http docs-16 https://empryo.com/mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "docs-16": {
      "url": "https://empryo.com/mcp"
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "docs-16": {
      "type": "http",
      "url": "https://empryo.com/mcp"
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "docs-16": {
      "serverUrl": "https://empryo.com/mcp"
    }
  }
}
#9

Provena Agent Memory

by admiralpunk

Self-hosted MCP memory for AI agents: persistent context with evidence-backed claims.

⭐ 7 starsLast push: 2026-10-15License: MIT3,090/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "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
claude mcp add --env PROVENA_API_KEY=<YOUR_PROVENA_API_KEY> --env PROVENA_SCOPE_ID=<YOUR_PROVENA_SCOPE_ID> provena-memory -- uvx provena-agent-memory
Cursorconfig JSON
Cursor
{
  "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
{
  "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
{
  "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 starsLast push: 2026-09-28License: —104/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "docsagent": {
      "command": "npx",
      "args": [
        "-y",
        "@docsagent/docsagent"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add docsagent -- npx -y @docsagent/docsagent
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "docsagent": {
      "command": "npx",
      "args": [
        "-y",
        "@docsagent/docsagent"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "docsagent": {
      "command": "npx",
      "args": [
        "-y",
        "@docsagent/docsagent"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "docsagent": {
      "command": "npx",
      "args": [
        "-y",
        "@docsagent/docsagent"
      ]
    }
  }
}
#11

Total Agent Memory

by vbcherepanov

Persistent local memory for coding agents: temporal knowledge graph, procedural and episodic recall

⭐ 73 starsLast push: 2026-10-14License: MIT1,668/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "total-agent-memory": {
      "command": "uvx",
      "args": [
        "total-agent-memory"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add total-agent-memory -- uvx total-agent-memory
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "total-agent-memory": {
      "command": "uvx",
      "args": [
        "total-agent-memory"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "total-agent-memory": {
      "command": "uvx",
      "args": [
        "total-agent-memory"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "total-agent-memory": {
      "command": "uvx",
      "args": [
        "total-agent-memory"
      ]
    }
  }
}
#12

Project Memory

by Dankaro-projects

Local decisions, evidence, outcomes and reviewed lessons with bounded retrieval and an HTML viewer.

⭐ 0 starsLast push: 2026-10-08License: MIT2,342/mo downloadsRepository ↗Full page & details →

Install with your client

Claude Desktopconfig JSON
Claude Desktop
{
  "mcpServers": {
    "project-memory": {
      "command": "uvx",
      "args": [
        "project-memory-mcp"
      ]
    }
  }
}
Claude CodeCLI command
Claude Code
claude mcp add project-memory -- uvx project-memory-mcp
Cursorconfig JSON
Cursor
{
  "mcpServers": {
    "project-memory": {
      "command": "uvx",
      "args": [
        "project-memory-mcp"
      ]
    }
  }
}
VS Codeconfig JSON
VS Code
{
  "servers": {
    "project-memory": {
      "command": "uvx",
      "args": [
        "project-memory-mcp"
      ]
    }
  }
}
Windsurfconfig JSON
Windsurf
{
  "mcpServers": {
    "project-memory": {
      "command": "uvx",
      "args": [
        "project-memory-mcp"
      ]
    }
  }
}

Other best-of lists

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.