All tools

$ open tools/claude-mem

GitHub repository· Development· Automation

claude-mem

Automatic memory between Claude Code sessions. One command to install, then it stays out of the way.

Checked· Aug 27, 2026

We have not run it ourselves: described from the docs and the repository.

In numbers

5
Claude Code lifecycle points
3
layers of memory search
Apache-2.0
licence, fine for commercial products
Node 20+
required Node.js version

What it is

claude-mem is a Claude Code plugin that carries context across sessions. A terminal session ends and everything you explained about the project goes with it: the next morning you start over with what the stack is, what you did yesterday and why that file must not be touched. This plugin closes exactly that gap.

It records on its own which files were opened, what got fixed and what you decided, and at the start of the next session it feeds back whatever is relevant. The most interesting part is that token cost was thought through in advance: instead of dumping everything it finds into the context, the search works in layers and hands over full detail only for the entries you picked. No cloud, the whole memory stays on your machine.

How it works

  1. 01hooksAttaches to session start, prompt submitted, tool call, stop and session end, and records observations at those points.
  2. 02summariesAt the end of a session it compresses the record into short summaries and feeds the relevant ones into the next session.
  3. 03SQLite + ChromalocalSQLite as an ordinary file on disk and a Chroma vector database for search by meaning, without exact wording.
  4. 04web UIlocalA local HTTP service with a web interface for browsing the memory, plus a separate skill for questioning it in plain language.
  5. 053-layer searchA compact list of results first, then a timeline around whatever looks interesting, and only then full detail on the picked entries.

Know before installing

  • npm install -g claude-mem completes without errors but installs only the library: the hooks are never registered and the memory never works. Install through npx claude-mem install or from the plugin marketplace; the plugin pulls in Bun and uv itself.
  • Observations are written to disk in the clear. Weigh that if you work with someone else's credentials or with personal data.

Comments

$ grep -l "claude-mem" articles/*.md

Writing about this tool

$ ls tools/ --like=claude-mem

Similar tools

All tools