hermosodocs

mixpanel_segmentation

Mixpanel event segmentation (maintenance mode) read-only

Area: PRODUCT ANALYTICS: PostHog · Mixpanel · Amplitude · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
eventrequiredstringa SINGLE event name — not an array
fromDatestringYYYY-MM-DD (default 30 days ago)
toDatestringYYYY-MM-DD (default today)
onstringa segmentation expression to break down by, e.g. properties["$browser"]
wherestringa segmentation expression to filter by
unit"minute" | "hour" | "day" | "month"NOTE: Mixpanel offers no "week" on segmentation, unlike retention
intervalnumberthe 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
limitnumbertop 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.

All 759 Ad campaign management tools · tools.json