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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_mixpanel-0.0.1.tar.gz.
File metadata
- Download URL: mcp_mixpanel-0.0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d909ed747dd9a7d1741a9a7bc5c03ffe9fc03de5b804638193ddd33bd65295a7
|
|
| MD5 |
138d9fcd0ba0715496b89a7940557e21
|
|
| BLAKE2b-256 |
485416044f72ad00e4f5d28b98740dbe37636456b44d1520c9c2d189e6dc5cc9
|
File details
Details for the file mcp_mixpanel-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mcp_mixpanel-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86861139f3b113dbd36428e34faa92c6952c57bebf8405736d21e7d9cdbb404e
|
|
| MD5 |
2e796e8c802d05ceddea5eb2c9c0435c
|
|
| BLAKE2b-256 |
acb7ecafed47a8bfd1b67020a0ea51eaaf16124b56bf35068660e6db522eff89
|