claude-mem
https://github.com/thedotmack/claude-mem
Hooks into Claude Code's session lifecycle; compresses tool outputs into ~500-token observations via Claude's agent SDK. SQLite + FTS5 with optional Chroma vector. "Endless Mode" compresses in-flight to extend session length. Captures what the agent did , not just what the user typed.
Active · Verified 2026-10-29 · fresh as of 2026-10-29 · 67 cited facts, 3 with a third-party source · 2 recorded changes · Suggest a correction
At a glance
- Type
- Episodic / session-log compression repo fix
- Tier
- T1
- Section
- Claude Code memory mechanisms
- Latest release
- v15.0.1 (2026-10-20) repo fix
- License
- Apache-2.0 repo fix
- GitHub
- thedotmack/claude-mem — ~104k stars, last commit 2026-10 third-party fix
- Pricing
- Open-source engine free (Apache-2.0, local memory); CMEM Pro hosted observation + cloud sync + private MCP recall: Pro $30/mo, Heavy $70/mo, CMEM Max $100/mo (with billed overage), 30-day free trial; TeamBrain team pricing not announced (pilot) third-party fix
- Funding
- not applicable — not commercial fix
- Freshness
- 2026-10-29 fix
- Layer
- agent-infra repo fix
- Licensing
- open-core (estimate) fix
- SDK languages
- typescript repo fix
- Protocols
- mcp-server repo fix
- Developer activity
- OpenRank 32.18 (12-mo avg 29.84) · 300 participants — 2026-09 third-party fix
Memory taxonomy
- storage
- file
- retrieval
- injection
- persistence
- cross-session
- update
- consolidation
- unit
- summary
- governance
- inspectable
- conflict
- append
When to use
Optimised for: Claude-Code-native + MCP-portable memory
Anti-fit: not for non-Claude-Code clients (some are MCP-portable)
Pros & cons
Pros
OSS plugin that adds auto-memory + indexing without sending data to Anthropic's cloud — strongest privacy posture for Claude Code memory.
Cons
Plugin install + maintenance burden; less polished than first-party auto-memory.
Claims & capabilities
223 releases, 92 contributors. Distributed via Claude Code plugin marketplace.
Technical surface
- API surface
- searched not found
- Backend storage
- searched not found
- Deployment
- local — SQLite + FTS5 per project; optional Chroma vector; no cloud
- Embedding model
- searched not found
- Multi-tenancy
- searched not found
- MCP
- native (first-party)
- A2A
- not supported
- OpenTelemetry
- no
Compare claude-mem with…
Alternatives to claude-mem → live options ranked by shared design, licence, hosting and MCP support
Similar systems
Other claude code memory mechanisms in the catalog, ranked by inbound references.
- Official MCP Memory server T1
Knowledge-graph-based persistent memory MCP server — the canonical reference implementation. npx -y @modelcontextprotocol/server-memory ; configurable via MEMORY_FILE_PATH .
- Claude Code auto-memory T1
Persistent file-based memory at ~/.claude/projects/<project>/memory/ with a MEMORY.md index plus typed memory files (user / feedback / project / reference). Loaded into context across sessions.
- claude-brain T2
Claude Code plugin packaging of Memvid (see Dedicated memory layers). Wraps the Memvid .mv2 single-file store as a slash-command-installable plugin so per-project memory becomes a git-committable file inside the repo.
- Claude-CursorMemoryMCP T2
FastAPI server. RBAC + API-key auth, encryption, backup/recovery, embedding pipeline with deduplication. Only server in this list with role-based access control over pgvector.
- claude-supermemory T2
Wraps Supermemory cloud API. Team memory shared across project members, separate from personal memories. Auto-capture on session end; per-repo config.
- codebase-memory-mcp (DeusData) T1
High-performance MCP server building persistent code knowledge graphs via AST. 155 languages via vendored tree-sitter; SQLite + WAL; single static binary; zero runtime deps. Knowledge graph: Project/Package/File/Module/Class/Function/Method/Interface/Enum/Type/Route/Resource nodes; CALLS/IMPORTS/DEFINES/IMPLEMENTS/INHERITS/HTTP_CALLS/ASYNC_CALLS/EMITS/LISTENS_ON/DATA_FLOWS/SIMILAR_TO/SEMANTICALLY_RELATED edges. 14 MCP tools incl. Cypher-like query.
Sources (66 cited facts, 3 third-party)
Each fact links to the page it came from; the badge says who published it (how to read sources).
- What it is Episodic / session-log compression repo
- What it does & what's distinct Hooks into Claude Code's session lifecycle; compresses tool outputs into ~500-token obse… repo
- Claims / benefits 223 releases, 92 contributors. Distributed via Claude Code plugin marketplace. repo
- Modalities text repo
- Created 2025-09 repo
- Latest release v15.0.1 (2026-10-20) repo
- License Apache-2.0 repo
- GitHub thedotmack/claude-mem — ~104k stars, last commit 2026-10 third-party
- Mindshare 72.7k GitHub stars (+9.1k/mo); highest-starred Claude Code memory plugin repo
- Pricing Open-source engine free (Apache-2.0, local memory); CMEM Pro hosted observation + cloud … third-party
- Deployment local — SQLite + FTS5 per project; optional Chroma vector; no cloud repo
- Founders / pedigree thedotmack (open-source; no institutional affiliation) repo
- Memory volume / scale no scale claim — SQLite + FTS5 per project repo
- Consistency strong repo
- Versioning snapshots repo
- Schema evolution free-form / no schema repo
- Namespace primitives hierarchical repo
- Contradiction handling always append (no resolution) repo
- Forgetting policy consolidation/summarization repo
- MCP support native (first-party) repo
- A2A support not supported repo
- OTel no repo
- Webhooks / events no repo
- Import / export Markdown / JSON repo
- Validated verticals coding agents only - Claude Code users (horizontal SWE) repo
- Time to running <10min (plugin / MCP install) repo
- Anti-fit not for non-Claude-Code clients (some are MCP-portable) repo
- Optimised for Claude-Code-native + MCP-portable memory repo
- Adjacent infrastructure requires Claude Code or MCP client; BYO storage repo
- Pros OSS plugin that adds auto-memory + indexing without sending data to Anthropic's cloud — … repo
- Cons Plugin install + maintenance burden; less polished than first-party auto-memory. repo
- Project & sources GitHub thedotmack/claude-mem repo
- obs-langsmith no repo
- obs-opentelemetry no repo
- obs-datadog no repo
- obs-helicone no repo
- obs-weave no repo
- obs-langfuse no repo
- obs-arize no repo
- obs-custom CLI tool — Claude Code's OTLP surface covers it vendor
- cost-token-budget no repo
- cost-prompt-caching no repo
- cost-semantic-caching no repo
- cost-batching no repo
- cost-model-routing no repo
- cost-streaming-only no repo
- cost-observability-cost-attribution no repo
- eval-langsmith-evals no repo
- eval-braintrust no repo
- eval-weights-and-biases-agent no repo
- eval-helicone-evals no repo
- eval-custom-test-harness no repo
- eval-human-loop no repo
- eval-production-traffic-replay no repo
- commit-trajectory [{"ym":"2025-12","cum":955},{"ym":"2026-01","cum":1053},{"ym":"2026-02","cum":1447},{"ym… repo
- cost-input-usd-per-mtok 0 repo
- cost-output-usd-per-mtok 0 repo
- cost-tier free repo
- cost-pricing-model free-tier repo
- cost-last-verified 2026-06-29 repo
- architecture-deployment-locus hybrid vendor
- positioning-platform-vs-product product repo
- taxonomy-three-layer-rollup agent-infra repo
- developer-activity-opendigger {"activity":512.73,"as_of":"2026-09","openrank_12mo":29.84,"openrank_current":32.18,"par… third-party
- sdk-languages typescript repo
- protocol-support mcp-server repo
What changed
Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)
- 2026-10-29
- Pricing “free / open source (Apache-2.0); no paid tier” → “Open-source engine free (Apache-2.0, local memory); CMEM Pro hosted observation + cloud sync + private MCP recall: Pro $30/mo, Heavy $70/mo, CMEM Max $100/mo (with billed overage), 30-day free trial; TeamBrain team pricing not announced (pilot)” source
- 2026-10-22
- License “AGPL-3.0” → “Apache-2.0” source
- Latest release “v12.7.0 2026-05-06” → “v15.0.1 (2026-10-20)” source
- Pricing “free / open source (AGPL-3.0); no paid tier” → “free / open source (Apache-2.0); no paid tier” source
Related systems
References (2)
- Anthropic Claude (foundation models) depends on at runtime — adjacent-infrastructure cell: requires Claude Code or MCP client; BYO storage
- Model Context Protocol (MCP spec) depends on at runtime — adjacent-infrastructure cell: requires Claude Code or MCP client; BYO storage