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