mempalace

Level ALocal

The best-benchmarked open-source AI memory system. And it's free.

Overview

MemPalace is a local-first AI memory system that stores conversation history as verbatim text and retrieves it via semantic search, without summarizing or paraphrasing. Its index is structured into wings, rooms, and drawers so searches can be scoped. The retrieval backend is pluggable, defaulting to ChromaDB with options like Milvus, Qdrant, and pgvector. Data stays on your machine unless you opt in, and it reports 96.6% R@5 raw on LongMemEval.

⭐ 60.2kDatabasePythonRepo ↗Updated 2026-10-31

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "mempalace": {
      "command": "python",
      "args": [
        "-m",
        "mempalace.mcp_server"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/MemPalace/mempalace

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "mempalace": {
      "command": "python",
      "args": [
        "-m",
        "mempalace.mcp_server"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers