Memory MCP Server

A persistent knowledge-graph memory your agent can read and write across sessions.

Utilities MIT license Added Jul 13, 2026 Self-hosted

Memory is a Utilities MCP (Model Context Protocol) server: A persistent knowledge-graph memory your agent can read and write across sessions. It is MIT-licensed and self-hosted from its source repository. Listed on MCP Collection since July 2026.

About Memory

Reference implementation of long-term memory as a local knowledge graph: entities, relations, and observations agents can recall later.

How to connect Memory to Claude, Cursor or VS Code

Memory is self-hosted. Install it from the source repository, then register its start command in your MCP client's config (Claude Code, Cursor, Windsurf or VS Code).

{
  "mcpServers": {
    "memory": {
      "command": "<start command from the README>",
      "args": []
    }
  }
}

The exact command (often npx, uvx or docker) is in the project README at github.com/modelcontextprotocol/servers/tree/main/src/memory.

Memory FAQ

What is Memory?

Memory is a Model Context Protocol (MCP) server in the Utilities category. A persistent knowledge-graph memory your agent can read and write across sessions. MCP servers expose tools that AI assistants like Claude can call during a conversation.

How do I use Memory with Claude or Cursor?

Memory is self-hosted. Install it from the source repository, then register its start command in your MCP client's config (Claude Code, Cursor, Windsurf or VS Code).

Is Memory free to use?

Memory is published under the MIT license, so the software itself is free to run. Hosted or API-backed servers may have their own usage tiers; check the project homepage.

Where is the source code for Memory?

The source is at github.com/modelcontextprotocol/servers/tree/main/src/memory.

More Utilities MCP servers