drio
Open app

Mixpanel MCP

Source

MCP Server for Mixpanel API (talk to your Mixpanel data)

Catalog onlyCatalog onlySTDIO

Overview

Mixpanel MCP is a simple server that interfaces with the Mixpanel API, allowing users to interact with their Mixpanel event data through various MCP clients like Cursor or Claude Desktop.

To use Mixpanel MCP, set up a Mixpanel Service Account to obtain your username, password, and project ID. You can install it via Smithery or clone the repository and run it locally.

  • Query Mixpanel events data, retention, and funnels. - On-demand lookups for specific queries like weekly retention for user cohorts. - Compatibility with multiple MCP clients.
  1. Analyzing user retention over specific time periods.
  2. Generating insights on event data for product analytics.
  3. Facilitating data-driven decision-making through easy access to Mixpanel data.

Add to your AI client

Use these steps to connect Mixpanel MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mixpanel-mcp-dragonkhoi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mixpanel-mcp-dragonkhoi"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mixpanel-mcp-dragonkhoi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mixpanel-mcp-dragonkhoi"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mixpanel-mcp-dragonkhoi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mixpanel-mcp-dragonkhoi"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mixpanel-mcp-dragonkhoi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mixpanel-mcp-dragonkhoi"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mixpanel-mcp-dragonkhoi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mixpanel-mcp-dragonkhoi"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mixpanel-mcp-dragonkhoi": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mixpanel-mcp-dragonkhoi"
      ]
    }
  }
}

FAQ

What is required to set up Mixpanel MCP?

You need a Mixpanel Service Account with a username, password, and project ID.

Can I use Mixpanel MCP with any MCP client?

Yes, Mixpanel MCP is designed to work with clients like Cursor and Claude Desktop.

Is there ongoing support for Mixpanel MCP?

Yes, the project is actively being developed, and users can request additional features.