Provides tools for querying Mixpanel analytics data, enabling AI agents to search event data through segmentation queries and retrieve detailed analytics JSON responses from Mixpanel projects.
Mixpanel → ChatGPT MCP Connector (Cloud Run)
This is a no-frills bridge that lets ChatGPT query your Mixpanel project live.
What it exposes
POST /tools/search— summarize a segmentation queryPOST /tools/fetch— return the full Mixpanel JSON for a prior searchGET /healthz— health check
Related MCP server: MCP ChatGPT Responses
Environment variables
MIXPANEL_BASE—https://mixpanel.com/apiorhttps://eu.mixpanel.com/apiorhttps://in.mixpanel.com/apiMIXPANEL_PROJECT_ID— your Mixpanel project id (number)MIXPANEL_SA_USERNAME— service account usernameMIXPANEL_SA_SECRET— service account secretALLOWED_EVENTS— optional CSV whitelist (recommended)
Local run (optional)
Cloud Run (one-time)
After deploy, note the service URL:
https://mixpanel-mcp-xxxxx-uc.a.run.app
Testing
Health:
GET /healthzSearch:
Fetch the returned
id:
Add to ChatGPT
Settings → Connectors → Add → Custom Connector (MCP) → paste your Cloud Run URL.