# Hermoso: mixpanel_segmentation · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/mixpanel_segmentation/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / mixpanel_segmentation

# `mixpanel_segmentation`

Mixpanel event segmentation (maintenance mode) read-only

Area: PRODUCT ANALYTICS: PostHog · Mixpanel · Amplitude · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`event` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [mixpanel_insights](https://hermoso.ai/docs/reference/ads/mixpanel_insights/) Read a saved Mixpanel report
- [mixpanel_retention](https://hermoso.ai/docs/reference/ads/mixpanel_retention/) Mixpanel retention cohorts
- [mixpanel_funnel](https://hermoso.ai/docs/reference/ads/mixpanel_funnel/) Read a saved Mixpanel funnel (maintenance mode)
- [list_mixpanel_events](https://hermoso.ai/docs/reference/ads/list_mixpanel_events/) List Mixpanel events (or one event’s properties)
- [posthog_persons](https://hermoso.ai/docs/reference/ads/posthog_persons/) Look up people in PostHog
- [amplitude_segmentation](https://hermoso.ai/docs/reference/ads/amplitude_segmentation/) Amplitude event segmentation
- [list_posthog_session_recordings](https://hermoso.ai/docs/reference/ads/list_posthog_session_recordings/) List PostHog session replays
- [amplitude_funnel](https://hermoso.ai/docs/reference/ads/amplitude_funnel/) Amplitude funnel (conversion + drop-off)
- [posthog_insight](https://hermoso.ai/docs/reference/ads/posthog_insight/) Read a saved PostHog insight (funnel / retention / trend)
- [amplitude_retention](https://hermoso.ai/docs/reference/ads/amplitude_retention/) Amplitude retention

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
