Claude Code auto-memory vs claude-mem

Claude Code auto-memory vs claude-mem: side-by-side comparison of two claude code memory mechanisms systems — architecture, taxonomy, license, pricing, MCP/A2A support, and direct edges.

Claude Code auto-memory · claude-mem

Cost & capability

Claude Code auto-memoryclaude-mem
Capability bandcompetentcompetent
Capability composite7055
Cost tierfree
$/Mtok input0
$/Mtok output0
Use casesCode Generation Focused, Long Running Session, Offline CapableCode Generation Focused, Long Running Session

Where they differ (8)

Rows where both sides have data and the values disagree — the shortlist of dimensions that actually distinguish these two systems.

Claude Code auto-memoryclaude-mem
Capability composite7055
Use casesCode Generation Focused, Long Running Session, Offline CapableCode Generation Focused, Long Running Session
TypePer-project file directoryEpisodic / session-log compression
Created2025-03 (Claude Code v1.0 launched Feb/Mar 2025; auto-memory feature in subsequent releases; v2.1.59+ required)2025-09
Backend storagefile (~/.claude/projects/<project>/MEMORY.md)searched not found
Multi-tenancyhard-isolation (per project)searched not found
MCPnative (first-party) — Claude Code consumes MCPnative (first-party)
OpenTelemetrysearched not foundno

At a glance

Claude Code auto-memoryclaude-mem
SectionClaude Code memory mechanisms Claude Code memory mechanisms
TierT1 T1
TypePer-project file directory Episodic / session-log compression
Created2025-03 (Claude Code v1.0 launched Feb/Mar 2025; auto-memory feature in subsequent releases; v2.1.59+ required) 2025-09
Latest release v12.7.0 2026-05-06
License AGPL-3.0
GitHub 72.7k★ +9.1k/mo TypeScript
Pricing free / open source (AGPL-3.0); no paid tier
Backend storagefile (~/.claude/projects/<project>/MEMORY.md) searched not found
Deployment local — SQLite + FTS5 per project; optional Chroma vector; no cloud
API surface searched not found
Embedding searched not found
Multi-tenancyhard-isolation (per project) searched not found
MCPnative (first-party) — Claude Code consumes MCP native (first-party)
A2Anot supported not supported
OpenTelemetrysearched not found no
Optimised forClaude-Code-native + MCP-portable memory Claude-Code-native + MCP-portable memory
Anti-fitnot for non-Claude-Code clients (some are MCP-portable) not for non-Claude-Code clients (some are MCP-portable)

Taxonomy

AxisClaude Code auto-memoryclaude-mem
storagefilefile
retrievalinjectioninjection
persistencecross-sessioncross-session
updateappend-onlyconsolidation
unitfactsummary
governanceuser-controllableinspectable
conflictappendappend

Pros & cons

Claude Code auto-memory

Pros: Per-project automatic memory built into the runtime — no plugin install, no external store, no extra prompts.

Cons: Single-vendor lock-in to Claude Code; no inspect/edit UI for what's been auto-saved; opaque to other tools.

claude-mem

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.

Rows last verified 2026-05-14 / 2026-05-14. Data is CC-BY-4.0 — see how to read this.