Skip to main content
Claude Code + Supermemory
This integration requires the Supermemory Pro plan. Upgrade here.
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 export SUPERMEMORY_API_URL="http://localhost:6767" and use the API key printed on first boot.

Get Your API Key

Create a Supermemory API key from the API Keys page, then add it to your shell profile so it persists across sessions:

Install the Plugin

How It Works

Once installed, the plugin runs automatically:
  • Context Injection — On session start, relevant memories are fetched and injected into Claude’s context. This includes user preferences, project knowledge, and past interactions.
  • Auto-Capture — Tool usage is captured and stored during the session for future context.

What Gets Captured

ToolCaptured As
EditEdited src/auth.ts: "old code..." → "new code..."
WriteCreated src/new-file.ts (500 chars)
BashRan: npm test (SUCCESS/FAILED)
TaskSpawned agent: explore codebase

Commands

/supermemory:logout

Log out from Supermemory and clear saved credentials.

Configuration

Environment Variables

Settings File

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

Next Steps

GitHub Repository

Source code, issues, and detailed README.

OpenClaw Plugin

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