MCP server

Mem0

Hosted long-term memory for AI agents and clients

Mem0's hosted MCP server gives AI clients tools to add, search, update and delete memories stored in a Mem0 account. Clients connect over HTTPS and sign in via OAuth, or use a Mem0 API key as a bearer token. The earlier local mem0-mcp repo is archived.

Connect

  1. 1Connect it in ChatGPT

    Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.mem0.ai/mcp as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.

  2. 2Or add it to Codex or the API
    codex mcp add mem0 --url https://mcp.mem0.ai/mcp
    codex mcp login mem0

    The login command opens a browser to finish OAuth.

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Tools 11

add_memorysearch_memoriesget_memoriesget_memoryupdate_memorydelete_memorydelete_all_memorieslist_entitiesdelete_entitieslist_eventsget_event_status

Things to ask

  • “Remember that I'm vegetarian and allergic to nuts”
  • “What do you remember about my travel preferences?”
  • “Update my memory: I moved to Berlin”
  • “Delete all memories about project X”

Related