KosmoKrator

analytics

Mixpanel Analytics MCP, CLI, and Lua Integration for AI Agents

Mixpanel Analytics integration docs for AI agents: MCP gateway setup, Mixpanel Analytics CLI commands, Lua API reference, credentials, and function schemas.

Mixpanel Analytics for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Agent Surfaces

Machine-Readable Metadata

Function Catalog

FunctionTypeParametersDescription
mixpanel.mixpanel_get_cohort Read read 1 Retrieve detailed information for a Mixpanel cohort by its ID. Returns cohort membership data and behavioral criteria.
mixpanel.mixpanel_get_current_user Read read 0 Get the currently authenticated Mixpanel user. Returns account details for the API key owner — useful for verifying credentials and checking permissions.
mixpanel.mixpanel_get_event Read read 5 Retrieve analytics data for a specific Mixpanel event by name. Returns event counts and breakdowns over time.
mixpanel.mixpanel_get_funnel Read read 1 Retrieve detailed conversion data for a Mixpanel funnel by its ID. Returns step-by-step conversion rates and drop-off analytics.
mixpanel.mixpanel_list_cohorts Read read 0 List all behavioral cohorts in the Mixpanel project. Returns cohort names, IDs, and sizes.
mixpanel.mixpanel_list_events Read read 5 List events from Mixpanel Analytics. Optionally filter by event type, time unit, or date range. Returns the most recent events matching the criteria.
mixpanel.mixpanel_list_funnels Read read 0 List all funnels configured in the Mixpanel project. Returns funnel names, IDs, and basic configuration.