thedotmack/claude-mem
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
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #2 among AI repositories ranked this week, and #3 over the last 30 days; #11 of 189 repositories with measured growth this week (top 6%).
This week's +6,613 stars is ahead of its 30-day pace of about +3,631 per week.
5 releases in the last 90 days, the latest today, with 343 contributors on GitHub.
Peaked at #1 in the weekly ranking the week of Dec 7, its best in the past year.
Use Cases & Benefits
- Claude-Mem is a persistent memory compression plugin for Claude Code that captures, compresses, and injects coding session context automatically across sessions.
- Key technologies include AI-powered semantic summarization, SQLite with FTS5 full-text search, Chroma vector database for hybrid search, and a Node.js worker service with a web UI.
- Strengths are automatic context preservation, progressive disclosure for token cost efficiency, and advanced search capabilities; limitations include experimental beta features with added latency.
- Organizations can integrate Claude-Mem to maintain project knowledge continuity, improve developer productivity, and enable intelligent session recall in production Claude Code environments.
- Ideal use cases involve long-term coding projects requiring context retention, natural language search of past work, and teams needing seamless memory across multiple coding sessions.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Persistent memory compression system built for Claude Code.
Claude-Mem seamlessly preserves context across sessions by automatically capturing tool usage observations, generating semantic summaries, and making them available to future sessions. This enables Claude to maintain continuity of knowledge about projects even after sessions end or reconnect.
Start a new Claude Code session in the terminal and enter the following commands:
Restart Claude Code. Context from previous sessions will automatically appear in new sessions.
📚 View Full Documentation - Browse markdown docs on GitHub
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+24,241 stars over 90 days across 63 snapshot days; best day +1,635 on Nov 1.
Forks
9.9K+2.1K
Open issues
86-306
Compared with peers in AI
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| D4Vinci/Scrapling | 99.3K | +8.8K | 65 | 3 days ago |
| thedotmack/claude-mem | 114.5K | +6.6K | 35 | today |
| Leonxlnx/taste-skill | 111.3K | +4.9K | 55 | 2 days ago |
| calesthio/OpenMontage | 78.3K | +4.3K | 40 | — |
| heygen-com/hyperframes | 80.6K | +4.0K | 45 | today |
| github/spec-kit | 148.4K | +4.0K | 65 | 1 day ago |
| Category median | 99.3K | +4.3K | 55 | — |
Discover Repositories
Search across tracked repositories by name or description