How to connect Mixpanel MCP to Claude

Connect Claude Web, Desktop and Cowork to Mixpanel MCP. Analyze mixpanel funnel drop-offs by device, compare weekly retention across signup cohorts, and more using natural language, with authentication handled for you.

Mixpanel MCP logoMixpanel MCP
Dcr Oauth

Mixpanel MCP is Mixpanel's hosted server for product analytics and experimentation data. It gives teams a secure, natural-language interface to Mixpanel insights and operations.

85 Tools

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 Mixpanel account to Claude via Composio Connect, enabling it to analyze Mixpanel funnel drop-offs by device, compare weekly retention across signup cohorts, create a Mixpanel dashboard for activation metrics, 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.

Also integrate Mixpanel MCP with

Connecting Mixpanel 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

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Mixpanel account

Back in Claude, ask it to connect to Mixpanel or give it any Mixpanel-related task.

For example, ask Claude to:

  • "Analyze Mixpanel funnel drop-offs by device"
  • "Compare weekly retention across signup cohorts"
  • "Create a Mixpanel dashboard for activation metrics"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Mixpanel account is ready to use.

What is the Mixpanel Claude Connector, and what's possible with it?

The Mixpanel MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Mixpanel account. It provides structured and secure access to Mixpanel analytics, dashboards, cohorts, experiments, feature flags, and data governance tools, so your agent can query event data, manage dashboards and cohorts, create experiments and feature flags, update event and property metadata, and run analytics automations on your behalf.

  • Analytics and event insights: Have your agent retrieve Mixpanel events, display analytics queries, fill in event metadata, and explain experiment health checks.
  • Dashboards and reporting: Let the agent create, retrieve, duplicate, and delete dashboards to keep product reporting organized.
  • Cohorts, experiments, and feature flags: Direct your agent to create and manage cohorts, experiments, and feature flags for product analysis and testing.
  • Data governance: Instruct your agent to create and edit events and properties, manage custom properties, and create tracking plans, tags, and lookup tables.
  • Annotations and automations: Have your agent create, retrieve, activate, and manage annotations and automations, including reviewing automation run history.

Troubleshooting

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

The connector can show as connected, but Claude must use it in each Mixpanel conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Mixpanel again.

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

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Mixpanel.

  • 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 Mixpanel.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Mixpanel authorization link not work?

The Composio connector is one server. Your Mixpanel account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Mixpanel connection.
  • Composio creates a fresh Mixpanel authorization link.
  • Open that link in your browser and finish the Mixpanel sign-in.

4. Why do Mixpanel actions fail after they worked before?

The Mixpanel connection can expire or lose permission.

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

5. How do I switch to a different Mixpanel account?

Claude can manage the Mixpanel connection for you.

  • Ask Claude to disconnect or delete the current Mixpanel account.
  • Ask Claude to connect Mixpanel again.
  • Open the new Composio authorization link for Mixpanel.
  • Sign in with the other Mixpanel account in the browser.
  • After the account connects, ask Claude to retry the Mixpanel task.

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

The connector belongs to your Claude account, so your Mixpanel connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If Mixpanel 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 Mixpanel.
TOOLS

Supported Tools

Every Mixpanel MCP action and event your agent gets out of the box.

Activate automation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Bulk edit events

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Bulk edit properties

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create annotation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create automation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create cohort

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create custom property

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create dashboard

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create experiment

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create feature flag

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create lookup table

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create metric

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create tag

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Create tracking plan

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Delete annotation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Delete automation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Delete cohort

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Delete dashboard

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Delete tag

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Delete tracking plan

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Describe cohort schema

Return the schema for the `definition` parameter accepted by Create-Cohort and Update-Cohort.

Dismiss duplicate group

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Dismiss issues

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Display query

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Duplicate dashboard

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Edit event

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Edit property

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Explain experiment health check

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Fill event metadata

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Find duplicate groups

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get annotation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get audit log

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get automation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get automation run history

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get business context

Call this FIRST, before any other Mixpanel tool whenever ANY of these are true: 1.

Get cohort

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get custom property

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get dashboard

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get events

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get experiment

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get experiment results interpretation guidance

Returns best-practice guidance for interpreting Mixpanel experiment results and making ship/iterate/kill decisions.

Get experiment setup guidance

Returns best-practice guidance for designing a Mixpanel experiment before launch.

Get feature flag

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get feature flag lifecycle guidance

Returns best-practice guidance for managing a Mixpanel feature flag after creation — staged rollout, kill-switch, hygiene/cleanup, archival, exposure tracking, and experiment linkage.

Get feature flag setup guidance

Returns best-practice guidance for creating and configuring a Mixpanel feature flag.

Get issues

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get lexicon url

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get live events

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get lookup table

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get metric

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get projects

If you have not yet called Get-Business-Context this conversation, call it FIRST — it may resolve project nicknames, acronyms, or org-specific terms in the user's request and tell you which project to pick without listing them.

Get project token

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get property values

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get query schema

Get the full instructions and JSON schema for building a full Mixpanel query.

Get report

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get tracking plan

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Get user replays data

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List annotations

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List automations

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List cohorts

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List dashboards

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List experiments

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List feature flags

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List metrics

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List organizations

Returns the organizations the current user belongs to.

List properties

Required tools: Get-Business-Context (call it once per conversation, before this tool).

List tracking plans

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Merge group

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Pause automation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Rename tag

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Run experiment pre launch checks

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Run query

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Search entities

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Search prior experiments

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update annotation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update automation

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update business context

Update the business context at the project or organization level.

Update cohort

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update custom property

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update dashboard

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update experiment

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update feature flag

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update lookup table

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update metric

Required tools: Get-Business-Context (call it once per conversation, before this tool).

Update tracking plan

Required tools: Get-Business-Context (call it once per conversation, before this tool).

FRAMEWORKS

How to build Mixpanel MCP Agent with another framework

FAQ

Frequently asked questions

Start with Mixpanel MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Mixpanel MCP tool your agent needs.Free to start.

Start building