# Claude-Mem

> Persistent memory that records and re-injects context from coding-agent sessions

- Category: Agent skills (`skills`)
- Tags: `open-source`, `free`, `claude-code`, `mcp`
- Official: https://github.com/thedotmack/claude-mem
- Wunderlust: https://wunderlust.xyz/r/claude-mem
- Image: https://wunderlust.xyz/media/claude-mem-poster.jpg
- Video preview: https://wunderlust.xyz/media/claude-mem.webm
- Added: 2026-11-05

## What it is

Open source system that records what the agent does in each session, compresses it with AI and injects the relevant context into later sessions.

## What it’s for

So Claude Code and other agents keep project knowledge between sessions, without repeating explanations.

## Benefits

- Lifecycle hooks capture and re-inject context automatically
- Hybrid search (semantic and keyword) in SQLite with Chroma, through three MCP tools
- <private> tags keep sensitive content out of storage
- Local web viewer and install via npx claude-mem install

## Caveats

- Apache 2.0 license.
- The synced observer has a 30-day free trial; afterward it uses your Anthropic plan or your own OpenRouter or Gemini key. Prices aren't stated.
- Optional Cloud Sync sends memories to cmem.ai; requires Node.js 20 or higher.

## Similar on Wunderlust

- [Codebase Memory MCP](https://wunderlust.xyz/r/codebase-memory-mcp.md): An MCP server that indexes a repository into a local knowledge graph
- [Agent Beacon](https://wunderlust.xyz/r/agent-beacon.md): An open source memory layer that reuses session history across agents
- [Android Skills](https://wunderlust.xyz/r/android-skills.md): Google's skills for coding agents working on Android projects
- [Chrome DevTools MCP](https://wunderlust.xyz/r/chrome-devtools-mcp.md): An MCP server that gives agents control and inspection of a real Chrome
- [Agent Skills (Addy Osmani)](https://wunderlust.xyz/r/agent-skills-addy-osmani.md): A repository of 25 engineering skills for coding agents
- [Expo Skills](https://wunderlust.xyz/r/expo-skills.md): The Expo team's official skills for agents on Expo and React Native apps
