mixpanel_segmentation
Mixpanel event segmentation (maintenance mode) read-only
Description
One Mixpanel event over time, optionally broken down by a property (`on`) and filtered (`where`). Warning: MIXPANEL HAS PUT THIS ENDPOINT IN MAINTENANCE MODE — their words: "We recommend discontinuing new use of this endpoint. To break down and filter event data, build an Insights report in-app and query it programmatically with the Insights Query API." It still answers today, which is why it is offered rather than withheld, but SAY SO when you use it and prefer mixpanel_insights whenever the user can build the report. It takes ONE event name and not an array (the /events endpoints take an array; this one does not — an easy and silent mistake). 60 queries/hour across the whole Query API. Read-only, 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
eventrequired | string | a SINGLE event name — not an array |
fromDate | string | YYYY-MM-DD (default 30 days ago) |
toDate | string | YYYY-MM-DD (default today) |
on | string | a segmentation expression to break down by, e.g. properties["$browser"] |
where | string | a segmentation expression to filter by |
unit | "minute" | "hour" | "day" | "month" | NOTE: Mixpanel offers no "week" on segmentation, unlike retention |
interval | number | the number of days each bucket covers — Mixpanel offers this in lieu of "unit" when "type" is not "general" |
type | "general" | "unique" | "average" | count type: general (event count, default), unique (distinct users) or average |
limit | number | top N property values; Mixpanel defaults to 60, max 10000, and it does nothing unless "on" is set |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/mixpanel_segmentation.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mixpanel_segmentation","arguments":{"event":"<string>"}}}
CLI
hermoso call mixpanel_segmentation --json '{"event":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
mixpanel_insightsRead a saved Mixpanel reportmixpanel_retentionMixpanel retention cohortsmixpanel_funnelRead a saved Mixpanel funnel (maintenance mode)list_mixpanel_eventsList Mixpanel events (or one event’s properties)posthog_personsLook up people in PostHogamplitude_segmentationAmplitude event segmentationlist_posthog_session_recordingsList PostHog session replaysamplitude_funnelAmplitude funnel (conversion + drop-off)posthog_insightRead a saved PostHog insight (funnel / retention / trend)amplitude_retentionAmplitude retention