{
  "markdown": "# Mixpanel MCP\n\nAn MCP server for Mixpanel product analytics. Query events, funnels, retention, cohorts, and user profiles through natural language.\n\n## What it does\n\nConnect your Mixpanel analytics to any MCP client. Ask questions like \"What are our top events this week?\" or \"Show me retention for users who signed up last month\" and get structured answers.\n\n## Tools\n\n- query_events. Raw event data with time ranges and filters.\n- get_top_events. Most frequently tracked events.\n- get_funnel. Multi-step funnel conversion rates.\n- get_retention. Cohort retention over days, weeks, or months.\n- query_profiles. Search and filter user profiles.\n- run_jql. Execute raw JavaScript Query Language for custom analysis.\n- list_events. All tracked event names in your project.\n\n## Authentication\n\nSet these environment variables:\n\n```bash\nexport MIXPANEL_SERVICE_ACCOUNT=\"your-service-account\"\nexport MIXPANEL_SERVICE_SECRET=\"your-service-secret\"\nexport MIXPANEL_PROJECT_ID=\"your-project-id\"\n```\n\nService accounts are created in Mixpanel under Project Settings > Service Accounts.\n\n## Install\n\n```bash\nnpx mixpanel-mcp\n```\n\n## Claude Desktop setup\n\n```json\n{\n  \"mcpServers\": {\n    \"mixpanel\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mixpanel-mcp\"],\n      \"env\": {\n        \"MIXPANEL_SERVICE_ACCOUNT\": \"your-account\",\n        \"MIXPANEL_SERVICE_SECRET\": \"your-secret\",\n        \"MIXPANEL_PROJECT_ID\": \"your-project-id\"\n      }\n    }\n  }\n}\n```\n\n## Example usage\n\nAsk Claude:\n\n\"What are our top 10 events this week?\"\n\n\"Show me the conversion funnel for funnel ID 12345\"\n\n\"Get retention for users who signed Up in the last 30 days\"\n\n\"Run a JQL query to find users who purchased more than 3 times\"\n\n\"List all events we are tracking\"\n\n\"Search for user profiles with email containing @gmail.com\"\n\n## JQL support\n\nJQL (JavaScript Query Language) lets you write custom analysis scripts. Example:\n\n```javascript\nfunction main() {\n  return People().filter(function (user) {\n    return user.properties.plan === \"premium\"\n  })\n}\n```\n\n## License\n\nMIT\n",
  "bytes": 2037,
  "sha": "6d714840202fc14dfa7a50c1ed7e69c6a4309c65a600a06731180f1b2a224cd9",
  "repo_slug": "mrfentmen/mixpanel-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_mrfentmen_mixpanel_mcp_cc202762/readme"
}