claude-mem: Claude Code Got Memory
- GitHub Stars: 18,800+
- Language: TypeScript
- License: MIT
Why This Project is Trending
The biggest complaint from Claude Code users was “It forgets everything after the session ends.” [GitHub] claude-mem directly addresses this issue. It automatically captures and compresses all activities of the coding session and injects them as context into the next session.
In simple terms, it’s a plugin that gives Claude Code long-term memory. With over 18,800 stars and 1,300 forks, it has become the most popular extension tool in the Claude Code ecosystem. [GitHub]
What Can You Do?
- Persistent Memory: Context doesn’t disappear even after the session ends. When you continue fixing a bug you were working on yesterday, you don’t need to explain it from the beginning.
- Progressive Disclosure: Retrieves only the necessary information by searching memory by layer. Provides accurate context while minimizing token costs.
- Natural Language Search: If you ask, “Where was the authentication logic I modified last week?”, it finds it in the project history.
- Web UI Dashboard: You can check the real-time memory stream at localhost:37777. You can transparently see what is being saved.
- Privacy Control: You can exclude sensitive information from memory with the <private> tag.
Quick Start
# Add from the plugin marketplace
> /plugin marketplace add thedotmack/claude-mem
# Install
> /plugin install claude-mem
After installation, just restart Claude Code. The context of the previous session will appear automatically. The key is that you don’t have to do anything manually. [GitHub]
Where is it Good to Use?
It is essential for developers working on long-term projects with Claude Code. It especially shines when dealing with complex codebases or implementing features over several days.
Personally, I think it’s more useful for freelancers or developers who work on multiple projects. Because the context is stored separately for each project, the flow is not interrupted even if you switch from project A to project B and then return.
Points to Note
- Token usage may increase. As much as memory is injected, basic token consumption increases. However, it is optimized with a progressive disclosure method, so it is not as severe as you might think.
- v9.0.12 is the latest version (released January 28, 2026). It is a stable project that has undergone 174 releases, but it is good to check regularly as the update cycle is fast.
Similar Projects
Cursor’s built-in context management is a tool for a similar purpose. However, if you mainly use Claude Code, claude-mem is close to the only option. Note that it is a community plugin, not an official Anthropic feature.
Frequently Asked Questions (FAQ)
Q: Is it free to use?
A: It’s completely free. It is distributed under the MIT license and is an open source project. You can use all functions just by installing it without a separate subscription or payment. However, the token cost of Claude Code itself is separate.
Q: Where is the memory data stored?
A: It is stored locally. It is not sent to an external server, so you can use it without worrying about code security. You can directly check the stored content in the web UI and delete it if necessary.
Q: Does it conflict with existing Claude Code settings?
A: Because it works in the form of a plugin, it does not affect existing settings. If a problem occurs after installation, you can return to the original state by simply deactivating the plugin. Stability has been verified through 174 releases.
If this article was helpful, please subscribe to AI Digester.
Reference Materials
- GitHub Repository – thedotmack/claude-mem (2026-01-28)