mempalace

mempalace

MCP.Pizza Chef: MemPalace

Lets you give your AI coding assistant a real memory. It saves your past conversations and project details word-for-word, then finds the right pieces again with a smart, meaning-based search — no cloud service required for the core feature. Works alongside apps like Cursor and Claude Code as a background helper, and can also index project files you point it to. Setup means installing a small program on your computer; an API key is only needed if you turn on optional AI-powered result ranking.

Coding
Data
Notes

Use This MCP server To

Recall exactly what I discussed with my AI assistant last week Pick up a coding project right where I left off Search my past chats for a specific decision or detail Keep long-term project notes my assistant can look up later Bring old conversation context into a brand-new session Index a folder of project files for later search

README

MemPalace

MemPalace

Local-first AI memory. Verbatim storage, pluggable backend, 96.6% R@5 raw on LongMemEval — zero API calls.

Caution

Beware of impostor sites. MemPalace has no other official websites. The only official sources are this GitHub repository, the PyPI package, and the docs at mempalaceofficial.com. Any other domain (including .tech, .net, or other .com variants) is an impostor and may distribute malware. Details and timeline: docs/HISTORY.md.

Important

Claude Code sessions expire in 30 days without auto-save hooks wired. Read this →

Need the shortest recovery/setup path? Use the Claude Code retention setup checklist.


What it is

MemPalace stores your conversation history as verbatim text and retrieves it with semantic search. It does not summarize, extract, or paraphrase. The index is structured — people and projects become wings, topics become rooms, and original content lives in drawers — so searches can be scoped rather than run against a flat corpus.

The retrieval layer is pluggable. The current default is ChromaDB; the interface is defined in mempalace/backends/base.py and alternative backends can be dropped in without touching the rest of the system.

mempalace FAQ

Can I use this to pick up an old conversation with my AI assistant right where I left off?
Yes — it saves your conversation history word-for-word and can load the relevant pieces into a new session, so your assistant remembers what you talked about before.
Can I use this to search my past project notes for something specific?
Yes — it uses a smart, meaning-based search, so you can ask something like "why did we switch to GraphQL" and get the right passage back, even if you don't remember the exact wording.
Which apps does this work with?
It's built to work with Cursor and Claude Code, and it can connect to any AI assistant that supports the Model Context Protocol.
Do I need an account or an API key to use it?
The core memory search runs entirely on your own computer and needs no account or API key. A key is only needed if you turn on the optional feature that uses an AI model, such as Claude, GPT, or Gemini, to further improve your search results.
How hard is it to set up?
It takes some comfort with installing developer tools — you'll run a setup program in a terminal or use Docker, so it's best suited to people who don't mind a bit of technical setup.
Does my information stay private?
Yes — everything is stored on your own computer by default, and nothing is sent anywhere unless you specifically choose to turn on an online AI feature.
Can it remember files from my computer, not just conversations?
Yes — you can point it at a folder of project files and it will save and index that content for later search too.
Do I need to know how to code to use it?
You won't need to write code to use it day-to-day, but installing it does involve running a few terminal commands, so basic comfort with a computer's command line is helpful.