Mem0 MCP Server

[!CAUTION] This project has been archived mem0-mcp-server is no longer actively maintained and this repository is now a public archive. Thank you to the 640+ stargazers, 140+ forkers, and every…

Local serverstdio

What is the Mem0 MCP Server?

Mem0 is an MCP project maintained in the mem0ai/mem0-mcp repository. The maintainer describes its purpose as “[!CAUTION] This project has been archived mem0-mcp-server is no longer actively maintained and this repository is now a public archive. Thank you to the 640+…”. Read the project documentation for the complete scope.

Installation

The documented pypi package is mem0-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares MEM0_API_KEY, MEM0_DEFAULT_USER_ID. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
add_memorySave text or conversation history (or explicit message objects) for a user/agent.
search_memoriesSemantic search across existing memories (filters + limit supported).
get_memoriesList memories with structured filters and pagination.
get_memoryRetrieve one memory by its memory_id.
update_memoryOverwrite a memory's text once the user confirms the memory_id.
delete_memoryDelete a single memory by memory_id.
delete_all_memoriesBulk delete all memories in the confirmed scope (user/agent/app/run).
delete_entitiesDelete a user/agent/app/run entity (and its memories).
list_entitiesEnumerate users/agents/apps/runs stored in Mem0.

How to install the Mem0 MCP Server

{
  "mcpServers": {
    "mem0": {
      "command": "uvx",
      "args": [
        "mem0-mcp-server"
      ],
      "env": {
        "MEM0_API_KEY": "YOUR_MEM0_API_KEY",
        "MEM0_DEFAULT_USER_ID": "your-handle"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
MEM0_API_KEYDeclared in the maintainer’s client configuration.Yes
MEM0_DEFAULT_USER_IDDeclared in the maintainer’s client configuration.Optional