Claude-Mem
Gives coding agents memory across sessions by recording their work and feeding a summary into the next one
Activity
Figures from the GitHub API, read Dec 1, 2026.
What it is for
Claude-Mem adds long-term memory to coding agents. Hooks in the agent pass each tool call to a small local worker; a second "observer" agent turns that activity into short observations and a session summary; and the next session in the same project starts with a compact index of them, fetching full detail only when needed. Three MCP tools (search, timeline, get_observations) let the agent look things up. The README says it records sessions from Claude Code, Codex, Cursor, OpenCode and 11 more agents, and that Copilot CLI, Goose, Roo Code, Warp and Zed can search the memory but are not recorded.
Memory is stored on your machine in ~/.claude-mem, in SQLite with a Chroma vector index for semantic search, and a local web viewer shows what was captured. Text wrapped in <private> tags is not stored.
Read the install prompts carefully. The project is open source, but the installer steers you towards a paid hosted observer: it asks you to sign in to claude-mem and choosing the hosted observer starts a 30-day trial on a checkout page that asks for a payment method. You can skip all of that with an explicit --provider flag and use your own agent as the observer. Anonymous usage analytics are on by default, and cloud sync is opt-in.
Quickstart
Tested on 2026-12-01 in a clean node:24-bookworm-slim Linux container (arm64, Node.js 24.23.0), claude-mem 17.1.2. No coding agent was installed in the container and we did not sign in to anything.
CLAUDE_MEM_ONLINE_OPTIN=false npx -y claude-mem install
npx -y claude-mem doctor
What we saw: on the bare image the first run stopped with Installation Aborted: bun-missing-after-install. The installer downloads Bun itself and needs curl and unzip to do it; after apt-get install curl unzip the same command finished. It set up Bun 1.4.5 and uv 0.13.10, put the claude-mem launcher in ~/.local/bin, started the worker and printed Worker ready at http://127.0.0.1:37700. Both that address and /viewer returned HTTP 200.
doctor then reported "All required checks passed", with one warning that matters: no Claude CLI was found, so "observation generation will be paused until installed". In other words, the service runs but records nothing until an agent and an observer model are present.
Not tested by us: capturing a real session, memory appearing in a second session, the MCP search tools, the browser setup step, the hosted observer and Cloud Sync. With the opt-out variable set and no terminal attached, the installer asked us nothing and no account was needed.
Before you adopt it
6 of 6 key facts checked- Install commandOne copy-and-paste to get it
- npx claude-mem install, which finds the agents on your machine and asks which to set up; add --ide <name> for one agent. Inside Claude Code: /plugin marketplace add thedotmack/claude-mem, then /plugin install claude-mem. The README warns that npm install -g claude-mem installs only the library and does not register the hooks or the worker.Checked Dec 1, 2026 · source
- Runtime requirementsLanguage version, operating system, key dependencies
- Node.js 20.19 or later in the 20 line, or 22.12 or later (package.json). The installer also sets up Bun and uv itself; in our run on a minimal Debian image that step failed until curl and unzip were present, after which it installed Bun 1.4.5 and uv 0.13.10. The observer needs a model: by default the Claude Code CLI on your machine.Checked Dec 1, 2026 · source
- Hardware needsGPU memory, RAM, disk; whether CPU-only is workable
- No GPU. Disk is the cost: after our install the plugin and its dependencies took 606 MB under ~/.claude, Bun another 116 MB and the npm cache 317 MB. The worker runs as a local service on port 37700.Checked Dec 1, 2026 · source
- Latest releaseA push is not a release
- v17.1.2 · Nov 30, 2026Checked Dec 1, 2026 · source
- MaintainersHow many people the project depends on
- 30+ contributors; the top three account for 82% of commits among the 30 most active (all time)Checked Dec 1, 2026 · source
- Licence caveatsModel weights and commercial terms often differ from the code licence
- Apache-2.0 for this repository. The hosted services the README offers are separate from this code and have their own terms: the claude-mem observer (a 30-day trial that asks for a payment method), CMEM Pro, Cloud Sync and TeamBrain.Checked Dec 1, 2026 · source
- DocumentationWhere the real docs live
- https://docs.claude-mem.aiChecked Dec 1, 2026 · source
- Supported models and providersWhat it works with
- The installer's --provider flag accepts claude, codex, gemini, openrouter or host. Its help text says codex, gemini and openrouter need a cmem.ai sign-in in a browser, while claude and host need no claude-mem account.Checked Dec 1, 2026 · source
- Security recordAdvisories and security policy
- Anonymous usage analytics are on by default; npx claude-mem telemetry disable turns them off. Memory stays in ~/.claude-mem unless you opt in to Cloud Sync. Screenshots from tool calls are kept locally by default and uploaded only when Cloud Sync is on. Content inside <private> tags is not stored.Checked Dec 1, 2026 · source
- BackingCompany or solo maintainer
- Maintained by the account thedotmack, with a commercial hosted service at cmem.ai. The README shows sponsor badges for the Vercel OSS Program, Greptile and SerpApi.Checked Dec 1, 2026 · source
