Installation guide
How to install Mixpanel MCP Server
In Claude, ChatGPT, Gemini, Microsoft Copilot, Perplexity, Cursor and Claude Code, with what to check before you start and the first prompts to run.
Mixpanel hosts the MCP server, so there is nothing to install on a server. You add a regional URL to your AI client and sign in with your own Mixpanel account through OAuth. Cursor, Gemini CLI and other JSON-configured clients use the `mcp-remote` package through `npx`, so they need Node.js. For CI or shared agents, the docs also describe service account authentication (Beta) with a static `Authorization` header.
An organization admin must first confirm that MCP is enabled for the organization. After that, any Mixpanel user in the org can connect with their own login, and their existing project roles apply. Start with a person who has normal analyst access, not an admin or owner, and keep the first session read-only. Reserve write tools (dashboards, Lexicon edits, cohorts, lookup tables) for supervised tasks.

Before you start
- A Mixpanel account in the organization you want to query, with access to the relevant projects.
- MCP enabled by an org admin. The docs name
Settings > Org > AI Settingsfor this, and the service account section namesSettings > Org > Overview, so check which one your account shows. Changes can take up to 15 minutes. Accounts created after August 1, 2026 on free and growth plans have it on by default. - Your data region (US, EU or IN) so you can pick the matching MCP URL.
Node.jswithnpxfor Cursor, Gemini CLI and other clients that usemcp-remote.- For service account use only: Owner or Admin permission to create the service account, and a secret manager or environment variable to hold the credentials.
- How it runs
- Remote, added by URL
- Access
- Read and write
- Server address
https://mcp.mixpanel.com/mcp
Mixpanel MCP Server in Claude
- Ask an org admin to confirm MCP is enabled, then wait up to 15 minutes if it was just changed.
- For a US project, add Mixpanel in Claude and complete the Mixpanel OAuth flow in the browser.
- For an EU or IN project, go to
Settings > Connectors > Add Custom Connectorand enter your regional URL:https://mcp-eu.mixpanel.com/mcporhttps://mcp-in.mixpanel.com/mcp. - Sign in with your own Mixpanel credentials when prompted.
- Claude Team and Enterprise admins can connect everyone in the organization at once with enterprise-managed connections. See the vendor documentation for those steps.
- For a headless setup, the docs describe a service account entry in
claude_desktop_config.json(viaSettings > Developer > Edit Config) using aheadersblock. Take the exact format from the vendor documentation, and restart Claude Desktop after saving.
https://mcp.mixpanel.com/mcp
Mixpanel MCP Server in ChatGPT
- For a US workspace, add Mixpanel in ChatGPT and complete the Mixpanel OAuth flow.
- For an EU or IN workspace, or to publish a custom plugin to teammates, first enable Developer Mode in
Settings > Security and login. - With Developer Mode on, go to
Pluginsand add a new plugin. - Set the MCP Server URL to your regional endpoint and set Authentication to
OAuth. - Complete the Mixpanel OAuth flow and sign in with your own Mixpanel account.
- Optionally publish the connector to your workspace so teammates can use it. Do this only after you have checked the read-only prompts below.
https://mcp.mixpanel.com/mcp
Mixpanel MCP Server in Gemini
- Make sure
Node.jsandnpxare available, because the docs connect Gemini CLI throughmcp-remote. - Run the
gemini mcp addcommand shown below. Swap in the EU or IN URL if your project is in that region. - Alternatively, edit
~/.gemini/settings.jsonand add amixpanelentry undermcpServerswithcommandset tonpxandargsset to-y,mcp-remoteand the URL. - Start Gemini CLI. The first connection should prompt you to authorize with Mixpanel in the browser.
- The docs do not cover Gemini app extensions, so use Gemini CLI for this server.
gemini mcp add mixpanel npx -y mcp-remote https://mcp.mixpanel.com/mcp
Mixpanel MCP Server in Microsoft Copilot
- The docs say any client that supports the MCP
JSONconfig format, including Microsoft Copilot, can use the same snippet as Cursor. They do not give Copilot Studio steps, so take those from the vendor documentation and Microsoft's own docs. - For GitHub Copilot in VS Code, create or open
.vscode/mcp.json. - Add a
mixpanelentry underserversusing the snippet below. Use the EU or IN URL if needed. - Save the file and start the server from VS Code. The first connection should prompt you to authorize with Mixpanel.
- Sign in with your own Mixpanel account and confirm the tools are listed before running any prompts.
{
"servers": {
"mixpanel": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.mixpanel.com/mcp"
]
}
}
}
Mixpanel MCP Server in Perplexity
- The Mixpanel docs do not cover Perplexity, so these steps are generic.
- Open the connectors area of the Perplexity desktop app and choose the option to add a custom or remote MCP server.
- Enter the MCP URL for your region:
https://mcp.mixpanel.com/mcp,https://mcp-eu.mixpanel.com/mcporhttps://mcp-in.mixpanel.com/mcp. - If the app asks for an authentication type, choose OAuth, then sign in with your own Mixpanel account.
- If the app offers no way to add a remote server by URL, use one of the clients the docs do cover.
https://mcp.mixpanel.com/mcp
Mixpanel MCP Server in Cursor
- Go to
Settings > Tools & MCP > New MCP Serverto open~/.cursor/mcp.json. - Add the
mixpanelentry below. Use the EU or IN URL if needed. - Save the file. Cursor will prompt you to authorize with Mixpanel on first connect.
- Complete the OAuth flow in the browser with your own Mixpanel credentials.
- Check that the server shows as connected with its tools listed in the MCP settings.
{
"mcpServers": {
"mixpanel": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.mixpanel.com/mcp"
]
}
}
}
Mixpanel MCP Server in Claude Code
- Run the
claude mcp addcommand below. Use the EU or IN URL if your project is in that region. - Inside Claude Code, run
/mcp. - Select the Mixpanel server and complete the OAuth flow in your browser with your own Mixpanel credentials.
- For automated or shared setups, the docs describe service account auth (Beta) with a
--headerflag or a.mcp.jsonentry that reads an environment variable. Take the exact syntax from the vendor documentation. - Keep service account credentials in an environment variable or secret manager, and give the account access only to the projects it needs.
claude mcp add --transport http mixpanel https://mcp.mixpanel.com/mcpCheck that it works
Start with questions that only read data. If these answer from your real account, the connection is good.
- List my Mixpanel organizations and projects.
- In project <your project name>, list the 10 most recently seen events and describe what each one tracks.
- Run a read-only insights query for total event count by day for the last 7 days and tell me which event you used.
Troubleshooting
+The client connects but Mixpanel tools are missing or the sign-in is rejected. What should I check?
Confirm an org admin has enabled MCP in the Mixpanel org settings. The docs name `Settings > Org > AI Settings`, and the service account section names `Settings > Org > Overview`. Changes can take up to 15 minutes. Then reconnect and sign in again. If a user can still not connect, check that their Mixpanel account belongs to the organization.
+I get empty results or authorization errors for a project I can see in Mixpanel. Why?
Check that the URL matches your data region (US, EU or IN), since each region has its own endpoint. Also remember that you only see projects your own account can access. For service accounts, confirm the account was added to that project. Verify with a project listing before running queries.
+Requests start failing partway through a long session. Is there a limit?
The listing notes a limit of 600 requests per hour per user, so heavy exploration or loops can hit it. Ask narrower questions, avoid repeated retries, and wait before continuing. Several tools are also Beta, so behavior can change. Writes appear in the audit log but reads do not.
Written Nov 8, 2026 from the vendor documentation. Exact menus, addresses and commands change; the official documentation is the source of truth.
Questions and answers
Questions readers and searchers ask about installing Mixpanel MCP Server, answered by the site editor from the vendor documentation, plus reader experience. Every comment is reviewed before it appears.