thedotmack/claude-mem
A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresses it with AI (using Claude's agent-sdk), and injects relevant context back into future sessions.
Claude-Mem is an open-source TypeScript plugin for Claude Code that automatically records coding sessions, applies AI-driven semantic compression using Claude's agent-sdk and tools like ChromaDB and Mem0, and retrieves relevant context via RAG for future interactions.
Best for
Our Review
Claude-Mem dominates AI memory plugins for Claude Code -- 45,965 GitHub stars and 3,508 forks as of April 2026. Built in TypeScript under NOASSERTION license, it turns ephemeral chats into lasting knowledge.
What Claude-Mem does:
- •Session auto-capture tracks every Claude action, code output, and decision during coding sessions without manual input.
- •AI-powered compression leverages Claude's agent-sdk to summarize and condense long histories into compact, searchable memories.
- •Context injection feeds relevant past insights into new sessions for immediate productivity gains.
- •Local vector storage uses ChromaDB and SQLite for embeddings, keeping data private on your machine.
- •Semantic RAG retrieval pulls precise context matches via embeddings for accurate recall over time.
- •Supermemory integration combines Mem0 and OpenMemory for advanced long-term retention.
- •20+ language docs README translations cover Chinese, Japanese, Spanish, French, and more for global teams.
Claude-Mem ecosystem:
- •Claude Code native plugs directly into the Claude Code environment for seamless agent workflows.
- •Anthropic agent-sdk builds on official tools for reliable AI compression and search.
- •ChromaDB backend pairs with popular vector DB for scalable local memory.
Getting started:
Clone the repo: git clone https://github.com/thedotmack/claude-mem. Install dependencies: npm install. Activate in Claude Code via plugin settings or npx claude-mem init. Full setup in docs/README.md. Run your first session and watch memories build.
Cons
- Requires existing Claude Code installation -- standalone use not supported.
- No official releases or pre-built binaries -- manual npm setup needed.
- Local-only storage lacks cloud sync across devices.
- Dependent on Anthropic API costs for compression runs.
Our Verdict
Developers who code with Claude daily pick Claude-Mem to eliminate context loss. It cuts setup time from minutes to seconds per session. Skip if you avoid Anthropic tools.
Vibe builders extending AI agents add this for memory persistence. Pair it with Claude Code to prototype faster. Skip if your stack skips plugins.
Teams in multi-language environments benefit from translated docs. thedotmack maintains active updates. Skip if you need enterprise hosting.
Frequently Asked Questions
What does claude-mem do?
Claude-Mem captures full Claude Code sessions and compresses them into retrievable memories. It uses ChromaDB for local embeddings and Claude's agent-sdk for summarization. Developers regain context instantly in new chats.
Who created claude-mem?
thedotmack owns and authors claude-mem. The repo hit 45,965 stars by April 2026. It integrates deeply with Claude Code from the same ecosystem.
How does claude-mem store data?
Claude-Mem stores memories locally in ChromaDB or SQLite. Semantic embeddings enable fast RAG retrieval. No cloud dependency keeps it private.
claude-mem vs Mem0?
Claude-Mem specializes in Claude Code sessions with auto-capture. Mem0 offers general-purpose memory APIs. Choose claude-mem when using Claude Code, Mem0 when building custom agents.
Is claude-mem performant in 2026?
Tavily reports claude-mem excels in 2026 for AI coding with semantic compression. It handles 100+ sessions efficiently on standard hardware. Local storage ensures low latency.
What is claude-mem?
Claude-Mem is an open-source TypeScript plugin for Claude Code that automatically records coding sessions, applies AI-driven semantic compression using Claude's agent-sdk and tools like ChromaDB and Mem0, and retrieves relevant context via RAG for future interactions.
How do I install claude-mem?
Visit the GitHub repository at https://github.com/thedotmack/claude-mem for installation instructions.
What license does claude-mem use?
claude-mem uses the Other license.
What are alternatives to claude-mem?
Explore related tools and alternatives on My AI Guide.
Great for: Pro Vibe Builders
Skip if: You need something more beginner-friendly or guided
Open source & community-verified
Other licensed — free to use in any project, no strings attached. 62,986 developers have starred this, meaning the community has reviewed and trusted it.
Reviewed by My AI Guide for relevance, quality, and active maintenance before listing.