PlugWiki
mempalace logo

MemPalace MCP Server: Setup for Claude Code, Cursor and Other Apps

CommunityLocal
GetPyPImempalacemempalace/mempalace

Gives Claude and other assistants a long-term memory that stores your past conversations word for word and searches them later.

MemPalace saves your conversations and project notes as they were written, then lets your assistant search them by meaning. It groups them into wings (people and projects) and rooms (topics), and keeps a small knowledge graph of facts with dates. The README says nothing leaves your machine unless you opt in.

It is a community project, not made by Anthropic or an editor vendor. You run it on your own computer with Python or Docker. Setup takes more than one step because you also fill the memory, for example by mining old chats with the command line.

Good for

  • Claude Code and Codex users who lose context between sessions
  • People who want to search old chats and project notes by meaning
  • Privacy-minded users who want memory stored on their own machine
  • Teams running several agents that need a shared log

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install mempalace MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the mempalace MCP server to Claude Code. Run this command:
    
    claude mcp add mempalace -- uvx --from mempalace mempalace-mcp
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Python 3.9+, uv.

The uvx method starts the mempalace-mcp script named in the package's pyproject; the README documents the Docker method.

Built from the package data we hold. Not yet tested by us.

Tools

  • Searches your saved memories from past sessions

    Searches memories from past sessions and returns the matching saved entries. It is not for the current conversation.

    Try: “What did we decide about the GraphQL schema last month?”

    Read · mempalace_search

  • Shows an overview of your memory store

    Shows how many entries the palace holds and how many wings and rooms it has. The agent calls it when a session starts.

    Try: “Give me an overview of my memory palace.”

    Read · mempalace_status

  • Lists the top-level groups in your memory

    Lists wings (people and projects) with entry counts.

    Try: “Which wings do I have?”

    Read · mempalace_list_wings

  • Lists the topics inside a wing

    Lists rooms (topics) in a wing, or all rooms if you name no wing.

    Try: “What topics are in my billing project wing?”

    Read · mempalace_list_rooms

  • Shows the full tree of wings, rooms and entries

    Returns wings, rooms and the count of entries in each.

    Try: “Show me the full structure of my memory.”

    Read · mempalace_get_taxonomy

  • Fetches the compressed memory format spec

    Returns the AAAK spec, the compressed format MemPalace uses for diary entries. Needed only to read or write AAAK.

    Try: “Get the AAAK format spec.”

    Read · mempalace_get_aaak_spec

  • Opens one saved entry

    Fetches one drawer (a saved entry) by ID, with full content and details.

    Try: “Open drawer 123.”

    Read · mempalace_get_drawer

  • Opens many saved entries at once

    Fetches up to 500 drawers by ID in one call.

    Try: “Open these five drawers.”

    Read · mempalace_get_drawers

  • Lists saved entries with filters

    Lists drawers with paging, filtered by wing, room or date, with short previews.

    Try: “List what I saved to the billing wing this week.”

    Read · mempalace_list_drawers

  • Checks whether something is already saved

    Checks whether content already exists in the palace before it is filed.

    Try: “Is this note already in my memory?”

    Read · mempalace_check_duplicate

  • Saves text to your memory word for word

    Files the content as it is into the palace after checking for duplicates.

    Try: “Save this design decision to the billing wing.”

    Write · mempalace_add_drawer

  • Saves a whole session in one step

    Skips duplicates, files the rest as drawers, then writes one diary entry, all in a single call.

    Try: “Checkpoint this session.”

    Write · mempalace_checkpoint

Read from the source code

Permissions

high risk · 5 things to watch · 1 advisory

High risk

The assistant can write to and permanently delete your saved memories, and the palace holds your past chats word for word. Back up the palace folder and mount only the folders you want mined.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It can delete saved memories for good

    Delete tools remove entries and their earlier revisions, and the schema calls this irreversible. Back up the palace folder before you let an agent clean it up. github.com

  • It stores your chats word for word

    The palace can hold private conversations, code and notes in plain text on disk. Keep it out of shared folders and backups you do not trust. github.com

  • It reads any folder you point it at

    The mine tool ingests a directory or chat file into the palace. With Docker, it sees only the folders you mount. github.com

  • First run downloads an embedding model

    The README says the first command that needs embeddings downloads about 80 MB and needs network access, so a first call can look hung. github.com

  • No read-only mode is documented

    The README does not describe a switch that limits the server to read tools. github.com

Security advisories

Technical details
Sign-in and keysNo account or API key. The palace is stored on your machine or in the Docker volume you mount.

Questions

Is MemPalace official?

It is a community project from the MemPalace organisation, not from Anthropic, OpenAI or an editor maker. The README warns that its GitHub repo, PyPI package and mempalaceofficial.com are the only official sources.

Is MemPalace free?

Yes. It is open source under the MIT license and runs on your machine with no account or API key. The README calls it local-first and says it makes zero API calls.

Does my data leave my machine?

The README says nothing leaves your machine unless you opt in. The first run downloads an embedding model, and the README says optional update checks are off by default and contact only PyPI.

Why is setup more than one command?

The server only helps once it has something to search. The README suggests installing its setup skill and asking your coding agent to configure it, then mining existing chats with the command line.

Can I run it in Docker?

Yes. The README gives a Docker image that runs the MCP server over stdio. Mount a volume at /data to keep the palace, and mount any folders you want mined.

Can it delete my memories?

Yes. It has tools that delete entries, delete many at once and delete everything mined from one file. The schema describes them as irreversible, so back up the palace first.

Does the tool list show everything?

Yes. The README says there are 47 tools and this page lists all 47.

Information

updated Nov 2, 2026

Publisher
Community
Package
mempalace
Registry
PyPI
Transport
stdio
License
MIT
Last commit
Oct 31, 2026
Open issues
373

WebsiteGitHubChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 3
  1. github.com · github.com
  2. github.com · github.com
  3. github.com · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.