Skip to main content
Glama

Mixpanel MCP

by mendeel

query_retention_report

Analyze user retention patterns to understand how well users are retained over time and identify cohort behavior by specifying date ranges, defining user cohorts with events, and measuring retention metrics.

Instructions

Analyze user retention patterns. Useful for understanding how well you retain users over time and identifying cohort behavior.

Input Schema

NameRequiredDescriptionDefault
born_eventYesThe event that defines when users are 'born' for retention analysis
born_whereNoJSON string representing additional filters for the born event
eventNoThe event to measure retention for (optional, defaults to any event)
from_dateYesThe date in yyyy-mm-dd format to begin querying from (inclusive)
intervalNoThe time interval for retention analysis, defaults to day
interval_countNoNumber of intervals to analyze, defaults to 30
project_idNoThe Mixpanel project ID. Optional since it has a default.
to_dateYesThe date in yyyy-mm-dd format to query to (inclusive)
whereNoJSON string representing additional filters for the retention event

Input Schema (JSON Schema)

{ "properties": { "born_event": { "description": "The event that defines when users are 'born' for retention analysis", "type": "string" }, "born_where": { "description": "JSON string representing additional filters for the born event", "type": "string" }, "event": { "description": "The event to measure retention for (optional, defaults to any event)", "type": "string" }, "from_date": { "description": "The date in yyyy-mm-dd format to begin querying from (inclusive)", "type": "string" }, "interval": { "description": "The time interval for retention analysis, defaults to day", "enum": [ "day", "week", "month" ], "type": "string" }, "interval_count": { "description": "Number of intervals to analyze, defaults to 30", "type": "number" }, "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" }, "where": { "description": "JSON string representing additional filters for the retention event", "type": "string" } }, "required": [ "from_date", "to_date", "born_event" ], "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