skillfed

mempalace

Give your AI a memory — mine projects and conversations into a searchable palace. No API key required.

mempalace v3.7.1 87.8K downloads/30d#13,768 on PyPI58,372
Permissive license MIT Active released

What it is and what it does

MemPalace is a local-first AI memory system that stores conversation history and project files verbatim and retrieves them using semantic search. It does not summarize or paraphrase—it preserves the original text and indexes it into a structured hierarchy (wings for people/projects, rooms for topics, drawers for content), allowing scoped searches rather than flat corpus queries. The retrieval layer is pluggable; ChromaDB is the default, but you can swap in Qdrant, Milvus, pgvector, or SQLite depending on your deployment model.

It runs entirely on your machine with no API calls or external services required. The package ships both as a CLI tool (best installed via uv tool install or pipx to isolate dependencies) and as a Python library. It integrates with Claude Code and MCP-compatible tools. The fact sheet shows 7 runtime dependencies (chromadb, huggingface-hub, numpy, python-dateutil, pyyaml, tokenizers, tomli), all well-established packages.

Use it for:

  • Mine Claude Code session transcripts and project files into a searchable palace, then retrieve context for new sessions without manual summarization.
  • Build a searchable archive of past conversations and decisions for a team or long-running project, scoped by wing (project) and room (topic).
  • Integrate MemPalace as an MCP server into Claude Code or other compatible tools to give the AI access to your project history and conversation context.
  • Deploy a local or server-backed vector search layer (via Qdrant, Milvus, or pgvector) for retrieval-augmented generation without cloud dependencies.
  • Use the CLI to mine codebases and documentation into a palace, then query it from the command line or via the Python library.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

MemPalace stores conversation history and project files as verbatim text and retrieves them via semantic search, with a structured index (wings, rooms, drawers) and pluggable backends including ChromaDB, Qdrant, Milvus, and pgvector.

Yes. MemPalace is actively maintained (release 2026-08-14), has no known vulnerabilities, uses MIT license, and solves a real problem—giving AI tools access to your conversation and project history without API calls. Low install friction via uv/pipx, and the pluggable backend design means you can start with ChromaDB and migrate later. Install it if you work with Claude Code, need local RAG, or want to preserve and search your conversation history.

Install

mempalace on PyPI

pip

pip install mempalace

uv

uv add mempalace

poetry

poetry add mempalace

Installing mempalace

Before you install

Low friction: pure Python wheel, ships as a CLI tool best installed via uv tool install or pipx to avoid dependency conflicts. Active maintenance with release on 2026-08-14 and 58372 GitHub stars.

License in practice

MIT license permits commercial and private use with minimal restrictions—suitable for both personal and production deployments.

Quickstart

# Install via uv (recommended for CLI isolation)
uv tool install mempalace
mempalace init ~/projects/myapp
mempalace mine ~/projects/myapp
mempalace search "why did we switch to GraphQL"

# Or in a virtualenv for library use:
pip install mempalace
import mempalace

First embedding model download (~80 MB for default minilm, ~300 MB for embeddinggemma) requires network access and is cached thereafter. Requires Python >=3.9.

Verify before relying

  • Whether the 96.6% R@5 benchmark on LongMemEval is reproducible in typical user workflows or specific to the test dataset.
  • Performance characteristics and memory footprint when indexing large codebases or multi-year conversation histories.
  • Stability guarantees for the pluggable backend interface across minor version updates.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 7 — chromadb, huggingface-hub, numpy, python-dateutil, pyyaml, tokenizers, tomli
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Downloads 87,816/month — #13,768 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mempalace-3.7.1-py3-none-any.whl

Keywords: ai, chatgpt, chromadb, claude, embeddings, llm, mcp, memory, rag, vector-database

Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Utilities

Tags

local ai memory storagesemantic search conversation historyrag without api callsvector database for projectsembeddings with chromadbclaude code session memorypluggable vector backend
local-firstragvector-search

More Utilities packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

charset-normalizer

Detects and normalizes text encoding from…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

Pygments

Pygments is a syntax highlighter that colorizes…

permissive · top 100 on PyPI

six

Six provides utility functions to write Python…

permissive · top 100 on PyPI

llama-index-vector-stores-qdrant

Integrates Qdrant vector database with…

permissive · top 15,000 on PyPI

llama-index-vector-stores-chroma

Integrates Chroma vector database with…

permissive · top 15,000 on PyPI

cognee

Cognee builds a self-hosted knowledge graph…

permissive · top 15,000 on PyPI

llama-index-vector-stores-milvus

Integrates the Milvus vector database with…

permissive · top 15,000 on PyPI

llama-index-vector-stores-pinecone

Integrates Pinecone vector database with…

permissive · top 15,000 on PyPI

langchain-milvus

Integrates LangChain with Milvus vector…

permissive · top 15,000 on PyPI

llama-index-vector-stores-redis

Integrates Redis as a vector store backend for…

permissive · top 15,000 on PyPI

memsearch

Memsearch builds a searchable semantic memory…

permissive · top 15,000 on PyPI

hindsight-client

A Python client library for interacting with…

permissive · top 15,000 on PyPI

chroma-mcp

Chroma MCP Server bridges Chroma's vector…

permissive · top 15,000 on PyPI