Claude Mem logo

Claude Mem

Free

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

FreeFree tier
Type
Open Source

About Claude Mem

claude-mem is an open-source memory plugin for Claude Code and other AI agents. It captures structured observations (decisions, fixes, dead ends) while your agent works, compresses them with a second AI, and stores them in a temporal database. With CMEM Cloud, your memory syncs to a private MCP link accessible from any machine, enabling instant recall across sessions. Works with Claude Code, Cursor, Windsurf, OpenCode, Codex CLI, Gemini CLI, and more. The engine is free and open-source (Apache-2.0) with cloud sync free during early access.

Key Features

Captures structured observations automatically while agents work
Hybrid search (full-text + vector recall) for fast retrieval
Private MCP link enables cross-machine memory sync
Offline-first with optional cloud sync
Works with Claude Code, Cursor, Windsurf, OpenCode, Codex CLI, Gemini CLI, and more
Open-source under Apache-2.0 license
Free during early access with unlimited observations

Pros & Cons

Pros
  • No configuration needed to start using the engine
  • Local-first with privacy stripping built in
  • Runs out-of-band without slowing agent performance
  • Supports many agent editors and IDEs
  • Free during early access with no credit card required
Cons
  • Cloud sync is in early access and requires joining a waitlist
  • Team features (shared memory, governance) are not yet available
  • Requires MCP client support for full cross-machine functionality

Best For

Developers using AI coding agents to maintain context across sessionsTeams collaborating on code with shared agent memoryAvoiding re-explaining project architecture to agentsDebugging and decision tracking over time

FAQ

What is claude-mem?
claude-mem is an open-source memory plugin for Claude Code and other AI agents. While one AI works, a second AI takes notes about what it does — building a searchable memory that persists across every session.
Is my data private?
Yes. claude-mem is local-first: your observations live in a SQLite database on your own machine, with privacy stripping applied as memory is generated. Cloud sync is strictly opt-in.
What's an MCP link?
An MCP link is a personal MCP server URL that gives any MCP client — Claude Code, Cursor, Codex CLI, and more — secure access to your memory from anywhere.
Does it slow my agent down?
No. Observation generation runs out-of-band, so it doesn't block your agent. Sessions actually get cheaper as your memory grows due to progressive disclosure.
What is RAD?
RAD (Retrieval-Augmented Dreaming) is our term for live observation generation that captures what happened while you work. Dreaming ships in claude-mem today; RAD as an open standard is on the way.
What does cloud cost?
CMEM Cloud is $0 during early access. No credit card is required to join the waitlist.