Skip to main content
Glama

Mixpanel MCP

by mendeel

query_segmentation_report

Analyze how different user segments behave by breaking down event data by specific properties. Compare event patterns across user groups to identify behavioral differences and trends over time.

Instructions

Segment events by properties. Useful for analyzing how different user segments behave and comparing event patterns across groups.

Input Schema

NameRequiredDescriptionDefault
eventYesThe event to segment
from_dateYesThe date in yyyy-mm-dd format to begin querying from (inclusive)
onYesThe property to segment by
project_idNoThe Mixpanel project ID. Optional since it has a default.
to_dateYesThe date in yyyy-mm-dd format to query to (inclusive)
unitNoThe time unit for segmentation, defaults to day
whereNoJSON string representing additional filters

Input Schema (JSON Schema)

{ "properties": { "event": { "description": "The event to segment", "type": "string" }, "from_date": { "description": "The date in yyyy-mm-dd format to begin querying from (inclusive)", "type": "string" }, "on": { "description": "The property to segment by", "type": "string" }, "project_id": { "description": "The Mixpanel project ID. Optional since it has a default.", "type": "string" }, "to_date": { "description": "The date in yyyy-mm-dd format to query to (inclusive)", "type": "string" }, "unit": { "description": "The time unit for segmentation, defaults to day", "enum": [ "hour", "day", "week", "month" ], "type": "string" }, "where": { "description": "JSON string representing additional filters", "type": "string" } }, "required": [ "event", "from_date", "to_date", "on" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mendeel/mixpanel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server