A favicon of Mixpanel Integration

Mixpanel Integration

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

Installation

Installing for Claude Desktop

Option 1: One-Command Installation

npx mcpbar@latest install dragonkhoi/mixpanel-mcp -c claude

This command will automatically install and configure the Mixpanel Integration MCP server for your selected client.

Option 2: Manual Configuration

Run the command below to open your configuration file:

npx mcpbar@latest edit -c claude

After opening your configuration file, copy and paste this configuration:

View JSON configuration
{
  "mcpServers": {
    "Mixpanel Integration": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mixpanel"
      ],
      "env": {
        "YOUR_SERVICE_ACCT_USER": "${input:your_service_acct_user}",
        "YOUR_SERVICE_ACCT_PASS": "${input:your_service_acct_pass}",
        "YOUR_SERVICE_ACCOUNT_USER": "${input:your_service_account_user}",
        "YOUR_SERVICE_ACCOUNT_PASS": "${input:your_service_account_pass}"
      }
    }
  }
}

Mixpanel MCP

smithery badge

Simple MCP server that interfaces with the Mixpanel API, allowing you to talk to your Mixpanel events data from any MCP client like Cursor or Claude Desktop. Query events data, retention, and funnels. Great for on-demand look ups like: "What's the weekly retention for users in the Feb 1 cohort?"

mixpanel MCP server

I am adding more coverage of the Mixpanel API over time, let me know which tools you need or just open a PR.

Installation

Make sure to go to your Mixpanel Organization Settings to set up a Mixpanel Service Account, get the username, password, and your project ID (in Mixpanel Project Settings).

Installing via Smithery

To install mixpanel-mcp for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @dragonkhoi/mixpanel-mcp --client claude

To install mixpanel-mcp for Cursor, go to Settings -> Cursor Settings -> Features -> MCP Servers -> + Add

Select Type: command and paste the below, using the arguments <USERNAME> <PW> <PROJECT_ID> from Mixpanel

npx -y @smithery/cli@latest run @dragonkhoi/mixpanel-mcp --config "{\"username\":\"YOUR_SERVICE_ACCT_USERNAME\",\"password\":\"YOUR_SERVICE_ACCT_PASSWORD\",\"projectId\":\"YOUR_MIXPANEL_PROJECT_ID\"}"

Clone and run locally

Clone this repo Run npm run build Paste this command into Cursor (or whatever MCP Client) node /ABSOLUTE/PATH/TO/mixpanel-mcp/build/index.js YOUR_SERVICE_ACCOUNT_USERNAME YOUR_SERVICE_ACCOUNT_PASSWORD YOUR_PROJECT_ID

Examples

  • Ask about retention numbers
IMG_3675
  • Ask for an overview of events
IMG_9968
Share:
Details:
  • Stars


    13
  • Forks


    9
  • Last commit


    4 months ago
  • Repository age


    4 months
  • License


    MIT
View Repository

Auto-fetched from GitHub .

MCP servers similar to Mixpanel Integration:

 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit


 

 
 
  • Stars


  • Forks


  • Last commit