Mixpanel MCP
Query Mixpanel events, funnels, retention, cohorts, and user profiles.
- Pricing
- Open source
- Runs
- Locally
- GitHub stars
- 0
- Last commit
- 3 months ago
- Language
- TypeScript
- Version
- 1.0.3
About Mixpanel MCP
Mixpanel MCP is an open-source MCP server for analytics and data. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mixpanel-mcp --env MIXPANEL_TOKEN='<MIXPANEL_TOKEN>' --env MIXPANEL_API_SECRET='<MIXPANEL_API_SECRET>' -- npx -y @mrfentmen/mixpanel-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mixpanel-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/mixpanel-mcp"
],
"env": {
"MIXPANEL_TOKEN": "<MIXPANEL_TOKEN>",
"MIXPANEL_API_SECRET": "<MIXPANEL_API_SECRET>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mixpanel-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/mixpanel-mcp"
],
"env": {
"MIXPANEL_TOKEN": "<MIXPANEL_TOKEN>",
"MIXPANEL_API_SECRET": "<MIXPANEL_API_SECRET>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mixpanel-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mrfentmen/mixpanel-mcp"
],
"env": {
"MIXPANEL_TOKEN": "<MIXPANEL_TOKEN>",
"MIXPANEL_API_SECRET": "<MIXPANEL_API_SECRET>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mixpanel-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/mixpanel-mcp"
],
"env": {
"MIXPANEL_TOKEN": "<MIXPANEL_TOKEN>",
"MIXPANEL_API_SECRET": "<MIXPANEL_API_SECRET>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mixpanel-mcp": {
"command": "npx",
"args": [
"-y",
"@mrfentmen/mixpanel-mcp"
],
"env": {
"MIXPANEL_TOKEN": "<MIXPANEL_TOKEN>",
"MIXPANEL_API_SECRET": "<MIXPANEL_API_SECRET>"
}
}
}
}Configuration
MIXPANEL_TOKENYour Mixpanel project tokenRequiredMIXPANEL_API_SECRETYour Mixpanel API secretRequired
Pricing
Open source
Mixpanel MCP FAQ
Is Mixpanel MCP free?
Yes. Mixpanel MCP is open source, so you can use and self-host it for free.
How do I add Mixpanel MCP to Claude Code?
Run this command in your terminal: claude mcp add mixpanel-mcp --env MIXPANEL_TOKEN='<MIXPANEL_TOKEN>' --env MIXPANEL_API_SECRET='<MIXPANEL_API_SECRET>' -- npx -y @mrfentmen/mixpanel-mcp
What are the best alternatives to Mixpanel MCP?
The closest alternatives to Mixpanel MCP are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.
Alternatives to Mixpanel MCP

Agent-Native Analytics
MCP serverOpen-source analytics app where an AI agent builds charts and dashboards from your data
- Remote
- Open source
- 7.7K GitHub stars
- Analytics and data

Google Ads + Meta Ads + SEO/GEO MCP
MCP serverHosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat
- 8 tools
- Remote
- Freemium
- 8.1K GitHub stars
- Marketing and SEO

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments

World Monitor
MCP serverLive geopolitical intelligence dashboard with an API and MCP server for agents
- Remote
- Freemium
- Analytics and data

CompanyData
MCP serverSearch and enrich company records from official registers via the CompanyData API
- 3 tools
- Remote
- Paid
- 3 GitHub stars
- Analytics and data

ChartAnt
MCP serverRemote MCP server returning charts, maps and dashboards as hosted PNG links
- 51 tools
- Remote
- Freemium
- Design and media