mixpanel-mcp
Provides tools for querying Mixpanel analytics, including events, funnels, retention, cohorts, user profiles, and custom analysis via JQL.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mixpanel-mcpWhat are our top 10 events this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mixpanel MCP
An MCP server for Mixpanel product analytics. Query events, funnels, retention, cohorts, and user profiles through natural language.
What it does
Connect 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.
Related MCP server: Mixpanel MCP
Tools
query_events. Raw event data with time ranges and filters.
get_top_events. Most frequently tracked events.
get_funnel. Multi-step funnel conversion rates.
get_retention. Cohort retention over days, weeks, or months.
query_profiles. Search and filter user profiles.
run_jql. Execute raw JavaScript Query Language for custom analysis.
list_events. All tracked event names in your project.
Authentication
Set these environment variables:
export MIXPANEL_SERVICE_ACCOUNT="your-service-account"
export MIXPANEL_SERVICE_SECRET="your-service-secret"
export MIXPANEL_PROJECT_ID="your-project-id"Service accounts are created in Mixpanel under Project Settings > Service Accounts.
Install
npx mixpanel-mcpClaude Desktop setup
{
"mcpServers": {
"mixpanel": {
"command": "npx",
"args": ["-y", "mixpanel-mcp"],
"env": {
"MIXPANEL_SERVICE_ACCOUNT": "your-account",
"MIXPANEL_SERVICE_SECRET": "your-secret",
"MIXPANEL_PROJECT_ID": "your-project-id"
}
}
}
}Example usage
Ask Claude:
"What are our top 10 events this week?"
"Show me the conversion funnel for funnel ID 12345"
"Get retention for users who signed Up in the last 30 days"
"Run a JQL query to find users who purchased more than 3 times"
"List all events we are tracking"
"Search for user profiles with email containing @gmail.com"
JQL support
JQL (JavaScript Query Language) lets you write custom analysis scripts. Example:
function main() {
return People().filter(function (user) {
return user.properties.plan === "premium"
})
}License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with Mixpanel analytics, allowing them to track events, page views, user signups, and update user profiles directly through natural language requests.Last updated395MIT
- AlicenseBqualityDmaintenanceA server that interfaces with the Mixpanel API, allowing users to query events data, retention, and funnels through natural language from any MCP client like Cursor or Claude Desktop.Last updated1327MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides access to the Mixpanel REST API, enabling AI agents to query events, funnels, retention data, and user profiles. It allows users to perform complex analytics tasks and export raw event data through natural language prompts.Last updated1644MIT
- Alicense-qualityBmaintenanceMCP server for Umami Analytics that provides read-only tools to query website stats, events, sessions, reports, and more, enabling natural language analytics queries.Last updated192MIT
Related MCP Connectors
MCP server for interacting with the Supabase platform
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
GibsonAI MCP server: manage your databases with natural language
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrfentmen/mixpanel-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server