One protocol.
Profiled memory tools
remembers.
SuperLocalMemory exposes profile-selected MCP tools for memory, lifecycle, diagnostics, and optional capabilities. Tool availability and client compatibility must be checked against the installed release.
Example tools.
Profiles define the surface.
The cards below illustrate common workflows. The installed tool list depends on the selected MCP profile, optional features, and release. The profile table below gives the tool count for each profile.
slm_compress call. The CCR identifier is a retrieval capability and expires according to its configured lifetime; it is not a memory fact ID.Pick how many tools your agent sees.
Set SLM_MCP_PROFILE. stdio: slm mcp. HTTP: http://127.0.0.1:8765/mcp/. MCP tools reference →
| Profile | Tools | For |
|---|---|---|
core | 20 | Remember, recall, expand, sessions, optimize, correction review, settling disputes |
code | 40 | Core plus code graph, memory kinds, Brain evidence, profile switching, bounded loops |
mesh | 9 | SLM-Mesh coordination only |
full (and unset) | 60 | Memory, kinds, Brain, optimize, skill evolution, mesh, loops, views and summaries (65 with pictures and documents on) |
power | 72 | Full plus administration, lifecycle and diagnostics (77 with pictures and documents on) |
whole | 112 | Every registered tool |
Install, configure,
then verify.
Use an isolated installer, configure the client explicitly, and prove a real remember() and recall round trip.
Install SLM
Use pipx or uv with Python 3.12–3.14. Mode A does not require a model-provider key for its core path; optional modes and features have separate requirements.
pipx install superlocalmemory slm setup
Add to claude_desktop_config.json
Point a documented MCP client at the SLM server, then run the end-to-end memory contract. Protocol support alone does not prove client compatibility.
{ "mcpServers": { "superlocalmemory": { "command": "slm", "args": ["mcp"] } } }
Verify the connection
Restart your MCP client. Ask it to call get_status — you should see the active profile, mode, provider boundary, data paths, and current store counts.
// In Claude Desktop or Cursor, tell the agent: "Use the superlocalmemory MCP to call get_status" // Expected response: { "success": true, "mode": "A", "provider": "none", "profile": "default", "fact_count": 0 }
HTTP daemon & stdio transport
Use slm start for the local HTTP daemon or slm mcp for a client-owned stdio process. Verify the endpoint and authentication boundary in the installed release.
# Start the local HTTP daemon slm start # Point a supported HTTP MCP client at: "url": "http://127.0.0.1:8765/mcp/"
# A client-owned stdio process slm mcp # Inspect the release-current mode and health slm status --json slm doctor
Verify each
documented MCP client.
Transport and protocol support are prerequisites, not proof. Publish a client only after install, session, remember, recall, update, forget, restart, and uninstall checks pass.
A minimal system prompt
for explicit memory use.
Add these instructions when you want the agent to call the configured SLM tools. Tool availability, policy authorization, and retrieval quality still depend on the installed profile and release.
# 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.
Common questions
recall tool accepts a project filter, but project metadata alone is not an instance boundary — profiles are the isolation unit, and reads across profiles are default-deny.Your agents,
finally remembering.
Install in an isolated environment, approve setup, then verify the memory round trip in your actual client.
Read the guidesMCP tools reference · CLI reference · Getting started
| Transport | How it works | RAM cost | Needs |
|---|---|---|---|
| HTTP (recommended) | All clients share one daemon process | About 2 GB once, flat | slm serve running |
| stdio (universal) | One slm mcp subprocess per connection | About 90 to 110 MB per connection | Nothing; works offline |
mcp-remote bridge | A stdio wrapper that tunnels to HTTP | About 50 MB bridge plus the HTTP pool | npm mcp-remote, global or through npx |
The doc's rule of thumb: use HTTP if the client supports it, use the bridge if the client is stdio-only but you want shared memory use, and fall back to plain stdio when you are offline or running without the daemon. A hand-written config that names mcp-remote directly fails with ENOENT unless the global install was done. Without it, the command has to be npx with -y mcp-remote and the URL as arguments.
slm connect # configure every host it detects
slm connect --list --json # supported host ids and install methods
slm connect cursor # one host
slm connect vscode-copilot --here # run from your project root
# Claude Code, HTTP transport
claude mcp add --transport http superlocalmemory http://127.0.0.1:8765/mcp/
# stdio fallback, in any client's MCP config
{ "command": "slm", "args": ["mcp"] } For Claude Code, the plugin is the recommended route (claude plugin marketplace add qualixar/superlocalmemory, then claude plugin install superlocalmemory@qualixar). It brings the MCP server, skills, sub-agents and hooks. A configuration write leaves host verification pending, so use --verify with the HTTP transport to check the daemon and the MCP protocol, then confirm the registration inside the host. Config files are not hot-reloaded: restart the client after editing. On native Windows, install SLM with pipx or pip first, because the plugin runs the SLM you installed and does not build its own copy.
Each adapter implements a framework's native memory interface and stores through the local SLM data root. Install it next to the framework. The adapters for LangChain, LlamaIndex and CrewAI are on PyPI. The others install from the ide/integrations/ folder of a repository clone, for example pip install ./superlocalmemory/ide/integrations/langgraph.
| Framework | Interface it implements | Class |
|---|---|---|
| LangGraph | BaseStore | SuperLocalMemoryStore |
| Semantic Kernel | VectorStore | SuperLocalMemoryVectorStore |
| Microsoft Agent Framework | ContextProvider, HistoryProvider | SuperLocalMemoryContextProvider, SuperLocalMemoryHistoryProvider |
| LangChain | BaseChatMessageHistory | SuperLocalMemoryChatMessageHistory |
| LlamaIndex | BaseChatStore | SuperLocalMemoryChatStore |
| CrewAI | StorageBackend | SuperLocalMemoryBackend |
| AutoGen | Memory | SuperLocalMemoryMemory |
| Google ADK | BaseMemoryService | SuperLocalMemoryService |
| OpenAI Agents | SessionABC | SLMSession |
from langgraph_superlocalmemory import SuperLocalMemoryStore
store = SuperLocalMemoryStore()
store.put(("users", "1"), "profile", {"name": "Ada", "role": "engineer"})
item = store.get(("users", "1"), "profile") Google ADK, CrewAI and Semantic Kernel need a separate interpreter for the SLM engine, because their dependencies conflict with the engine's pinned runtime. You install SLM into one virtual environment, set SLM_ENGINE_PYTHON to its interpreter, and run your program from a second environment. The adapter starts a local child process over JSON pipes, so no daemon or TCP port is needed. CrewAI supports Python 3.12 to 3.13 only.