Persistent memory plugin for Claude Code that automatically captures and organizes context across development sessions.
Working with AI coding assistants often means repeatedly explaining context at the start of each session. Claude Mneme solves this by giving Claude Code persistent memory across sessions.
Named after the Greek goddess of memory, Mneme automatically captures prompts, task progress, git commits, and responses through Claude Code's hook infrastructure. When you start a new session, all that context is already there – no manual reloading required.
The plugin operates through Claude Code's built-in hooks:
| Trigger | What It Captures |
|---|---|
| SessionStart | Memory summary + git changes + recent entries |
| UserPromptSubmit | Your questions and requests |
| PostToolUse | Task creation/updates and commits |
| SubagentStop | Agent completion summaries |
| Stop | Assistant response summaries |
Everything gets stored in project-specific memory files under ~/.claude-mneme/projects/. Each project maintains its own isolated context, so switching between codebases doesn't create confusion.
Memory logs grow quickly. When your log reaches 50 entries, Mneme automatically summarizes the older entries using Claude Haiku, keeping the 10 most recent for quick access. This compression preserves important context while keeping the memory footprint manageable.
/remember command for explicit preference and fact storageClaude Mneme is particularly useful for:
The result is an AI assistant that actually remembers your project - its history, your preferences, and the decisions you've made together.