# Mem0

> Mem0 is an MCP server. Persistent memory for AI agents: add, search, update, and delete long-term memories. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **MCP Registry name:** io.github.mem0ai/mem0
- **Listing updated:** 2026-11-13

## About

Persistent memory for AI agents: add, search, update, and delete long-term memories.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mem0 https://mcp.mem0.ai/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.mem0.ai/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mem0": {
      "url": "https://mcp.mem0.ai/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mem0": {
      "type": "http",
      "url": "https://mcp.mem0.ai/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mem0": {
      "serverUrl": "https://mcp.mem0.ai/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mem0": {
      "type": "http",
      "url": "https://mcp.mem0.ai/mcp"
    }
  }
}
```

## FAQ

### How do I add Mem0 to Claude Code?

Run this command in your terminal: claude mcp add --transport http mem0 https://mcp.mem0.ai/mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/mem0
