# How to connect Mem0 MCP to Claude

```json
{
  "title": "How to connect Mem0 MCP to Claude",
  "toolkit": "Mem0 MCP",
  "toolkit_slug": "mem0_mcp",
  "framework": "Claude Cowork",
  "framework_slug": "claude-cowork",
  "url": "https://composio.dev/toolkits/mem0_mcp/framework/claude-cowork",
  "markdown_url": "https://composio.dev/toolkits/mem0_mcp/framework/claude-cowork.md",
  "updated_at": "2026-12-03T05:50:32.100Z"
}
```

## Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.
This guide walks you through the easiest and most secure way to connect your Mem0 account to Claude via Composio Connect, enabling it to save user preferences for future conversations, search memories about a user's preferences, list memory entities and recent events, and more such actions on your behalf without compromising your account security.
Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/mem0_mcp).

## Also integrate Mem0 MCP with

- [ChatGPT](https://composio.dev/toolkits/mem0_mcp/framework/chatgpt)

## Connect Mem0 MCP to Claude Cowork

### Connecting Mem0 to Claude Web, Desktop, and Cowork
Two ways to add the Composio connector. Pick whichever you prefer.
### 1. Add with one click
Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.
[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Composio&connectorUrl=https%3A%2F%2Fconnect.composio.dev%2Fmcp)
### Add manually
In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.
Click Add custom connector and paste in the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the Mem0 MCP server, and what's possible with it?

The Mem0 MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Mem0 account. It provides structured and secure access to long-term memories and memory activity, so your agent can save, search, retrieve, update, and manage memories on your behalf.
- Store long-term context: Have your agent save user preferences, facts, and conversation snippets for later use.
- Search and retrieve memories: Instruct your agent to find relevant memories with semantic search, browse stored memories, or fetch a specific memory.
- Keep memories accurate: Let the agent update memory text or metadata when a preference, fact, or conversation detail changes.
- Manage memory data: Direct your agent to delete individual memories, remove all memories for an entity while keeping that entity, or delete entities and their associated memories.
- Track memory activity: Have your agent list memory operation events, check the status of a specific operation, and see which users, agents, apps, or runs currently hold memories.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `MEM0_MCP_ADD_MEMORY` | Add memory | Store a new preference, fact, or conversation snippet. Requires at least one: user_id, agent_id, or run_id. Returns an event_id for async polling via get_event_status. |
| `MEM0_MCP_DELETE_ALL_MEMORIES` | Delete all memories | Delete every memory in the given user/agent/app/run but keep the entity. |
| `MEM0_MCP_DELETE_ENTITIES` | Delete entities | Remove an entity and cascade-delete its memories. |
| `MEM0_MCP_DELETE_MEMORY` | Delete memory | Delete one memory after the user confirms its memory_id. |
| `MEM0_MCP_GET_EVENT_STATUS` | Get event status | Check the status of a specific memory operation event by its ID. |
| `MEM0_MCP_GET_MEMORIES` | Get memories | Page through memories using filters instead of search. Use filters to list specific memories. Common filter patterns: - Single user: {"AND": [{"user_id": "john"}]} - Agent memories: {"AND": [{"agent_id": "agent_name"}]} Pagination: Use page (1-indexed) and page_size for browsing results. user_id is automatically added to filters if not provided. |
| `MEM0_MCP_GET_MEMORY` | Get memory | Fetch a single memory by ID. |
| `MEM0_MCP_LIST_ENTITIES` | List entities | List which users/agents/apps/runs currently hold memories. |
| `MEM0_MCP_LIST_EVENTS` | List events | List memory operation events with optional filters and pagination. |
| `MEM0_MCP_SEARCH_MEMORIES` | Search memories | Run a semantic search over existing memories. Use filters to narrow results. Common filter patterns: - Single user: {"AND": [{"user_id": "john"}]} - Agent memories: {"AND": [{"agent_id": "agent_name"}]} - Recent memories: {"AND": [{"user_id": "john"}, {"created_at": {"gte": "2024-01-01"}}]} user_id is automatically added to filters if not provided. |
| `MEM0_MCP_UPDATE_MEMORY` | Update memory | Update an existing memory's text and/or metadata. |

## Supported Triggers

None listed.

## Troubleshooting

### 1. Why does Claude not use the Composio connector for Mem0?

The connector can show as connected, but Claude must use it in each Mem0 conversation.
- Click + at the lower left of the chat, or type /.
- Hover Connectors.
- Turn on Composio.
- Ask Claude to connect to Mem0 again.

### 2. Why does Claude show an MCP server error before Mem0 connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Mem0.
- Check that the connector URL is https://connect.composio.dev/mcp.
- Connectors run from Anthropic's cloud, so your device network is usually not the problem.
- Add the connector again from Customize > Connectors, then ask Claude to connect Mem0.
- If it fails again, send the error and the ofid_ reference id to support@composio.dev.

### 3. Why does the Mem0 authorization link not work?

The Composio connector is one server. Your Mem0 account connects separately when Claude asks for it.
- If the browser does not open, or the link expires, ask Claude to retry the Mem0 connection.
- Composio creates a fresh Mem0 authorization link.
- Open that link in your browser and finish the Mem0 sign-in.

### 4. Why do Mem0 actions fail after they worked before?

The Mem0 connection can expire or lose permission.
- Ask Claude to inspect the Mem0 connection.
- If the connection is unhealthy, disconnect it when Claude prompts you.
- Reconnect the Mem0 account and retry the action.
- If Claude shows a permission prompt, approve it before Claude changes data in Mem0.
- If the action still fails with a permission error, check that the connected account has that permission in Mem0 itself.

### 5. How do I switch to a different Mem0 account?

Claude can manage the Mem0 connection for you.
- Ask Claude to disconnect or delete the current Mem0 account.
- Ask Claude to connect Mem0 again.
- Open the new Composio authorization link for Mem0.
- Sign in with the other Mem0 account in the browser.
- After the account connects, ask Claude to retry the Mem0 task.

### 6. Why is my Mem0 connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Mem0 connection works in Claude Web, Desktop, and Cowork.
- In Claude Desktop, open Customize > Connectors.
- Next to Composio, click ⋮ and click Clear cache.
- If Mem0 tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
- On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Mem0.

## Creating MCP Server - Stand-alone vs Composio SDK

The Mem0 MCP server connects Claude Web, Desktop, and Cowork to your Mem0 account through Composio. Once connected, Claude can use the available Mem0 tools and triggers to complete tasks on your behalf.

## Complete Code

None listed.

## How to build Mem0 MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/mem0_mcp/framework/chatgpt)

## Related Toolkits

- [Composio](https://composio.dev/toolkits/composio) - Composio is an integration platform that connects AI agents with hundreds of business tools. It streamlines authentication and lets you trigger actions across services—no custom code needed.
- [Perplexityai](https://composio.dev/toolkits/perplexityai) - Perplexityai delivers natural, conversational AI models for generating human-like text. Instantly get context-aware, high-quality responses for chat, search, or complex workflows.
- [AI/ML API MCP](https://composio.dev/toolkits/ai_ml_api_mcp) - AI/ML API MCP is a unified gateway to hundreds of AI models and generation APIs. It gives teams one place to compare models, run multimodal jobs, and track usage.
- [AllModels](https://composio.dev/toolkits/allmodels) - AllModels is a unified API for text-to-speech, speech-to-text, realtime voice, and voice cloning across AI providers. It gives developers one consistent way to build and manage voice features.
- [AltText.ai MCP](https://composio.dev/toolkits/alttext_ai_mcp) - AltText.ai MCP is a hosted image alt text service for generating, translating, and managing accessible image descriptions. It helps teams improve image accessibility and SEO without building custom AI workflows.
- [Anam MCP](https://composio.dev/toolkits/anam_mcp) - Anam MCP is Anam's hosted interface for building and managing real-time AI avatar personas. It brings avatars, voices, LLMs, knowledge, tools, meetings, and analytics together in one integration.
- [Anthropic administrator](https://composio.dev/toolkits/anthropic_administrator) - Anthropic administrator is an API for managing Anthropic organizational resources like members, workspaces, and API keys. It helps you automate admin tasks and streamline resource management across your Anthropic organization.
- [Api labz](https://composio.dev/toolkits/api_labz) - Api labz is a platform offering a suite of AI-driven APIs and workflow tools. It helps developers automate tasks and build smarter, more efficient applications.
- [Apiframe](https://composio.dev/toolkits/apiframe) - Apiframe is an API platform for generating and managing AI images, videos, music, uploads, assets, jobs, and custom LoRAs. It gives developers one clean API for creative AI workflows without juggling multiple model providers.
- [Apipie ai](https://composio.dev/toolkits/apipie_ai) - Apipie ai is an AI model aggregator offering a single API for accessing top AI models from multiple providers. It helps developers build cost-efficient, latency-optimized AI solutions without juggling multiple integrations.
- [Arize AX](https://composio.dev/toolkits/arize_ax) - Arize AX is an AI engineering platform for tracing, evaluating, and improving AI applications. Use it to debug LLM behavior, compare experiments, and improve production AI quality.
- [Artificial Analysis](https://composio.dev/toolkits/artificial_analysis) - Artificial Analysis is an independent benchmarking platform for AI models and API providers. Use it to compare model intelligence, coding, math, pricing, latency, throughput, and arena rankings.
- [AssemblyAI](https://composio.dev/toolkits/assemblyai) - AssemblyAI is a speech-to-text and audio intelligence API for uploaded or hosted media. Use it to turn audio and video into accurate transcripts, summaries, and insights.
- [AssemblyAI MCP](https://composio.dev/toolkits/assemblyai_mcp) - AssemblyAI MCP is a hosted speech-to-text and audio intelligence service for transcribing and analyzing media. It helps teams turn audio and video into searchable, translated, actionable transcripts.
- [Astica ai](https://composio.dev/toolkits/astica_ai) - Astica ai provides APIs for computer vision, NLP, and voice synthesis. Integrate advanced AI features into your app with a single API key.
- [Avoma](https://composio.dev/toolkits/avoma) - Avoma is an AI meeting assistant for recording, transcribing, analyzing, and managing meetings, calls, notes, scorecards, and conversation intelligence. It helps teams turn conversations into searchable notes, follow-ups, coaching insights, and revenue intelligence.
- [Bigml](https://composio.dev/toolkits/bigml) - BigML is a machine learning platform that lets you build, train, and deploy predictive models from your data. Its intuitive interface and robust API make machine learning accessible and efficient.
- [Black Forest Labs](https://composio.dev/toolkits/bfl) - Black Forest Labs provides hosted FLUX models for generating and editing images and videos. It offers fast, flexible media creation with asynchronous processing and fine-tuning support.
- [Bland AI](https://composio.dev/toolkits/bland_ai) - Bland AI is a conversational AI platform for building voice agents, phone calls, messaging, and communication workflows. Use it to automate calling, evaluate conversations, and run voice operations at scale.
- [Botbaba](https://composio.dev/toolkits/botbaba) - Botbaba is a platform for building, managing, and deploying conversational AI chatbots across messaging channels. It streamlines chatbot automation, making it easier to integrate AI into customer interactions.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Mem0 MCP?

With a standalone Mem0 MCP server, the agents and LLMs can only access a fixed set of Mem0 tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Mem0 and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Mem0 tools.

### Can I manage the permissions and scopes for Mem0 while using Tool Router?

Yes, absolutely. You can configure which Mem0 scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Mem0 data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
