§ MCP Server · Memory

Official

Memory.

by Anthropic

Persistent knowledge graph across agent sessions.

Runs in Claude · Cursor · ChatGPT · Windsurf — any MCP-compatible client

Install

npx -y @modelcontextprotocol/server-memory

Transports

stdio (local)

Tools exposed

9

§ Add to your AI client

Drop this into your client's MCP config — claude_desktop_config.json for Claude Desktop, or .cursor/mcp.json for Cursor — then restart the app. Replace placeholder paths and credentials with your own.

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}

§ About

Reference implementation of long-term agent memory. Stores entities, relations, and observations between sessions. The starting point for any agent that needs to remember the user across runs without rolling your own vector store.

§ Features

  • Knowledge-graph storage (entities + relations)
  • Observation logging
  • Search and retrieval
  • Local JSON persistence

§ Use cases

Personal-assistant agentsLong-running agents that learn user preferencesMulti-session research workflows

§ Related MCP servers

Open standardSubmit a server →