{
 "schema_version": 1,
 "generated": "2026-10-30",
 "id": "mempalace-mempalace--give-claude-code-searchable-memory-of-past-sessions",
 "repo": "MemPalace/mempalace",
 "repo_url": "https://github.com/MemPalace/mempalace",
 "repo_slug": "mempalace-mempalace",
 "title": "Give Claude Code searchable memory of your past sessions",
 "page_title": "How to give Claude Code searchable memory of your past sessions with MemPalace",
 "summary": "Install the MemPalace CLI, mine your Claude Code transcripts and project files into a local palace, then search them and load context into a new session.",
 "who": "A developer who keeps re-explaining past decisions to Claude Code because each session starts from zero.",
 "problem": "Old Claude Code sessions are hard to search, and the README warns they expire in 30 days without auto-save hooks wired.",
 "outcome": "A local palace of verbatim sessions and project files you can search in plain language, plus a wake-up command that loads context for a new session.",
 "steps": [
  "Run `uv tool install mempalace` to put the MemPalace CLI in an isolated environment on your PATH (or `pipx install mempalace`)",
  "Run `mempalace init ~/projects/myapp` with the path to your own project",
  "Run `mempalace mine ~/projects/myapp` to mine the project files into the palace",
  "Run `mempalace mine ~/.claude/projects/ --mode convos` to mine your Claude Code sessions (scope with --wing per project)",
  "Run `mempalace search \"why did we switch to GraphQL\"` with your own question to find the original conversation",
  "Run `mempalace wake-up` to load context for a new session",
  "Run `mempalace audit` to score how well organized the palace is (read-only)"
 ],
 "agent_prompt": "Install MemPalace/mempalace with `uv tool install mempalace`, run `mempalace init` on this project, then mine my Claude Code sessions with `mempalace mine ~/.claude/projects/ --mode convos`. Before answering any question about past decisions in this repo, run `mempalace search` with the question and quote the matching original text. Do not delete or move any transcript files.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Beginner",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "The palace holds your full transcripts verbatim, so keep it on a disk you trust. The README points to its Claude Code retention setup checklist for wiring the auto-save hooks and backing up existing JSONL transcripts.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.10 or newer",
  "uv or pipx recommended for the CLI (plain pip only inside a virtualenv)",
  "A vector-store backend (ChromaDB by default, no configuration)",
  "About 300 MB of disk for the embedding model",
  "Docker only if you use the container image"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/mempalace-mempalace/give-claude-code-searchable-memory-of-past-sessions/",
 "md": "https://dedupedai.com/use-cases/mempalace-mempalace/give-claude-code-searchable-memory-of-past-sessions/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/mempalace-mempalace--give-claude-code-searchable-memory-of-past-sessions.json",
 "api_version": "v1"
}
