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_przH5DVWq3KXd21dzCBWnN_sxtl71hqdSSurAZgWnjDez8tM1A2Xiwy9NrtaSMnu3okysLZLQWkv8y0tygMBQEx",
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_przH5DVWq3KXd21dzCBWnN_sxtl71hqdSSurAZgWnjDez8tM1A2Xiwy9NrtaSMnu3okysLZLQWkv8y0tygMBQEx" \
-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_przH5DVWq3KXd21dzCBWnN_sxtl71hqdSSurAZgWnjDez8tM1A2Xiwy9NrtaSMnu3okysLZLQWkv8y0tygMBQEx"
/plugin marketplace add supermemoryai/claude-supermemory /plugin install claude-supermemory
export SUPERMEMORY_BASE_URL="http://localhost:6767" export SUPERMEMORY_API_KEY="sm_przH5DVWq3KXd21dzCBWnN_sxtl71hqdSSurAZgWnjDez8tM1A2Xiwy9NrtaSMnu3okysLZLQWkv8y0tygMBQEx"
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_przH5DVWq3KXd21dzCBWnN_sxtl71hqdSSurAZgWnjDez8tM1A2Xiwy9NrtaSMnu3okysLZLQWkv8y0tygMBQEx
hermes memory setup
base url: http://localhost:6767 api key: sm_przH5DVWq3KXd21dzCBWnN_sxtl71hqdSSurAZgWnjDez8tM1A2Xiwy9NrtaSMnu3okysLZLQWkv8y0tygMBQEx
{
"mcpServers": {
"supermemory-local": {
"url": "http://localhost:6767/mcp",
"headers": { "Authorization": "Bearer sm_przH5DVWq3KXd21dzCBWnN_sxtl71hqdSSurAZgWnjDez8tM1A2Xiwy9NrtaSMnu3okysLZLQWkv8y0tygMBQEx" }
}
}
}export SUPERMEMORY_BASE_URL="http://localhost:6767" export SUPERMEMORY_CODEX_API_KEY="sm_przH5DVWq3KXd21dzCBWnN_sxtl71hqdSSurAZgWnjDez8tM1A2Xiwy9NrtaSMnu3okysLZLQWkv8y0tygMBQEx"
npx codex-supermemory@latest install