mem0ai avatar

Mem0

mem0ai/mem0-mcpOfficial

The Mem0 MCP Server wraps the Mem0 Memory API as a Model Context Protocol server, enabling MCP-compatible clients to manage long-term memories through tools for adding, searching, updating, and deleting memories across users and agents. It provides nine tools including `add_memory`, `search_memories`, `update_memory`, and `delete_memory` that allow LLMs to perform semantic search and structured retrieval of stored conversation history and text data. The server is now archived with an official cloud-hosted replacement available, though it can still be deployed locally via Python package, Docker, or remote hosting services.

GitHub stars
651
tools
9
last updated
Dec 15, 2025

Tools

9 tools

Public tool metadata for what this MCP can expose to an agent.

add_memorySave text or conversation history (or explicit message objects) for a user/agent.

Save text or conversation history (or explicit message objects) for a user/agent.

No parameter schema in public metadata yet.

search_memoriesSemantic search across existing memories (filters + limit supported).

Semantic search across existing memories (filters + limit supported).

No parameter schema in public metadata yet.

get_memoriesList memories with structured filters and pagination.

List memories with structured filters and pagination.

No parameter schema in public metadata yet.

get_memoryRetrieve one memory by its `memory_id`.

Retrieve one memory by its `memory_id`.

No parameter schema in public metadata yet.

update_memoryOverwrite a memory's text once the user confirms the `memory_id`.

Overwrite a memory's text once the user confirms the `memory_id`.

No parameter schema in public metadata yet.

delete_memoryDelete a single memory by `memory_id`.

Delete a single memory by `memory_id`.

No parameter schema in public metadata yet.

delete_all_memoriesBulk delete all memories in the confirmed scope (user/agent/app/run).

Bulk delete all memories in the confirmed scope (user/agent/app/run).

No parameter schema in public metadata yet.

delete_entitiesDelete a user/agent/app/run entity (and its memories).

Delete a user/agent/app/run entity (and its memories).

No parameter schema in public metadata yet.

list_entitiesEnumerate users/agents/apps/runs stored in Mem0.

Enumerate users/agents/apps/runs stored in Mem0.

No parameter schema in public metadata yet.

Sponsors

Readme

[!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 contributor who helped shape this project. Your support and feedback meant the world to us.

Looking for Mem0 MCP? We now offer an official cloud-hosted MCP server. Check out the docs to get started.

Quick install across all major clients:

npx mcp-add \
  --name mem0-mcp \
  --type http \
  --url "https://mcp.mem0.ai/mcp" \
  --clients "claude,claude code,cursor,windsurf,vscode,opencode"

Mem0 MCP Server

PyPI version License: Apache 2.0 smithery badge


View the full README on GitHub

Details

Repository
github.com/mem0ai/mem0-mcp
Category
AI & LLM Tools

Related AI & LLM Tools MCP servers

View all
1iannuttall avatarSEO Skilliannuttall/seoSearch Console, Google Analytics and keyword data for your AI agent.622stars
2line avatarLINE Botline/line-bot-mcp-serverMCP server that connects an AI agent to LINE Official Account for messaging, rich menus, and profile access.583stars
3ikalus1988 avatarMisakanetikalus1988/misakanetFailure-memory layer for coding agents: search evidence-rated failure lessons by error text.561stars
4pv-bhat avatarVibe Check Mcp Serverpv-bhat/vibe-check-mcp-serverMetacognitive AI agent oversight: adaptive CPI interrupts for alignment, reflection and safety488stars
5amrdab avatarClawdcursoramrdab/clawdcursorSafe cross-OS desktop control for any AI agent - the fallback execution layer.408stars
6runekaagaard avatarMCP Alchemy Serverrunekaagaard/mcp-alchemyA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, an403stars