Claude Desktop · MCP
Add Memory (knowledge graph) to Claude Desktop
Persistent memory across chats via a local knowledge graph.
One-click installs
claude mcp add-json memory '{"command":"npx","args":["-y","@modelcontextprotocol/server-memory"]}'The Cursor button installs it instantly; the command does the same for Claude Code.
Claude Desktop config (manual)
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}›Stores memory locally. No key needed.
How to add it
01
Open Claude Desktop → Settings → Developer → Edit Config.
02
Paste the block below into claude_desktop_config.json (merge it into "mcpServers" if you already have some).
03
Fill in any placeholder values (paths, API keys).
04
Fully quit and reopen Claude Desktop. The server’s tools appear in the 🔌 menu.
The linked repo is the source of truth — if the package name ever changes, it’ll be current there.