Best Memory & Knowledge MCP servers

Long-term memory, knowledge graphs, RAG and document understanding for more context-aware assistants. We track 53 servers in this category, ranked by GitHub stars with maintenance status and ready-to-copy configs for Claude Desktop, Cursor and VS Code.

Top picks

  1. Memory (Knowledge Graph) (official reference server) — Basic persistent memory using a local knowledge graph of entities, relations and observations, so the assistan… (★ 91.3k, updated yesterday)
  2. headroom — Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen… (★ 75.5k, updated today)
  3. private-gpt — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more… (★ 57.6k, updated today)
  4. Graphiti — Real-time temporal knowledge graphs for AI agents, with an MCP server that gives assistants long-term graph me… (★ 31.8k, updated today)
  5. context-mode — Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memo… (★ 30.3k, updated today)

Showing all 53 servers

Other categories