Skip to content
aicoolies logo
Claude-Mem logo

Claude-Mem

Persistent memory plugin for Claude Code with automatic context injection

Claude-Mem is a persistent memory plugin for Claude Code with 92,000+ GitHub stars that captures session context and injects it into future sessions. It features progressive disclosure with token cost visibility, automatic compression, privacy controls with private tags, and Apache-2.0 open-source licensing.

About Claude-Mem

Claude-Mem addresses the critical memory limitation in Claude Code CLI by providing an intelligent, persistent context layer across terminal sessions. Built as an open-source tool with over 92,000 GitHub stars, Claude-Mem automatically captures coding session interactions, user instructions, architecture decisions, and file context, persisting them into an efficient local storage architecture for future session recall.

The architecture employs a hybrid retrieval engine combining SQLite Full-Text Search (FTS5) with Chroma vector embeddings. It implements progressive disclosure with transparent token cost tracking, allowing developers to review exactly how many tokens memory injections consume. Built-in context compression and privacy safeguards allow developers to wrap sensitive credentials and private data in <private> tags to prevent unauthorized persistence.

Licensed under the Apache-2.0 open-source license ($0 software cost), Claude-Mem provides a real-time web viewer UI running on localhost for developers to inspect, edit, and organize persistent memory entries. Claude-Mem seamlessly eliminates repetitive context-setting prompts across complex, multi-day software engineering workflows.

Pricing & Platform Specs

Pricing Summary

100% free and open source under the Apache-2.0 license ($0 software cost). Provides persistent long-term memory for Claude Code CLI using hybrid SQLite FTS5 + Chroma vector search, context compression, tag redaction, and a real-time web viewer UI.

full pricing breakdown →

Supported Platforms

Claude Code plugin; macOS, Windows, Linux

Explore categories, tags & use cases

LSP-powered semantic coding agent via MCP

Serena is a free, open-source coding agent toolkit that provides IDE-like semantic code retrieval and editing capabilities to any LLM via the Model Context Protocol (MCP). Built on Language Server Protocol (LSP) integration, it enables symbol-level navigation, cross-file refactoring, and relational code understanding across Python, TypeScript, Go, Rust, Java, PHP, and more — without requiring file-level reads or text-based search.

Open Source

Multi-agent orchestration platform for Claude Code

Claude-Flow is an open-source multi-agent orchestration platform that deploys dozens of concurrent Claude Code agents with shared memory and coordinated workflows. It enables parallel task execution, hierarchical agent coordination, and persistent context across sessions. Run via npx with zero setup. Described as the leading agent orchestration platform for Claude by industry analysts, it has 9,100+ GitHub stars and is used for complex codebase-wide refactoring and multi-file development tasks.

Open Source

Desktop app for running AI coding agents in parallel

Baton is a desktop application for running multiple AI coding agents in parallel inside isolated git worktrees. It supports Claude Code, Codex CLI, OpenCode, Gemini CLI, visual diffs, status notifications, MCP server support, built-in Git operations, and one-click PRs to GitHub or GitLab.

Open Source

Cut Claude Code token costs by up to 50% with a local plugin that never uploads your code.

WOZCODE is a Claude Code plugin that reduces token consumption by 25–55% using smarter context reads, batched file edits, AST truncation, and Haiku subagents. It installs in seconds with two CLI commands, runs entirely locally with no code upload, and requires no account sign-up. Developers report finishing the same tasks in fewer tokens without changing their existing editor or workflow.

freemium

Command center for Claude Code and Codex — monitor, steer, and voice-control your AI agents from any device.

Omnara is a command center for Claude Code and Codex sessions across desktop, web, mobile, and Apple Watch. Its public site supports cross-device supervision, parallel agents, worktrees, Git, and session-continuity language, with free-offer metadata; teams should verify detailed pricing, relay, privacy, and enterprise controls before standardizing it.

freemiumOpen Source

Persistent memory layer for AI coding agents — keeps Claude Code, Codex, Cursor, and any MCP agent in context across sessions

agentmemory is an open-source MCP server that gives AI coding agents persistent, cross-session memory. Built on hybrid vector-graph search, it achieves 95.2% recall on the LongMemEval-S benchmark while using up to 92% fewer context tokens than naive context injection. Works out of the box with Claude Code, Codex, Cursor, Windsurf, Cline, OpenCode, Kilo Code, Hermes, and any MCP client through 51 MCP tools plus 12 hooks and 4 skills.

Open Source

Side-by-Side Comparisons

agentmemory logo
agentmemory
vs
Claude-Mem logo
Claude-Mem

agentmemory vs claude-mem — Protocol-First Memory Server vs Claude Code-Native Extension

Both agentmemory and claude-mem solve the same problem — AI coding agents that forget everything between sessions — but they approach it from opposite directions. agentmemory is a protocol-first MCP server built to work across the entire coding agent ecosystem, with a hybrid vector-graph architecture and a 95.2% recall score on the LongMemEval-S benchmark. claude-mem is a lightweight, Claude Code-native extension that trades cross-agent portability for zero-configuration simplicity.

agentmemoryClaude-Mem

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Claude-Mem?

Claude-Mem is a persistent memory plugin for Claude Code with 92,000+ GitHub stars that captures session context and injects it into future sessions. It features progressive disclosure with token cost visibility, automatic compression, privacy controls with private tags, and Apache-2.0 open-source licensing.

Is Claude-Mem free?

Yes — Claude-Mem is open source and free to use. 100% free and open source under the Apache-2.0 license ($0 software cost). Provides persistent long-term memory for Claude Code CLI using hybrid SQLite FTS5 + Chroma vector search, context compression, tag redaction, and a real-time web viewer UI.

Is Claude-Mem open source?

Yes — Claude-Mem is open source.

Is Claude-Mem still maintained?

Yes — Claude-Mem is active. Its listing was last verified on September 1, 2026.

What are the best Claude-Mem alternatives?

The first editor-selected Claude-Mem alternatives are Serena, Claude-Flow, Baton, and more.