About Mixpanel Integration
Mixpanel Integration is an MCP server published by dragonkhoi in the RAG category: talk to your Mixpanel analytics events data seamlessly! Query retention number, event data, funnels and more from any MCP client. Great for on-demand look ups like: "What's the weekly retention for users in the Feb 1 cohort?" I am adding more coverage of the Mixpanel API over time, let me know which tools you need or just open a PR. Make sure you go to your Mixpanel Organization Settings and create a service account. Then get your project ID from your project settings.
The repository has 19 stars and 17 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/dragonkhoi/mixpanel-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (19)
aggregate_event_countsGet unique, general, or average data for a set of events over N days, weeks, or months. Useful for trend analysis, comparing event performance over time, and creating time-series visualizations.
Parameters not published.
aggregated_event_property_valuesGet unique, general, or average data for a single event and property over days, weeks, or months. Useful for analyzing how specific properties affect event performance, segmenting users, and identifying valuable user attributes.
Parameters not published.
custom_jqlRun a custom JQL (JSON Query Language) script against your Mixpanel data. Useful for complex custom analyses, advanced data transformations, and queries that can
Parameters not published.
get_today_top_eventsGet today
Parameters not published.
get_top_eventsGet a list of the most common events over the last 31 days. Useful for identifying key user actions, prioritizing feature development, and understanding overall platform usage patterns.
Parameters not published.
list_saved_cohortsGet all cohorts in a given project. Useful for discovering user segments, planning targeted analyses, and retrieving cohort IDs for filtering in other reports.
Parameters not published.
list_saved_funnelsGet the names and IDs of your saved funnels. Useful for discovering available funnels for analysis and retrieving funnel IDs needed for the query_funnel_report tool.
Parameters not published.
profile_event_activityGet data for a profile
Parameters not published.
query_frequency_reportGet data for frequency of actions over time. Useful for analyzing how often users perform specific actions, identifying patterns of behavior, and tracking user engagement over time.
Parameters not published.
query_funnel_reportGet data for a funnel based on a funnel_id. Useful for analyzing user conversion paths, identifying drop-off points in user journeys, and optimizing multi-step processes. Funnel IDs should be retrieved using the list_saved_funnels tool.
Parameters not published.
Show all 19 tools
query_insights_reportGet data from your Insights reports. Useful for accessing saved analyses, sharing standardized metrics across teams, and retrieving complex pre-configured visualizations.
Parameters not published.
query_profilesQuery Mixpanel user profiles with filtering options. Useful for retrieving detailed user profiles, filtering by specific properties, and analyzing user behavior across different dimensions.
Parameters not published.
query_retention_reportGet data from your Retention reports. Useful for analyzing user engagement over time, measuring product stickiness, and understanding how well your product retains users after specific actions. Only use params interval or unit, not both.
Parameters not published.
query_segmentation_averageAverages an expression for events per unit time. Useful for calculating average values like purchase amounts, session durations, or any numeric metric, and tracking how these averages change over time.
Parameters not published.
query_segmentation_bucketGet data for an event, segmented and filtered by properties, with values placed into numeric buckets. Useful for analyzing distributions of numeric values, creating histograms, and understanding the range of quantitative metrics.
Parameters not published.
query_segmentation_reportGet data for an event, segmented and filtered by properties. Useful for breaking down event data by user attributes, comparing performance across segments, and identifying which user groups perform specific actions.
Parameters not published.
query_segmentation_sumSum a numeric expression for events over time. Useful for calculating revenue metrics, aggregating quantitative values, and tracking cumulative totals across different time periods.
Parameters not published.
top_event_propertiesGet the top property names for an event. Useful for discovering which properties are most commonly associated with an event, prioritizing which dimensions to analyze, and understanding event structure.
Parameters not published.
top_event_property_valuesGet the top values for a property. Useful for understanding the distribution of values for a specific property, identifying the most common categories or segments, and planning further targeted analyses.
Parameters not published.
Ask AI
Ask AI about Mixpanel Integration
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Mixpanel MCP
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?"
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
- Ask for an overview of events
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.