claude-mem vs codebase-memory-mcp (DeusData)

claude-mem vs codebase-memory-mcp (DeusData): side-by-side comparison of two claude code memory mechanisms systems — architecture, taxonomy, license, pricing, MCP/A2A support, and direct edges.

claude-mem · codebase-memory-mcp (DeusData)

Recommend between these two →

Cost & capability

claude-memcodebase-memory-mcp (DeusData)
Capability bandcompetentcompetent
Capability composite5545
Cost tierfreefree
$/Mtok input00
$/Mtok output00
Use casesCode Generation Focused, Long Running SessionCode Generation Focused, Long Running Session, Offline Capable, Analytical Summarization

Where they differ (15)

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

claude-memcodebase-memory-mcp (DeusData)
Capability composite5545
Use casesCode Generation Focused, Long Running SessionCode Generation Focused, Long Running Session, Offline Capable, Analytical Summarization
TypeEpisodic / session-log compressionTree-sitter knowledge-graph MCP for code
Created2025-092026 (active 2026 release cadence; latest v0.6.1 2026-05-04)
Latest releasev12.7.0 2026-05-06v0.6.1 / 2026-05-04
LicenseAGPL-3.0MIT
GitHub72.7k★ +9.1k/mo TypeScript2.1k★ (DeusData/codebase-memory-mcp)
Pricingfree / open source (AGPL-3.0); no paid tierfree / open source (MIT); no paid tier
Backend storagesearched not foundSQLite (WAL mode) at ~/.cache/codebase-memory-mcp/
Deploymentlocal — SQLite + FTS5 per project; optional Chroma vector; no cloudLocal — single static binary (macOS arm64/amd64; Linux arm64/amd64; Windows amd64)
API surfacesearched not foundMCP (stdio) — 14 tools incl. index_repository / search_graph / trace_call_path / query_graph (Cypher-like) / get_architecture / detect_changes / manage_adr / search_code / get_code_snippet / ingest_traces / list_projects / delete_project / index_status / get_graph_schema
MCPnative (first-party)native (first-party MCP server)
OpenTelemetrynosearched not found
Optimised forClaude-Code-native + MCP-portable memorystructural code knowledge graphs (token-efficient; 99.2% reduction vs grep) + sub-ms queries + 155-language tree-sitter coverage
Anti-fitnot for non-Claude-Code clients (some are MCP-portable)not for non-code memory; not for natural-language conversation memory; SEMANTICALLY_RELATED edges require optional embedding pipeline

At a glance

claude-memcodebase-memory-mcp (DeusData)
SectionClaude Code memory mechanisms Claude Code memory mechanisms
TierT1 T1
TypeEpisodic / session-log compression Tree-sitter knowledge-graph MCP for code
Created2025-09 2026 (active 2026 release cadence; latest v0.6.1 2026-05-04)
Latest releasev12.7.0 2026-05-06 v0.6.1 / 2026-05-04
LicenseAGPL-3.0 MIT
GitHub72.7k★ +9.1k/mo TypeScript 2.1k★ (DeusData/codebase-memory-mcp)
Pricingfree / open source (AGPL-3.0); no paid tier free / open source (MIT); no paid tier
Funding searched not found
Backend storagesearched not found SQLite (WAL mode) at ~/.cache/codebase-memory-mcp/
Deploymentlocal — SQLite + FTS5 per project; optional Chroma vector; no cloud Local — single static binary (macOS arm64/amd64; Linux arm64/amd64; Windows amd64)
API surfacesearched not found MCP (stdio) — 14 tools incl. index_repository / search_graph / trace_call_path / query_graph (Cypher-like) / get_architecture / detect_changes / manage_adr / search_code / get_code_snippet / ingest_traces / list_projects / delete_project / index_status / get_graph_schema
Embeddingsearched not found
Multi-tenancysearched not found
MCPnative (first-party) native (first-party MCP server)
A2Anot supported not supported
OpenTelemetryno searched not found
Optimised forClaude-Code-native + MCP-portable memory structural code knowledge graphs (token-efficient; 99.2% reduction vs grep) + sub-ms queries + 155-language tree-sitter coverage
Anti-fitnot for non-Claude-Code clients (some are MCP-portable) not for non-code memory; not for natural-language conversation memory; SEMANTICALLY_RELATED edges require optional embedding pipeline

Taxonomy

Axisclaude-memcodebase-memory-mcp (DeusData)
storagefilegraph
retrievalinjectionstructural-query
persistencecross-sessionproject-bound
updateconsolidationreplacement
unitsummaryfact
governanceinspectableuser-controllable
conflictappenddeterministic-overwrite

Pros & cons

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.

codebase-memory-mcp (DeusData)

Pros: Single-binary zero-deps deployment; 155-language tree-sitter coverage; structural queries replace grep at 120x fewer tokens; SLSA-3 + Sigstore + VirusTotal; team-shared graph artifact format; preprint with reproduction-friendly evaluation.

Cons: Preprint not peer-reviewed; founders/company opaque (DeusData has no disclosed principals); no managed/cloud option; SEMANTICALLY_RELATED edges depend on optional embedding pipeline.

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