The Problem: AI Has No Memory
Every time you start a new conversation with Claude, ChatGPT, or Cursor, you start from zero. The AI doesn't remember:
- What tech stack you chose and why
- The architecture decisions you debated last month
- Your coding preferences and conventions
- The bugs you've already diagnosed
You end up re-explaining the same context over and over. This costs time, tokens, and sanity.
The Solution: MCP + MemPalace
MCP (Model Context Protocol) is an open standard that lets AI tools access external data. Think of it as a USB port for AI — plug in a memory source, and your AI instantly has access to it.
MemPalace is an AI memory system that stores your conversations with semantic search. Connect it via MCP, and your AI can search through months of your conversation history to find relevant context.
The result: you ask "why did we switch from REST to GraphQL?" and your AI finds the exact conversation where you made that decision — verbatim, not summarized.
Setup Guide (60 Seconds)
Option A: Web Version (No Python Required)
-
Export your ChatGPT data
- Go to ChatGPT Settings → Data Controls → Export
- Download the zip from your email, unzip it
-
Upload to MemPalace
- Go to mempalace.me
- Drop
conversations.jsonon the upload area - Preview your palace structure
- Click "Save & Connect via MCP"
-
Connect to your AI tool
Claude Code:
claude mcp add mempalace --transport http https://mempalace.me/api/mcp?token=YOUR_TOKENClaude Desktop (add to
claude_desktop_config.json):{ "mcpServers": { "mempalace": { "type": "url", "url": "https://mempalace.me/api/mcp?token=YOUR_TOKEN" } } }Cursor (add to MCP settings):
{ "mcpServers": { "mempalace": { "type": "url", "url": "https://mempalace.me/api/mcp?token=YOUR_TOKEN" } } } -
Test it — Ask your AI: "What did I discuss about authentication?"
Option B: CLI Version (Fully Local)
# Install
pip install mempalace
# Import your conversations
mempalace mine ~/Downloads/chatgpt-export/ --mode convos
# Test search
mempalace search "database architecture decision"
# Start MCP server
mempalace mcpThen connect your AI tool to the local MCP server.
What Happens Behind the Scenes
- Parsing: Your conversations are parsed into individual exchanges (question + answer pairs)
- Embedding: Each exchange is converted into a 384-dimensional vector using the all-MiniLM-L6-v2 model
- Storage: Text + vectors are stored (ChromaDB locally, or pgvector in the web version)
- Search: When your AI searches, the query is embedded and compared against stored vectors using cosine similarity
- Retrieval: The most similar conversation fragments are returned verbatim
This approach achieves 96.6% recall on the LongMemEval benchmark — because nothing is summarized or discarded.
Available MCP Tools
Once connected, your AI has access to these tools:
| Tool | What it does |
|---|---|
search | Find conversations by meaning (semantic search) |
list_wings | Browse topics in your palace |
list_rooms | See conversations within a topic |
traverse | Read a full conversation with all messages |
status | Overview of your palace (conversation count, wings, rooms) |
Tips for Best Results
- Export regularly — The more conversations in your palace, the more useful it becomes
- Search naturally — Use full questions, not keywords. "Why did we choose PostgreSQL?" works better than "postgres decision"
- Let the AI use it — Most MCP-aware AIs will automatically search your palace when they need context. You don't always need to explicitly ask.
FAQ
Does the AI see all my conversations? No. The AI only sees results from specific searches. It doesn't load your entire history into context.
How much does it cost? The CLI version is free (MIT license). The web version (mempalace.me) has a free tier.
Which AI tools support MCP? Claude (Desktop and Code), Cursor, and a growing list of MCP-compatible tools. ChatGPT doesn't natively support MCP, but plugins can bridge this.
Can I delete my data? Yes. CLI version: delete the palace directory. Web version: delete from your account settings.
Ready to give your AI a memory? Try MemPalace →