Memory (Knowledge Graph) (official reference server)

MCP server by modelcontextprotocol · ★ 91.3k (shared repo) · updated yesterday

Memory & KnowledgeMaintainedGrade BOfficialOne-click install

Basic persistent memory using a local knowledge graph of entities, relations and observations, so the assistant can remember information about you across chats.

Install Memory (Knowledge Graph) (official reference server)

Choose your AI client and copy the config.

Add to claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Then restart Claude. Setup guide

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ]
    }
  }
}
Before you install: Install command taken from the project README. Check the README for any required environment variables.

Related servers