Memory MCP Server

Give Claude persistent memory across conversations using a knowledge graph

By Anthropic (official) ★ 5.2K stars official memory 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:

Available Tools (9)

Use Cases

Source & Documentation

GitHub Repository: https://github.com/modelcontextprotocol/servers/tree/main/src/memory

Protocol: Model Context Protocol (MCP) — modelcontextprotocol.io

← Back to MCP Server Directory