Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Mem0 MCP

MCP server by pinkpixel-dev Verified · gh:pinkpixel-dev

Mem0 MCP gives AI assistants persistent memory across sessions using the Mem0.ai SDK. It supports Mem0 cloud, Supabase and local storage modes. It is built for developers who want long-term memory for AI agents.

  • Score 78
  • 97 stars
  • MIT
  • Updated

Install Mem0 MCP

Built from the published package, never by AI.

claude mcp add mem0-mcp -- npx -y @pinkpixel/mem0-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Mem0 MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mem0-mcp block.

About

Mem0 MCP is a Model Context Protocol server that integrates with Mem0.ai and uses the mem0ai Node.js SDK for its core functionality. It gives LLMs persistent memory, so AI agents can store and retrieve information across sessions. The server exposes tools to add, search, list, get, update and delete memories, along with batch operations, memory events and export jobs.

The server supports three storage modes. Cloud storage uses Mem0's servers and offers full feature support. Supabase storage lets users self-host memories in their own database and needs an OpenAI API key for embeddings. Local storage is intended for development and testing and is non-persistent by default. The project is aimed at developers who want to add long-term memory to MCP-compatible clients such as Claude Desktop, Cursor and Cline.

Written from the project's README and checked against it.

Tools it gives your assistant

  • add_memoryStores a memory from text content or structured message arrays.
  • search_memoriesSearches memories using semantic and BM25 hybrid filters.
  • list_memoriesLists memory records with pagination, scoped by identifiers.
  • get_memoryRetrieves a single memory record by its ID.
  • update_memoryModifies the text or metadata of an existing memory.
  • delete_memoryDeletes a specific memory record by ID.
  • get_memory_historyRetrieves the audit trail of memory revisions (cloud only).
  • batch_delete_memoriesDeletes multiple memories in bulk, requiring confirm set to true.
  • rate_memorySubmits quality feedback for a memory record (cloud only).
  • create_memory_exportStarts an asynchronous memory export query job (cloud only).

What you need

  • Mem0 API key for cloud storage mode
  • Supabase URL and key for Supabase storage mode
  • OpenAI API key for Supabase and local storage modes
  • Node.js with npm or npx

Try asking

  • Remember that I prefer dark mode and vegetarian recipes.
  • Search my memories for what I told you about my project deadlines.
  • List the memories stored for my user ID and delete the outdated ones.

Good to know

  • Several tools, including history, rating, batch updates and exports, are cloud only.
  • Local storage is non-persistent by default and data is lost when the server restarts.
  • Cloud V3 memory additions are asynchronous and wait for completion by default.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Mem0 MCP

All alternatives →
Supabase supabase
97

Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.

AAA Local 1.3k
DBHubbytebase
94

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

Mem0 MCP: common questions

Does Mem0 MCP store memories permanently?

Cloud and Supabase modes persist memories in Mem0's cloud or in the user's Supabase database. Local mode is in-memory and non-persistent by default.

Which storage mode should I use?

The README recommends cloud storage for production and Supabase for self-hosting. Local storage is described as for development and testing only.

Which MCP clients does it work with?

The README gives configuration examples for Claude Desktop, Cursor, Cline and Roo Code, and says any MCP client can run it.

How do I install Mem0 MCP?

In Claude Code run claude mcp add mem0-mcp -- npx -y @pinkpixel/mem0-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Mem0 MCP the official server?

Mem0 MCP is published by gh:pinkpixel-dev from its verified domain in the official MCP Registry.

Is Mem0 MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Mem0 MCP safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Mem0 MCP?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does Mem0 MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Mem0 MCP Install

Add to stack

Loading.