Skip to main content
muse-supermemory is a native Muse Code plugin that gives your agent 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 .muse/supermemory.json (Muse clears hook env, so SUPERMEMORY_API_URL may not reach the plugin) and use the API key printed on first boot.

Install the Plugin

Requires Node.js 18+ on your PATH — the memory hooks and MCP proxy run as Node scripts.
In a Muse session, open /plugins and install from the marketplace. Or from the CLI:
approve trusts the runtime capabilities (hooks + MCP). Without it, the plugin is installed but inert. Local bundle (a clone of the repo):

Authenticate

Muse runs hooks with a cleared environment, so an exported API key in your shell does not reach them. Auth is file-based. The first session opens a browser login and writes ~/.supermemory-muse/credentials.json. If you already logged in through the Claude Code plugin, that key is reused from ~/.supermemory-claude/credentials.json. Or write the file yourself with a key from API Keys:
Check the connection any time with /supermemory:status.

How It Works

Two layers, same as the other coding plugins: Recalled lines are marked . When the model uses one, it keeps that mark and says “from supermemory” — never “from memory”. Slash commands and very short prompts skip recall. Timeouts fail open so a slow network never blocks the turn.

Memory scope

Container tags match Claude Code:
The project ID is a hash of the git remote (or the resolved local path if there isn’t one). The same repo in Muse and Claude Code shares memory. Override with repoContainerTag in project config.

Commands

A bundled skill also tells the agent when to search vs save on its own.

Configuration

Global settings

~/.supermemory-muse/settings.json

Project config

Per-repo overrides in .muse/supermemory.json. A Claude Code config at .claude/.supermemory-claude/config.json is also read, so one repo keeps one container tag across tools.
Add the project file to .gitignore if it contains an API key.

Next Steps

GitHub Repository

Source code, issues, and detailed README.

Claude Code Plugin

The same memory in Claude Code.