Local-first ยท Privacy-preserving ยท MCP-native

Persistent memory
for your AI agents

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.

Get your free API keyRead the docs โ†’
~/.claude/claude_desktop_config.json
{
  "mcpServers": {
    "memory": {
      "command": "docker",
      "args": ["exec", "-i", "memorylayer",
               "python", "-m", "src.mcp_server"],
      "env": { "MEMORY_API_KEY": "sk-ml-..." }
    }
  }
}

Why MemoryLayer

๐Ÿ”’

Privacy-first

Memory lives in SQLite on your machine. Content never leaves. Only anonymous usage counts reach the cloud.

โšก

Hybrid search

Semantic HNSW + BM25 keyword search with cross-encoder reranking. Finds exactly what's relevant.

๐Ÿณ

One Docker command

Runs as a sidecar container. Any MCP-compatible agent connects instantly โ€” Claude, GPT, Cursor, and more.

๐ŸŒ

REST + MCP

Use the MCP stdio server for agent workflows, or the REST API for custom integrations and scripts.

How it works

1

Run the container

docker run -d memorylayer/memorylayer:latest

2

Add your API key

Get a free key at memorylayer.in โ€” paste into MCP config

3

Agent remembers everything

Store, search, and recall across sessions automatically

Simple pricing

Start free. Upgrade when you need more calls.

Free
$0
200 calls/day
Start free
Pro
$19/mo
2,000 calls/day
Get Pro
Pro+
$79/mo
20,000 calls/day
Get Pro+

Full breakdown on the pricing page