Skip to main content

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

Metadata

Release files for mcp-mixpanel 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-mixpanel 0.0.2
File Size Uploaded Provenance
mcp_mixpanel-0.0.2.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-mixpanel 0.0.2
File Interpreter ABI Platform
mcp_mixpanel-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / mcp_mixpanel-0.0.2.tar.gz

Download URL mcp_mixpanel-0.0.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c0ea38b801765910766e917297a4f0671e127bccc44210d26dc1df2df7c6b69f
BLAKE2b-256 checksum
How to use checksums
b091e67d6735075bd1b9e6643c8bd12ef852fa6f1f44a07881b77c3c0ac00521
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.13

Release files / mcp_mixpanel-0.0.2-py3-none-any.whl

Download URL mcp_mixpanel-0.0.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
357ae5a95e92d1cc7d9eae12f27e820d699261ef4edf7b11126f75073d0f40a8
BLAKE2b-256 checksum
How to use checksums
53a48cce17b3afdc3776724c86a5080108651305fa5d701c54a6032d284079ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.13

Security for mcp-mixpanel 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page