Skip to main content
Claude Code + Supermemory
supermemory is a Claude Code plugin that gives your AI persistent memory across sessions. Your agent remembers what you worked on — across sessions, across projects.
Prefer to keep everything on your machine? This plugin works with self-hosted Supermemory — run npx supermemory local, then set baseUrl in project config (or point your install at your local API) and use the API key printed on first boot.

Install the Plugin

Requires Node.js 18+ on your PATH — the memory hooks run as Node scripts.
Migrating from the old claude-supermemory plugin name? It was renamed to supermemory and will not update in place:

Authenticate

Create a Supermemory API key from app.supermemory.ai (or API Keys), then add it to your shell profile:

How It Works

Once installed, the plugin runs automatically:
  • Reasoned recall — Before each turn, Claude decides whether recalling memory would help the current message, and only searches when it is worth it.
  • Auto-capture — Conversations and important tool usage are saved for later sessions.
  • Team memory — Project knowledge is shared separately from personal memories.
  • Explicit skills — Ask Claude to search or save memories when you need control.

Commands

Configuration

Environment Variables

Global Settings

Create ~/.supermemory-claude/settings.json:

Project Config

Per-repo overrides in .claude/.supermemory-claude/config.json. Run /supermemory:project-config or create manually:

Next Steps

GitHub Repository

Source code, issues, and detailed README.

OpenClaw Plugin

Multi-platform memory for Telegram, WhatsApp, Discord, and more.