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