
Persistent memory for Claude Code. Automatically saves and recalls context from past coding sessions.
Repo EverMind-AI/evermem-claude-code, read from GitHub 17 h ago. EverMind-AI has not joined Take My Repo.
EverMind-AI/evermem-claude-code is a public repo on GitHub by EverMind-AI. Persistent memory for Claude Code. Automatically saves and recalls context from past coding sessions. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It is written mainly in JavaScript, has 63 stars and last changed on 2026-08-28. It is archived: its maker no longer maintains it. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Persistent memory for Claude Code. Automatically saves and recalls context from past coding sessions.

curl -fsSL https://raw.githubusercontent.com/EverMind-AI/evermem-claude-code/main/install.sh | bash
This will:
Get your API key: console.evermind.ai
Visit console.evermind.ai to create an account and get your API key.
Add to your shell profile (~/.zshrc or ~/.bashrc):
export EVERMEM_API_KEY="your-api-key-here"
Reload your shell:
source ~/.zshrc # or source ~/.bashrc
# Add marketplace from GitHub (tracks updates automatically)
claude plugin marketplace add https://github.com/EverMind-AI/evermem-claude-code
# Install the plugin
claude plugin install evermem@evermem --scope user
To update the plugin later:
claude plugin marketplace update evermem
claude plugin update evermem@evermem
Run /evermem:help to check if the plugin is configured correctly.
| Command | Description |
|---|---|
/evermem:help |
Show setup status and available commands |
/evermem:search <query> |
Search your memories for specific topics |
/evermem:ask <question> |
Ask about past work (combines memory + context) |
/evermem:hub |
Open the Memory Hub dashboard |
/evermem:debug |
View debug logs for troubleshooting |
/evermem:projects |
View your Claude Code projects table |
The plugin works automatically in the background:
On Session Start:
π‘ EverMem: Last session (2h ago): "Implementing JWT authentication..." | 3 memories
Recent memories and last session summary are loaded to provide context.
On Prompt Submit:
You: "How should I handle authentication?"
β
π Memory Retrieved (2):
β’ [0.85] (2 days ago) Discussion about JWT token implementation
β’ [0.72] (1 week ago) Auth middleware setup decisions
β
Claude receives the relevant context and responds accordingly
On Response Complete:
πΎ EverMem: Memory saved (4 messages)
The Memory Hub provides a visual interface to explore your memories:
To use the hub, run /evermem:hub and follow the instructions.
| Variable | Description | Required |
|---|---|---|
EVERMEM_API_KEY |
Your EverMem API key | Yes |
Create .claude/evermem.local.md in your project root for per-project configuration:
---
group_id: "my-project"
---
Project-specific notes here.
# Check if the key is set
echo $EVERMEM_API_KEY
# If empty, add to your shell profile and reload
export EVERMEM_API_KEY="your-key-here"
source ~/.zshrc
Enable debug logging to troubleshoot issues:
# Set environment variable
export EVERMEM_DEBUG=1
# View logs in real-time
tail -f /tmp/evermem-debug.log
# Clear logs
> /tmp/evermem-debug.log
Run /evermem:debug to view recent debug logs directly.
MIT
The following sections explain how EverMem works internally. This is useful for developers who want to understand the implementation or contribute to the project.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Session Start β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SessionStart Hook β
β β’ Fetches recent memories from EverMem Cloud β
β β’ Loads last session summary from local storage β
β β’ Injects session context into Claude's prompt β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Your Prompt β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β UserPromptSubmit Hook β
β β’ Searches EverMem Cloud for relevant memories β
β β’ Displays memory summary to user β
β β’ Injects context into Claude's prompt β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Claude Response β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Stop Hook β
β β’ Extracts conversation from transcript β
β β’ Sends to EverMem Cloud for storage β
β β’ Server generates summary and stores memory β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Session End β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SessionEnd Hook β
β β’ Parses transcript to extract first user prompt β
β β’ Saves session summary to local storage β
β β’ No AI calls - pure local data extraction β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Reference: Claude Code Hooks Documentation
Claude Code provides a hooks system that allows plugins to execute custom scripts at specific lifecycle events. Hooks are event-driven - they don't run continuously but are triggered by Claude Code at specific moments.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Claude Code (Main Process) β
β β
β 1. Event occurs (e.g., user sends message, Claude responds) β
β 2. Claude Code reads hooks.json β
β 3. Finds matching hooks for the event β
β 4. Spawns child process: node <script.js> β
β 5. Sends JSON data via stdin pipe ββββββββββββββ β
β 6. Reads response from stdout β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Hook Script (Child Process) β
β β
β // Read JSON from stdin (sent by Claude Code) β
β let input = ''; β
β for await (const chunk of process.stdin) { β
β input += chunk; β
β } β
β const hookInput = JSON.parse(input); β
β β
β // Process and return result via stdout β
β console.log(JSON.stringify({ ... })); β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Event | Trigger | Use Case |
|---|---|---|
SessionStart |
Claude Code starts | Load context, setup environment |
UserPromptSubmit |
User sends a message | Validate prompt, inject context |
PreToolUse |
Before tool execution | Approve/deny/modify tool calls |
PostToolUse |
After tool execution | Validate results, run linters |
Stop |
Claude finishes responding | Save conversation, cleanup |
Notification |
System notification | Custom alerts |
{
"hooks": {
"EventName": [
{
"matcher": "*", // Pattern to match (for tool events)
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/my-hook.js",
"timeout": 30 // Timeout in seconds
}
]
}
]
}
}
Environment Variables:
${CLAUDE_PLUGIN_ROOT} - Plugin directory path (for plugins)${CLAUDE_PROJECT_DIR} - Project root directory{
"hooks": {
"SessionStart": [...], // Load session context + track groups locally
"UserPromptSubmit": [...], // Search & inject memories
"Stop": [...], // Save conversation to cloud
"SessionEnd": [...] // Save session summary locally
}
}
The SessionStart hook runs when Claude Code starts a new session. It loads recent memories from the cloud and last session summary from local storage.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Claude Code Session Start β
β β
β 1. Claude Code spawns: session-context-wrapper.sh β
β 2. Wrapper checks npm dependencies β
β 3. Wrapper executes: node session-context.js β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β session-context.js β
β β
β 1. Read hook input from stdin (contains cwd) β
β 2. Save group to local storage (groups.jsonl) β
β 3. Fetch recent memories from EverMem API (limit: 100) β
β 4. Take the 5 most recent memories β
β 5. Get last session summary from sessions.jsonl β
β 6. Output systemMessage + systemPrompt via stdout β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Claude Code Receives β
β β
β β’ systemMessage: "π‘ EverMem: Last session (2h ago): \"...\" | 5 memories"β
β β’ systemPrompt: <session-context>...</session-context> β
β β
β The systemPrompt is injected into Claude's context window β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
{
"session_id": "<session-uuid>",
"cwd": "/path/to/your/project",
"permission_mode": "default",
"hook_event_name": "SessionStart"
}
EverMind-AI/evermem-claude-code is a public repo on GitHub by EverMind-AI. Persistent memory for Claude Code. Automatically saves and recalls context from past coding sessions.
It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
No. It is archived on GitHub: its maker no longer maintains it.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run evermem-claude-code. What is known comes from GitHub. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It is archived: its maker no longer maintains it. It has 63 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/EverMind-AI/evermem-claude-codeTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.