# Memory MCP Server

Store and retrieve a knowledge graph across MCP sessions\.

Canonical: https://claudelist.com/listings/mcp-modelcontextprotocol-servers-memory

Category: MCP Servers

Source: official · Model Context Protocol

Source checked: 2026-10-14

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

Store and retrieve a knowledge graph across MCP sessions. The linked upstream repository contains the current server source and configuration guidance.

## Install or set up

Install Node.js and npm. Run the command below in your Claude Code project. Restart Claude Code and check `/mcp`. Review the README before changing the storage file location or sharing stored knowledge.

```sh
claude mcp add memory -- npx -y @modelcontextprotocol/server-memory
```

Installation guide: https://github.com/modelcontextprotocol/servers/tree/main/src/memory
