# mempalace

> mempalace is an open-source MCP server for developer tools. Local-first verbatim memory store for AI assistants, with semantic search over your chats. It is available on CLI, macOS, Linux, Windows, self-hosted and API.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows, self-hosted, API
- **Website:** http://mempalaceofficial.com
- **Repository:** https://github.com/mempalace/mempalace
- **GitHub stars:** 60,597
- **License:** MIT
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The README says MemPalace keeps conversation history and project notes as verbatim text and retrieves them with semantic search, without summarizing or paraphrasing what was stored. Content is organized into wings for people and projects, rooms for topics, and drawers that hold the original text, so searches can be scoped instead of run across a flat collection.

It runs on the machine itself: ChromaDB is the default vector store, a SQLite database backs a temporal knowledge graph, and embedding runs locally with a choice of two models. The MCP server exposes its palace operations to clients such as Claude Code, and auto-save hooks for Claude Code, Codex CLI and Cursor file new material during a session.

It suits developers and power users of AI coding assistants who want past sessions and project files recallable across runs. The README also lists alternative backends (Qdrant, pgvector, Milvus, and others) and a Docker image for running the MCP server without a local Python setup.

## Features

- **Verbatim drawer storage:** Stores original chunks of text unchanged and indexes them so they can be located later.
- **Scoped semantic search:** Organizes content into wings, rooms and drawers so queries can be limited to a person, project or topic.
- **Local embeddings:** Generates embeddings on the machine with a choice of MiniLM or EmbeddingGemma, with an optional OpenAI-compatible endpoint.
- **Temporal knowledge graph:** Records entity relationships with validity windows, backed by local SQLite.
- **Claude Code and Cursor hooks:** Auto-save hooks file conversation content before context compression and restore recall at session start.
- **Pluggable storage backends:** Ships ChromaDB by default and supports other backends such as Qdrant and pgvector through configuration.

## Good for

- Recalling decisions and context from earlier Claude Code sessions in a new session
- Searching past project notes and files by meaning rather than exact keywords
- Keeping a private, offline-capable memory store for AI assistants
- Tracking which facts about a project or person were true at a given time

## FAQ

### Does MemPalace send my data to the cloud?

The README says nothing leaves your machine unless you opt in, and the palace lives in a single local directory. Using an OpenAI-compatible embedding endpoint is optional and stays on your network when the endpoint is local or on your LAN.

### Which license does it use?

MemPalace is released under the MIT license.

### Does it need an API key?

The README states that no API key is required for the core benchmark path. Optional LLM reranking uses a model of your choice.

### How do I install it?

The README recommends installing the mempalace package with uv tool install, pipx, or pip inside a virtual environment, then running mempalace init.

### Is mempalace free?

Yes. mempalace is open source, so you can use and self-host it for free.

### What are the best alternatives to mempalace?

The closest alternatives to mempalace are Memro, Total Agent Memory, ChatCrystal, Hypermnesia MCP and Memoria — Deterministic AI Memory & Code Intelligence MCP.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [Memro](https://ai-powered.com/mcp/memro): Memro is a freemium MCP server for developer tools.
- [Total Agent Memory](https://ai-powered.com/mcp/total-agent-memory): Total Agent Memory is an open-source MCP server for knowledge and memory.
- [ChatCrystal](https://ai-powered.com/mcp/chatcrystal): ChatCrystal is an open-source MCP server for knowledge and memory.
- [Hypermnesia MCP](https://ai-powered.com/mcp/hypermnesia-mcp): Hypermnesia MCP is an open-source MCP server for knowledge and memory.
- [Memoria — Deterministic AI Memory & Code Intelligence MCP](https://ai-powered.com/mcp/memoria-deterministic-ai-memory-and-code-intelligence-mcp): Memoria — Deterministic AI Memory & Code Intelligence MCP is a freemium MCP server for knowledge and memory.
- [Memtomem](https://ai-powered.com/mcp/memtomem): Memtomem is an open-source MCP server for knowledge and memory.
- [Awareness Local](https://ai-powered.com/mcp/awareness-local): Awareness Local is a freemium MCP server for knowledge and memory.
- [Mnemolith](https://ai-powered.com/mcp/mnemolith): Mnemolith is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/mempalace
