mixpanel_profiles
Read the people in a Mixpanel cohort read-only
Description
THE PEOPLE in Mixpanel, with their profile properties. Pass `cohortId` (from list_mixpanel_cohorts) for "who is in the Converted cohort and what do we know about them", or `where` for an ad-hoc filter over profile properties, or `distinctId` for one person. PASS `outputProperties` ALMOST ALWAYS: it cuts the payload to the properties you actually need, and Mixpanel says it "can drastically reduce the amount of data returned" and "can speed up queries significantly". RETURNS ONE PAGE AND DOES NOT PAGINATE FOR YOU — it hands back page, pageSize, total and a sessionId, and Mixpanel REQUIRES that sessionId alongside any page above 0, so a second page is a deliberate second call. DO NOT LOOP IT: Mixpanel allows 60 queries per hour across its ENTIRE Query API and each page spends one of them. REPORT `total` (the whole cohort) SEPARATELY FROM `count` (this page) — quoting only the page size understates the audience, which is the number a targeting decision gets made on. Read-only, 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
cohortId | string | a numeric cohort id from list_mixpanel_cohorts |
where | string | a Mixpanel segmentation expression over profile properties, e.g. properties["$city"] == "London" |
distinctId | string | one person |
distinctIds | string[] | several people by distinct id |
outputProperties | string[] | only return these properties — strongly recommended, it is much faster and much smaller |
dataGroupId | string | group key — for GROUP profiles rather than user profiles |
page | number | pages start at ZERO; any page above 0 REQUIRES sessionId |
sessionId | string | from the previous page — required for page > 0 |
includeAllUsers | boolean | only applies alongside cohortId; false = only distinct ids that actually have a profile |
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_profiles.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mixpanel_profiles","arguments":{}}}
CLI
hermoso call mixpanel_profiles --json '{}'
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
list_mixpanel_cohortsList saved Mixpanel cohortsposthog_survey_responsesPostHog survey responseslist_posthog_surveysPostHog surveysdelete_mixpanel_annotationDelete a Mixpanel annotationupdate_mixpanel_annotationEdit a Mixpanel annotationcreate_mixpanel_annotationMark the Mixpanel timelinelist_mixpanel_annotationsList Mixpanel annotationscreate_posthog_annotationMark the PostHog timelinelist_posthog_annotationsList PostHog annotationscreate_amplitude_annotationMark the Amplitude timeline