SuperLocalMemory exposes 7 MCP tools — remember, recall, search, compress, cache, retrieve, and status — so any MCP-compatible agent gets local-first, mathematically-grounded memory in under 2 minutes.
Each tool maps to a core SLM capability. Agents call them via JSON-RPC 2.0 over stdio or SSE — no HTTP server required.
Three steps from pip install to your agent calling remember().
One pip install. No Docker, no cloud setup, no API keys.
pip install superlocalmemory slm init
Point your MCP client at the SLM server. Works with Claude Desktop, Cursor, Windsurf, Cline, and any JSON-RPC 2.0 MCP client.
{ "mcpServers": { "superlocalmemory": { "command": "slm", "args": ["mcp"] } } }
Restart your MCP client. Ask it to call get_status — you should see memory count, mode, and uptime.
// In Claude Desktop or Cursor, tell the agent: "Use the superlocalmemory MCP to call get_status" // Expected response: { "status": "healthy", "mode": "A", "memories": 0, "cache_hit_rate": "—", "version": "3.6.x" }
Run SLM as a persistent HTTP server with SSE transport for long-running agents, CI pipelines, or multi-client setups.
# Start as persistent SSE server slm mcp --transport sse --port 8765 # Point client at the SSE endpoint: "url": "http://localhost:8765/sse"
[mcp] transport = "stdio" # or "sse" port = 8765 # SSE only [memory] mode = "A" # A=full B=local C=api max_items = 1000000 [cache] enabled = true similarity = 0.92 # learned threshold ttl = 3600
SLM follows the MCP specification (2024-11 revision). Any compliant client connects immediately.
Add these instructions to your agent's system prompt. The agent will then automatically use SLM tools to build a persistent memory across every session.
# Add to your system prompt: Before responding to questions, check SuperLocalMemory for relevant context using the recall tool. After making decisions, fixing bugs, or learning preferences, store them using the remember tool. On session start, call get_status to confirm SLM is healthy.
{"project": "my-project"} on remember and recall to create project-scoped memory namespaces within a single SLM instance. No separate processes needed.One pip install. 2 minutes to your first memory. Local, open source, mathematically grounded.