MemoryLayer gives Claude, GPT, and any MCP agent a long-term memory that runs entirely on your machine. Semantic search, hybrid retrieval, zero data egress.
{
"mcpServers": {
"memory": {
"command": "docker",
"args": ["exec", "-i", "memorylayer",
"python", "-m", "src.mcp_server"],
"env": { "MEMORY_API_KEY": "sk-ml-..." }
}
}
}Memory lives in SQLite on your machine. Content never leaves. Only anonymous usage counts reach the cloud.
Semantic HNSW + BM25 keyword search with cross-encoder reranking. Finds exactly what's relevant.
Runs as a sidecar container. Any MCP-compatible agent connects instantly โ Claude, GPT, Cursor, and more.
Use the MCP stdio server for agent workflows, or the REST API for custom integrations and scripts.
docker run -d memorylayer/memorylayer:latest
Get a free key at memorylayer.in โ paste into MCP config
Store, search, and recall across sessions automatically
Start free. Upgrade when you need more calls.
Full breakdown on the pricing page