Give Claude Code photographic memory. Every decision, every learning, every client detail — captured automatically, recalled instantly, backed up forever. Zero manual work.
| Feature | What It Does | How It Works |
|---|---|---|
| Auto-Capture | Saves decisions, learnings, errors, client info silently | Detects patterns in conversation, stores via MCP |
| Session Recall | Loads relevant context when you start a new session | Semantic search over recent memories + cloud fallback |
| Cloud Backup | Never lose a memory, even after local compaction | Supabase sync every 5 minutes, never deletes |
| Semantic Search | Find memories by meaning, not just keywords | SQLite-vec embeddings (all-MiniLM-L6-v2, 384d) |
| Session Summaries | Auto-saves outcomes when you wrap up | /session-end captures decisions, open items |
| Cloud Recall | Search cloud for memories deleted locally | /cloud-recall searches Supabase when local is empty |
Every time you start a new Claude Code session, you start from scratch. Past decisions vanish. Client details disappear. Architectural choices you made yesterday are gone.
The built-in MCP Memory Service tries to help, but its consolidation pipeline destroys your data:
| What Happens | Data Lost | Timeline |
|---|---|---|
| Compression | 50-70% of content stripped | Ongoing |
| Forgetting | Low-quality memories permanently deleted | 30-90 days |
| Clustering | Similar memories merged, originals destroyed | Ongoing |
Claude Memory fixes all of this. Auto-capture + cloud backup = total recall, forever.
curl -fsSL https://raw.githubusercontent.com/itsjwill/claude-memory/main/install.sh | bashOr clone and run locally:
git clone https://github.com/itsjwill/claude-memory.git
cd claude-memory
./install.shThat's it. Claude will start capturing memories automatically on your next session.
Claude detects and captures these patterns silently — no action needed:
| Trigger | Example | Memory Type |
|---|---|---|
| Decisions | "Let's go with PostgreSQL" | decision |
| Learnings | "I learned that..." | learning |
| Errors Fixed | "The bug was caused by..." | gotcha |
| Client Info | "Their email is..." | client |
| Preferences | "I prefer tabs over spaces" | preference |
| References | "API key is in .env" | reference |
| Patterns | "We always use..." | pattern |
/capture "Important architectural decision about the database"
/capture "Client prefers weekly updates" --type preference --tags client,processUser: "Thanks, that's all for now"
Claude: [silently saves session summary with outcomes, decisions, open items]
Every new session, Claude automatically searches for:
- Current project context
- Recent activity (last 7 days)
- Related decisions and learnings
- Cloud backup (when local results are sparse)
You pick up exactly where you left off. No context loss.
memory_search(query="database decisions", limit=10)
memory_list(tags=["client"])The local memory service has a 6-phase consolidation pipeline that destroys your data. Cloud backup to Supabase ensures you never lose a single memory.
Local SQLite (read-only) → Supabase (Postgres + pgvector)
├── Syncs every 5 minutes
├── NEVER deletes (only marks local_deleted)
├── Full deletion audit log
└── Semantic search via pgvector
cd claude-memory
./setup-cloud.shThis will:
- Install Python dependencies (
supabase,python-dotenv,numpy) - Prompt for your Supabase project URL and service key
- Create the database schema (4 tables + pgvector)
- Run initial sync of all memories
- Install background daemon (syncs every 5 minutes)
Cost: Free. Supabase free tier (500MB) is more than enough for years of memories.
# Check sync status
python3 -m cloud.cli status
# Manual sync
python3 -m cloud.cli sync --once
# Search cloud memories
python3 -m cloud.cli search "trading bot architecture"
# Restore all from cloud (disaster recovery)
python3 -m cloud.cli restore --all
# Restore deleted memories
python3 -m cloud.cli restore --deleted
# Non-destructive summarization
python3 -m cloud.cli summarize --dry-runWhen local search comes up empty, search the cloud:
/cloud-recall "API authentication decision"
Finds memories that were deleted or compressed locally. The cloud preserves everything forever.
| Solution | Price | Auto-Capture | Cloud Backup | Semantic Search | Open Source |
|---|---|---|---|---|---|
| Claude Memory | Free | Yes | Yes (Supabase free) | Yes | Yes |
| Mem.ai | $15/mo | Partial | Yes | Yes | No |
| Notion AI | $10/mo | No | Yes | Partial | No |
| Rewind AI | $19/mo | Yes | Yes | Yes | No |
| Personal AI | $40/mo | Yes | Yes | Yes | No |
Claude Code
├── Skills (capture, session-start, session-end, cloud-recall)
├── MCP Memory Service (local SQLite + embeddings)
│ └── Fast semantic search (~5ms)
└── Cloud Sync (Supabase)
├── Postgres + pgvector (permanent storage)
├── Never deletes (only marks local_deleted)
├── Deletion audit log (full content preserved)
└── Background daemon (every 5 min)
- Claude Code CLI
- MCP Memory Service (installed automatically)
- Supabase account (optional, for cloud backup — free tier works)
| Type | Use Case | Example |
|---|---|---|
decision |
Architectural and technical choices | "Chose PostgreSQL over MongoDB for ACID compliance" |
pattern |
Reusable code or workflow patterns | "Always use factory pattern for service initialization" |
learning |
New knowledge discovered | "Rate limiting kicks in at 100 req/min" |
preference |
User preferences | "Prefer functional components over class components" |
client |
Client-specific information | "Pinnacle Title — $1,500/mo, contact Russ" |
gotcha |
Pitfalls and warnings | "ccxt returns None for stop order average price" |
reference |
File paths, API locations, credentials | "API keys in /root/.env on production server" |
After installation, memories are stored in:
- Primary: MCP Memory Service (SQLite with embeddings)
- Cloud: Supabase Postgres + pgvector (optional, never deletes)
- Quick Reference:
~/.claude/projects/*/memory/MEMORY.md
Cloud config: ~/.claude-memory-cloud.env
curl -fsSL https://raw.githubusercontent.com/itsjwill/claude-memory/main/uninstall.sh | bashOr manually:
rm -rf ~/.claude/skills/capture
rm -rf ~/.claude/skills/cloud-recall
# Memories in MCP service and Supabase are preserved| Component | Technology | Purpose |
|---|---|---|
| Skills | Claude Code YAML frontmatter | Auto-capture, session management |
| Local Storage | SQLite-vec (all-MiniLM-L6-v2) | Fast semantic search (~5ms) |
| Cloud Storage | Supabase (Postgres + pgvector) | Permanent backup, never deletes |
| Quick Reference | MEMORY.md | Human-readable context file |
| Background Sync | launchd (macOS) | Auto-sync every 5 minutes |
| Repo | What It Does | Stars |
|---|---|---|
| vanta | Open source AI video engine — free Synthesia/Runway alternative | |
| nextjs-animated-components | 110+ free animated React components for Next.js | |
| seoctopus | 8-armed SEO intelligence — MCP server + CLI with 23 tools |
Stop collecting bookmarks. Start shipping.
Join The Agentic Advantage — where builders learn to turn tools into income.
Found something that should be here? Open a PR. Found something broken? Open an issue.
See CONTRIBUTING.md for guidelines.
MIT — Go build something. See LICENSE.