Mixpanel MCP Server — Hosted Api Connectors Integration
MCP Server language Hosted language PublicTrack events, analyze user journeys, and export cohort data from Mixpanel — AI-driven product intelligence.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"mixpanel": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-mixpanel",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify mixpanel credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-mixpanel — Mixpanel MCP Server
Track events, set user properties, and query insights reports and funnels from your AI agents.
Mixpanel is the product analytics platform built for understanding user behavior in depth. This MCP server lets your AI agents send events into Mixpanel, enrich user profiles with properties, and pull insights reports and funnel analysis on demand — turning your analytics data into live input for agent reasoning and reporting workflows.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-mixpanel
What You Can Do
- Track backend events into Mixpanel from server-side workflows without touching your frontend tracking code
- Query insights reports for any event over any date range — ask "how many users completed onboarding this week?"
- Get funnel conversion data by funnel ID to measure drop-off between key steps
- Look up individual user profiles to understand behavior history before taking automated actions
Available Tools
| Tool | Description |
|---|---|
track_event |
Track a custom event for a user |
set_user_properties |
Set user profile properties ($email, $name, custom fields) |
increment_property |
Increment a numeric user property |
get_user_profile |
Get a user's profile and all their stored properties |
get_insights_report |
Get an insights analytics report for an event over a date range |
get_funnel |
Get funnel conversion data by funnel ID |
export_events |
Export raw events (up to first 100) |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
MIXPANEL_TOKEN |
Yes | Project token for event ingestion | mixpanel.com → Your Project → Settings → Project Details → copy Project Token |
MIXPANEL_SERVICE_ACCOUNT_USERNAME |
Yes | Service account username for query API | mixpanel.com → Organization Settings → Service Accounts → Create service account → copy username |
MIXPANEL_SERVICE_ACCOUNT_SECRET |
Yes | Service account secret for query API | Same screen as above → copy secret (shown once) |
MIXPANEL_PROJECT_ID |
Yes | Numeric project ID for query API | mixpanel.com → Your Project → Settings → Project Details → copy Project ID |
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Mixpanel" and click Add to Workspace
- Add all four secrets under Project → Secrets
Once added, every AI agent in your workspace can call Mixpanel tools automatically — no per-user setup needed.
Example Prompts
"How many users triggered the 'checkout_completed' event in the last 30 days?"
"Set the plan property to enterprise for user u_12345 in Mixpanel"
"Get the funnel report for funnel ID 98765 for this month"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-mixpanel \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-MIXPANEL-TOKEN: your-project-token' \
-H 'X-Mcp-Secret-MIXPANEL-SERVICE-ACCOUNT-USERNAME: your-sa-username' \
-H 'X-Mcp-Secret-MIXPANEL-SERVICE-ACCOUNT-SECRET: your-sa-secret' \
-H 'X-Mcp-Secret-MIXPANEL-PROJECT-ID: your-project-id' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_insights_report","arguments":{"event":"page_view","from_date":"2024-01-01","to_date":"2024-01-31"}}}'
License
MIT
terminal Tools (8)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
_ping #1 Verify Mixpanel credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.
track_event #2 Track a custom event in Mixpanel for a specific user
set_user_properties #3 Set user profile properties in Mixpanel (e.g. $email, $name, $city)
increment_property #4 Increment a numeric user profile property in Mixpanel
get_user_profile #5 Get a user profile and their properties from Mixpanel
get_insights_report #6 Get an insights analytics report for a specific event over a date range
get_funnel #7 Get funnel conversion data for a specific funnel by ID
export_events #8 Export raw events from Mixpanel over a date range (returns first 100 events)
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-mixpanel
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in API Connectors
Browse API Connectors MCPs →Aerostack Registry
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
Algolia
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
Arangodb
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
Ayrshare
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
Basecamp
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
Bigquery
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Frequently asked questions
What is the Mixpanel MCP server and what can it do? +
The Mixpanel MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `track_event`, `set_user_properties`, `increment_property`, `get_user_profile`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Mixpanel MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Mixpanel MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Mixpanel MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Mixpanel MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-mixpanel": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-mixpanel"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Mixpanel MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-mixpanel", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-mixpanel"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Mixpanel MCP require authentication? +
Yes. Mixpanel requires authentication. Check the MCP's documentation for the required credentials.