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.
7 functions 7 read 0 write API key auth
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.
Machine-Readable Metadata
- integration_slug
mixpanel- route_slug
mixpanel- package
mixpanel- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Mixpanel Analytics CLIHeadless setup and direct function calls. Mixpanel Analytics MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Mixpanel Analytics MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Mixpanel Analytics.
Claude Code Mixpanel Analytics MCP setup for Claude Code. Cursor Mixpanel Analytics MCP setup for Cursor. Codex Mixpanel Analytics MCP setup for Codex. OpenAI Agents Mixpanel Analytics MCP setup for OpenAI Agents SDK. Claude Agent SDK Mixpanel Analytics MCP setup for Claude Agent SDK. Vercel AI SDK Mixpanel Analytics MCP setup for Vercel AI SDK. LangChain Mixpanel Analytics MCP setup for LangChain. LangGraph Mixpanel Analytics MCP setup for LangGraph. CrewAI Mixpanel Analytics MCP setup for CrewAI. MCP clients Mixpanel Analytics MCP setup for Generic MCP Clients.
Mixpanel Analytics CLI Matrix
Use these pages for direct Mixpanel Analytics CLI workflows in scripts, CI, cron, and agent wrappers.
CI Mixpanel Analytics CLI for CI. Cron Jobs Mixpanel Analytics CLI for cron jobs. Shell Scripts Mixpanel Analytics CLI for shell scripts. Headless Automation Mixpanel Analytics CLI for headless automation. Coding Agents Mixpanel Analytics CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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. |