Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By DuaneNielsenv0.9.0MITIn 1 marketplace
Conversation memory for Claude Code — extracts atomic facts from past sessions and exposes semantic search via MCP
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
📖 The Building Blocks of an Agent Memory System — how this system is designed and how it works under the hood.
Local conversation memory for Claude Code. Parses JSONL session files, extracts atomic facts (EDUs) via the Claude API, embeds them in ChromaDB, and exposes semantic search through an MCP server.
flowchart TB
S["Claude Code session<br/>~/.claude/projects/*.jsonl"]
subgraph WRITE["Ingest pipeline"]
direction TB
P["Parse turns"]
E["Extract EDUs<br/>(atomic facts via Claude API)"]
EM["Embed<br/>nomic-embed-text-v1.5 · 768d"]
IX["LLM-curated project catalog<br/>(Opus · counts + topics + active threads)"]
P --> E --> EM
E --> IX
end
DB[("ChromaDB<br/>cosine + recency decay")]
INDEX[("indices/<project>.md<br/>+ .meta.json hash")]
subgraph READ["Read path (in a new session)"]
direction TB
H1["SessionStart hook<br/>injects catalog into context"]
MS["MCP: memory_status<br/>(pending/ingesting summary)"]
RC["MCP: recall_get_context<br/>(stitched excerpts, via subagent)"]
end
C(["Active Claude conversation"])
S --> P
EM --> DB
IX --> INDEX
INDEX --> H1
S --> MS
DB --> RC
H1 --> C
MS --> C
RC --> C
~/.claude/projects/claude CLI) which decomposes them into Elementary Discourse Units (EDUs) — self-contained atomic factsnomic-ai/nomic-embed-text-v1.5 (768d) and stores them in ChromaDB with cosine similarityscore = similarity * e^(-0.007 * days_ago)Resumed sessions are handled incrementally — existing EDUs are loaded as context, and only new turns are processed.
Installing the plugin registers three MCP tools and two hooks. All run locally; no data leaves your machine except the EDU-extraction calls to the Claude API.
| Tool | What it does | When to use |
|---|---|---|
memory_status | Reports the size of the processed store, time since the last session activity, and a per-session table of conversations not yet ingested (new, updated, or ingesting). | Sanity check at the start of a new conversation. The plugin also calls it for you on UserPromptSubmit. |
ingest_sessions | Processes new or changed Claude Code conversations into searchable memory. Runs the full parse → extract → embed → label pipeline. | When memory_status reports unprocessed conversations and you want them searchable. |
recall_get_context | Searches past Claude Code conversations across all projects and returns a wall of stitched trajectory excerpts matching the query. | When you need the actual content of a past decision/discussion, not just a one-line summary. Always dispatch via an Agent/Task subagent — the wall can be 50-400KB. |
| Hook | Fires on | What it does |
|---|---|---|
SessionStart (default) | Every new conversation | (1) Bootstraps the plugin's .venv if missing. (2) Resets the once-per-session prompted-flag. (3) Injects the per-project memory catalog (project overview + preferences + available-memory counts + active threads + recent activity + keyword cloud) into Claude's context, titled # Conversation memory index — project <name>. The catalog advertises what's available; full content is fetched on demand via recall_get_context. |
SessionStart (matcher: clear) | /clear | Kicks off a fire-and-forget claude-memory ingest of all pending sessions, excluding the new post-clear session whose ID is in the SessionStart payload. |
UserPromptSubmit | First user prompt of a session | Calls memory_status once, then injects an additionalContext directive telling Claude to either silently call ingest_sessions (≤5 pending) or surface the count and ask before ingesting (>5 pending). |
claude plugin marketplace add DuaneNielsen/claude-memory
claude plugin install claude-memory@duane-claude-plugins
The plugin auto-creates a .venv and installs dependencies on first session start via uv sync. The MCP server and hooks are registered automatically.
To allow the plugin's MCP tools to run without permission prompts, add these to your ~/.claude/settings.json allow list:
{
"permissions": {
"allow": [
"mcp__plugin_claude-memory_claude-memory__ingest_sessions",
"mcp__plugin_claude-memory_claude-memory__recall_get_context",
"mcp__plugin_claude-memory_claude-memory__memory_status"
]
}
}
Requires claude CLI to be installed and authenticated (Claude Code). EDU extraction uses the Claude API via the CLI — no local LLM needed.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
claude-memory@duane-claude-plugins is listed by duanenielsen/duane-claude-plugins — review the source before installing
npx claudepluginhub duanenielsen/duane-claude-plugins --plugin claude-memoryPlugins from other owners that cover similar ground