Memory MCP Server
Give Claude persistent memory across conversations using a knowledge graph
The Memory MCP Server adds long-term memory to Claude Desktop and other MCP hosts. It uses a local knowledge graph to store and retrieve facts, entities, and relationships — so your AI assistant remembers your preferences, projects, and context between sessions.
Installation & Configuration
Add this block to your claude_desktop_config.json (or your agent framework's MCP config file):
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Available Tools (9)
create_entitiescreate_relationsadd_observationsdelete_entitiesdelete_observationsdelete_relationsread_graphsearch_nodesopen_nodes
Use Cases
- Personal assistant — Claude remembers your name, preferences, and ongoing projects
- Team knowledge base — build a shared graph of project context
- Research — store and connect concepts across long sessions
Source & Documentation
GitHub Repository: https://github.com/modelcontextprotocol/servers/tree/main/src/memory
Protocol: Model Context Protocol (MCP) — modelcontextprotocol.io