OpenClaw memory: shared MCP memory for your OpenClaw agent
Updated November 2026
How OpenClaw remembers things, where its file-based memory stops, and how to connect simplemem so your OpenClaw agent shares one memory with your other AI tools.
How memory works in OpenClaw today
OpenClaw keeps memory as Markdown files in the agent's workspace (~/.openclaw/workspace by default). USER.md holds your preferences and MEMORY.md holds durable facts; both are loaded at the start of every session. Daily notes go in memory/YYYY-MM-DD.md and are searchable with the memory_search tool, and a background "dreaming" pass moves the important ones into MEMORY.md. In OpenClaw's own words, the model only remembers what gets saved to disk.
That works well for one agent on one machine. The files live on the Gateway host, per agent, so Cursor, Claude Code, or a second OpenClaw install cannot see them. A large MEMORY.md is also truncated when it is loaded into context. simplemem adds one memory that OpenClaw shares with your other tools, and you can read and edit every entry in a dashboard. Keep OpenClaw's files for workspace notes and use simplemem for facts about you that every tool should know.
Connect simplemem to OpenClaw
- Sign in to simplemem with Google and generate an access key in the dashboard.
- Add the key to
~/.openclaw/.envasSIMPLEMEM_API_KEY=YOUR_ACCESS_KEY. - Open
~/.openclaw/openclaw.jsonand add simplemem undermcp.servers(config below). You can also use the Control UI athttp://127.0.0.1:18789: Settings → MCP → Add server, choose Streamable HTTP, then add the header in the MCP config editor. - Keep
transport: "streamable-http". Without it OpenClaw falls back to SSE, which simplemem does not serve. - Check the connection with
openclaw mcp doctor simplemem --probe. The Gateway picks up MCP changes without a restart; if the tools do not appear, runopenclaw gateway restart. - Tell your agent something worth keeping, like "Remember that I prefer replies under 100 words", and check that it shows up in the dashboard.
Configuration
{
mcp: {
servers: {
simplemem: {
url: "https://simplemem.com/api/mcp",
transport: "streamable-http",
headers: {
Authorization: "Bearer ${SIMPLEMEM_API_KEY}"
}
}
}
}
}SIMPLEMEM_API_KEY=YOUR_ACCESS_KEY
openclaw mcp set simplemem '{"url":"https://simplemem.com/api/mcp","transport":"streamable-http","headers":{"Authorization":"Bearer YOUR_ACCESS_KEY"}}'Replace YOUR_ACCESS_KEY with the key from your simplemem dashboard. Treat it like a password.
Notes
- OpenClaw fills
${SIMPLEMEM_API_KEY}from the environment,./.env, or~/.openclaw/.env, so the key stays out of the config file. openclaw mcp listandopenclaw mcp status --verboseshow every configured server and whether it connected.
What your assistant will save
Nothing is saved automatically. OpenClaw writes a memory only when it calls add_memory, usually because you asked it to remember something. Each memory is one short line, and the dashboard shows which tool saved it:
- Prefers replies under 100 words unless asked for detail.via OpenClaw
- Runs OpenClaw on a Mac mini at home; the Gateway is reachable over Tailscale.via OpenClaw
- Weekly review happens on Sunday evenings.via OpenClaw
- Main side project is a recipe app written in Go.via OpenClaw
You can read, search, edit, delete, and export every memory from the dashboard.
Endpoint
Use https://simplemem.com/api/mcp (Streamable HTTP) with Authorization: Bearer YOUR_ACCESS_KEY. The server has four tools: get_memories, add_memory, update_memory, and delete_memory. See the API reference.
FAQ
Does simplemem replace OpenClaw's MEMORY.md?
No. They work side by side. OpenClaw's files stay useful for notes about the agent's own workspace. simplemem is for facts that your other AI tools should also know.
Why does OpenClaw need transport set to streamable-http?
OpenClaw uses SSE for a URL server unless you say otherwise. simplemem only serves Streamable HTTP, so without the setting the connection fails.
Can my other tools see what OpenClaw saved?
Yes. Every tool connected with a key from the same simplemem account reads and writes the same memories. The dashboard labels each memory with the tool that saved it.
Is my access key safe in the config?
Keep it in ~/.openclaw/.env and reference it as ${SIMPLEMEM_API_KEY}. You can revoke and replace a key from the simplemem dashboard at any time.
Try simplemem
Sign in with Google, generate an access key, and connect your first AI tool. Free for 100 memories. Pro is $5/month or $48/year.