Prompt & Done · CLAUDEMEM

claude-mem: Claude Code remembers yesterday

An open-source plugin that records what Claude does in each session, summarizes it with AI, and loads the relevant context back at the start of your next session.

Checked 5 Nov 2026 on the project's README and docs (github.com/thedotmack/claude-mem, docs.claude-mem.ai). Not affiliated with Anthropic.

1 Install (pick one)

Inside Claude Code, two commands:

/plugin marketplace add thedotmack/claude-mem
/plugin install claude-mem

Then restart Claude Code. Or from a terminal (Node 20+):

npx claude-mem install

Use the /plugin commands or npx claude-mem install, not npm install -g claude-mem (that installs only the SDK/library, no hooks).

github.com/thedotmack/claude-mem: Quick Start

2 What it does

Captures every tool call Claude makes (file reads, writes and edits, shell commands, searches). Summarizes each one with AI into short observations (what happened, key facts, type such as bugfix or decision, files touched), plus a session summary when Claude finishes: request, what was investigated, learned, completed, next steps. Loads context from your recent sessions automatically when a new session starts (the docs say the last 10 sessions).

Everything is stored in a local SQLite database, with a web viewer served by the local worker (see the worker URL printed on startup; memory, sessions and settings live at /viewer).

docs.claude-mem.ai: Getting Started

3 Ask your past work questions

Claude can search the memory with three MCP tools: search (a compact index, filter by type or date), timeline (what was happening around a result) and get_observations (full details for the IDs you chose). Example from the README: search(query="authentication bug", type="bugfix", limit=10). Filtering before fetching is what keeps it cheap in tokens.

docs.claude-mem.ai: Search Tools

! The honest bits

It uses a model. The summarizing step calls an AI. After npx claude-mem install you sign in and get a 30-day free trial of the claude-mem observer; afterwards memory falls back to your Anthropic plan unless you subscribe, or you can point it at your own OpenRouter or Gemini key instead. You can skip the sign-in with an explicit --provider flag.

Privacy. Wrap anything you don't want stored in <private> tags. Settings live in ~/.claude-mem/settings.json. Optional cloud sync and screenshot capture are off unless you turn them on.

License: Apache-2.0. Requires Node 20+; Bun and uv are installed automatically if missing. Works with Claude Code and also OpenCode, Codex, Gemini and others through separate installers.

github.com/thedotmack/claude-mem