Back to MCP Servers

@modelcontextprotocol/server-memory

OFFICIAL

Reference knowledge-graph memory. Stores entities, relations, and observations so agents remember context across sessions.

Category: Core · Works with: Claude Code, Grok Build, Claude Desktop, Cursor

What it does

Persistent memory between conversations: facts, decisions, and relationships survive after the context window is gone.

Install

npx -y @modelcontextprotocol/server-memory

Setup Instructions

claude Code
claude mcp add memory -- npx -y @modelcontextprotocol/server-memory
claude Desktop
Add the memory server so long-running projects retain important context between sessions.
Official documentation