Mixpanel MCP server for Claude, ChatGPT, Claude Code and Cursor
Access raw events, manage user/group profiles, and retrieve aggregated analytics data (Funnels, Retention, Insights) from Mixpanel.
Examples of what your AI apps can do in Mixpanel. You'll see the exact list of tools after you connect it.
aggregate_event_counts
ToolGet aggregate event counts over time. supports different types of aggregation: general, unique, average, sum.
get_all_projects
ToolGet all projects associated with the authenticated mixpanel account. returns project details including name, permissions, role, domain, and other configuration details.
jql_query
ToolExecute a custom jql (javascript query language) query against mixpanel's query api. key constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 gb data processing limit, 2 gb output limit. - no remote network requests (xmlhttprequest) are allowed inside the jql script.
list_cohorts
ToolGet list of all cohorts in a mixpanel project. returns cohort details including name, id, count, description, creation date, and visibility. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
list_funnels
ToolGet the names and funnel ids of your funnels. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
profile_event_activity
ToolGet event activity feed for specified users from mixpanel query api. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
query_funnel
ToolGet data for a funnel. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
query_insight
ToolGet data from your insights reports. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
query_profiles
ToolQuery user or group profile data from mixpanel. returns list of profiles that match specified parameters. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
query_retention_report
ToolGet cohort analysis data. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
query_segmentation
ToolGet data for an event, segmented and filtered by properties. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
aggregated_event_property_values
ToolGet unique, total, or average data for a single event and property over days, weeks, or months. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
aggregate_events
ToolGet aggregate event counts over time. supports different types of aggregation: general, unique, average, sum.
query_frequency_report
ToolGet data about how frequently users are performing events. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. example response with unit="day" and addiction unit="hour": { "2012-01-01": [305, 107, 60, 41, ...], # users who did event in 1+ hours, 2+ hours, etc. "2012-01-02": [495, 204, 117, 77, ...], "2012-01-03": [671, 324, 176, 122, ...] }
query_numeric_average
ToolAverages an expression for events per unit time. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. example response: { "status": "ok", "results": { "2024-01-01": 25.5, "2024-01-02": 32.75, "2024-01-03": 28.25 } }
query_numeric_segmentation
ToolGet data for an event, segmented and filtered by properties, with values placed into numeric buckets. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
query_numeric_sum
ToolSums an expression for events per unit time. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. example response: { "status": "ok", "computed at": "2024-01-20t12:00:00", "results": { "2024-01-01": 150.5, "2024-01-02": 245.75, "2024-01-03": 198.25 } }
todays_top_events
ToolGet the top events for today, with their counts and the normalized percent change from yesterday. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
top_event_properties
ToolGet the top property names for an event. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
top_event_property_values
ToolGet the top values for a property. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
top_events
ToolGet a list of the most common events over the last 31 days. the query api has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.
Free. No card needed.
How to connect Mixpanel
- 1Create your free ContextGate account.
- 2Go to Connections → Add Connection, search for Mixpanel and sign in to Mixpanel.
- 3Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use Mixpanel.
What you get with Mixpanel and ContextGate
- Your AI apps can use Mixpanel Claude, Cursor, ChatGPT and other AI apps reach Mixpanel through the one ContextGate connection you add to them.
- You choose which tools they can use Switch off any Mixpanel tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Select a tool on the left to see its parameters
What you get with Mixpanel and ContextGate
- Your AI apps can use Mixpanel: Claude, Cursor, ChatGPT and other AI apps reach Mixpanel through the one ContextGate connection you add to them.
- You choose which tools they can use: Switch off any Mixpanel tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded: Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Free. No card needed.
How to connect Mixpanel
- Create your free ContextGate account.
- Go to Connections → Add Connection, search for Mixpanel and sign in to Mixpanel.
- Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use Mixpanel.