hermosodocs

mixpanel_profiles

Read the people in a Mixpanel cohort 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

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

ParameterTypeDescription
cohortIdstringa numeric cohort id from list_mixpanel_cohorts
wherestringa Mixpanel segmentation expression over profile properties, e.g. properties["$city"] == "London"
distinctIdstringone person
distinctIdsstring[]several people by distinct id
outputPropertiesstring[]only return these properties — strongly recommended, it is much faster and much smaller
dataGroupIdstringgroup key — for GROUP profiles rather than user profiles
pagenumberpages start at ZERO; any page above 0 REQUIRES sessionId
sessionIdstringfrom the previous page — required for page > 0
includeAllUsersbooleanonly 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.

All 759 Ad campaign management tools · tools.json