supermemory is running on this machine. embeddings, storage, and search all happen locally — nothing leaves your laptop.
endpoint
api key
data directory
build
Use the same SDK and REST API as the cloud, just pointed at your machine. Whatever you build here is portable — flip the base URL and ship it to production.
install the sdk
npm install supermemory # or: bun add supermemory · pnpm add supermemory
use it
import Supermemory from "supermemory"
const client = new Supermemory({
apiKey: "sm_vNc6PiLgagk9rmS639TCGS_1dJGNCVfQHMHzMqlsS1cZc9p88MeG0AfA8et4ZsFE84z6rFzaVWM8rJ11tZU9XTZ",
baseURL: "http://localhost:6767",
})
await client.memories.add({
content: "running on my laptop. zero cloud.",
})
const results = await client.search.execute({
q: "what's running on my laptop?",
})curl, if you prefer
curl -X POST http://localhost:6767/v3/documents \
-H "Authorization: Bearer sm_vNc6PiLgagk9rmS639TCGS_1dJGNCVfQHMHzMqlsS1cZc9p88MeG0AfA8et4ZsFE84z6rFzaVWM8rJ11tZU9XTZ" \
-H "Content-Type: application/json" \
-d '{"content": "supermemory is running locally!"}'use
Point your existing tools at this local instance. Click any plugin for setup steps — base URL and key are pre-filled for you.
export SUPERMEMORY_BASE_URL="http://localhost:6767" export SUPERMEMORY_CC_API_KEY="sm_vNc6PiLgagk9rmS639TCGS_1dJGNCVfQHMHzMqlsS1cZc9p88MeG0AfA8et4ZsFE84z6rFzaVWM8rJ11tZU9XTZ"
/plugin marketplace add supermemoryai/claude-supermemory /plugin install claude-supermemory
export SUPERMEMORY_BASE_URL="http://localhost:6767" export SUPERMEMORY_API_KEY="sm_vNc6PiLgagk9rmS639TCGS_1dJGNCVfQHMHzMqlsS1cZc9p88MeG0AfA8et4ZsFE84z6rFzaVWM8rJ11tZU9XTZ"
bunx opencode-supermemory@latest install
{
"plugin": ["opencode-supermemory"]
}openclaw plugins install @supermemory/openclaw-supermemory
openclaw supermemory setup # base url: http://localhost:6767 # api key: sm_vNc6PiLgagk9rmS639TCGS_1dJGNCVfQHMHzMqlsS1cZc9p88MeG0AfA8et4ZsFE84z6rFzaVWM8rJ11tZU9XTZ
hermes memory setup
base url: http://localhost:6767 api key: sm_vNc6PiLgagk9rmS639TCGS_1dJGNCVfQHMHzMqlsS1cZc9p88MeG0AfA8et4ZsFE84z6rFzaVWM8rJ11tZU9XTZ
{
"mcpServers": {
"supermemory-local": {
"url": "http://localhost:6767/mcp",
"headers": { "Authorization": "Bearer sm_vNc6PiLgagk9rmS639TCGS_1dJGNCVfQHMHzMqlsS1cZc9p88MeG0AfA8et4ZsFE84z6rFzaVWM8rJ11tZU9XTZ" }
}
}
}export SUPERMEMORY_BASE_URL="http://localhost:6767" export SUPERMEMORY_CODEX_API_KEY="sm_vNc6PiLgagk9rmS639TCGS_1dJGNCVfQHMHzMqlsS1cZc9p88MeG0AfA8et4ZsFE84z6rFzaVWM8rJ11tZU9XTZ"
npx codex-supermemory@latest install