Skip to main content

MCP server for Mixpanel integration

Project description

Mixpanel MCP Server

A Model Context Protocol (MCP) server for Mixpanel integration. This server provides tools for interacting with Mixpanel, including querying events, analyzing funnels, working with user profiles, and managing annotations.

Features

  • Event Analysis: Query and analyze Mixpanel event data
  • User Profiles: Retrieve and examine user profile information
  • Funnels: Analyze conversion funnels for user journeys
  • Cohorts: Work with user cohorts
  • Annotations: Create and manage annotations to mark important events
  • Data Export: Export raw event data for external analysis

Installation

pip install mcp-mixpanel

Configuration

Set the following environment variables:

export MIXPANEL_API_SECRET="your_api_secret"
export MIXPANEL_PROJECT_ID="your_project_id"  # Optional
export MIXPANEL_SERVICE_ACCOUNT_USERNAME="username"  # Optional alternative auth
export MIXPANEL_SERVICE_ACCOUNT_PASSWORD="password"  # Optional alternative auth

Usage

Starting the server directly

mcp-mixpanel

Using with Claude Desktop

Add the following to your claude_desktop_config.json file:

"mcp-mixpanel": {
  "command": "uvx",
  "args": [
    "mcp-mixpanel"
  ],
  "env": {
    "MIXPANEL_API_SECRET": "your_api_secret",
    "MIXPANEL_PROJECT_ID": "your_project_id"
  }
}

Replace the environment variables with your actual Mixpanel credentials.

Available Tools

  • query_events: Query Mixpanel events by name, date range, and other parameters
  • get_user_profile: Retrieve detailed profile information for a specific user
  • create_annotation: Create an annotation to mark important events or changes
  • get_funnel_data: Analyze conversion data for a specific funnel
  • get_cohorts: List all cohorts defined in your Mixpanel project
  • export_events: Export raw event data for external analysis

Available Resources

  • mixpanel://events: List of all event names in your Mixpanel project
  • mixpanel://properties: List of all event properties in your Mixpanel project
  • mixpanel://funnels: List of all funnels in your Mixpanel project
  • mixpanel://annotations: List of all annotations in your Mixpanel project

Available Prompts

  • query_events: Template for querying and analyzing event data
  • funnel_analysis: Template for analyzing funnel performance
  • create_annotation: Template for creating annotations for important events

Version

0.0.1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_mixpanel-0.0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_mixpanel-0.0.2-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file mcp_mixpanel-0.0.2.tar.gz.

File metadata

  • Download URL: mcp_mixpanel-0.0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for mcp_mixpanel-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c0ea38b801765910766e917297a4f0671e127bccc44210d26dc1df2df7c6b69f
MD5 4ba1ee2e0b4b61c9570d317b2bd9cb04
BLAKE2b-256 b091e67d6735075bd1b9e6643c8bd12ef852fa6f1f44a07881b77c3c0ac00521

See more details on using hashes here.

File details

Details for the file mcp_mixpanel-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_mixpanel-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 357ae5a95e92d1cc7d9eae12f27e820d699261ef4edf7b11126f75073d0f40a8
MD5 da14e37a0d323af9a808bc10b036f867
BLAKE2b-256 53a48cce17b3afdc3776724c86a5080108651305fa5d701c54a6032d284079ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page