MCP Ecommerce
Mixpanel logo

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.

Mixpanel MCP Server setup guide: Mixpanel's MCP documentation page on docs.mixpanel.com, shown in a browser frame (analytics MCP server for e-commerce)
Mixpanel MCP Server setup guide preview: Mixpanel’s documentation on docs.mixpanel.com, captured Nov 8, 2026. The page may have changed since; the link opens the live version.

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 Settings for this, and the service account section names Settings > 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.js with npx for Cursor, Gemini CLI and other clients that use mcp-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

  1. Ask an org admin to confirm MCP is enabled, then wait up to 15 minutes if it was just changed.
  2. For a US project, add Mixpanel in Claude and complete the Mixpanel OAuth flow in the browser.
  3. For an EU or IN project, go to Settings > Connectors > Add Custom Connector and enter your regional URL: https://mcp-eu.mixpanel.com/mcp or https://mcp-in.mixpanel.com/mcp.
  4. Sign in with your own Mixpanel credentials when prompted.
  5. Claude Team and Enterprise admins can connect everyone in the organization at once with enterprise-managed connections. See the vendor documentation for those steps.
  6. For a headless setup, the docs describe a service account entry in claude_desktop_config.json (via Settings > Developer > Edit Config) using a headers block. Take the exact format from the vendor documentation, and restart Claude Desktop after saving.
Connector URL (US)
https://mcp.mixpanel.com/mcp

Mixpanel MCP Server in ChatGPT

  1. For a US workspace, add Mixpanel in ChatGPT and complete the Mixpanel OAuth flow.
  2. For an EU or IN workspace, or to publish a custom plugin to teammates, first enable Developer Mode in Settings > Security and login.
  3. With Developer Mode on, go to Plugins and add a new plugin.
  4. Set the MCP Server URL to your regional endpoint and set Authentication to OAuth.
  5. Complete the Mixpanel OAuth flow and sign in with your own Mixpanel account.
  6. Optionally publish the connector to your workspace so teammates can use it. Do this only after you have checked the read-only prompts below.
MCP Server URL (US)
https://mcp.mixpanel.com/mcp

Mixpanel MCP Server in Gemini

  1. Make sure Node.js and npx are available, because the docs connect Gemini CLI through mcp-remote.
  2. Run the gemini mcp add command shown below. Swap in the EU or IN URL if your project is in that region.
  3. Alternatively, edit ~/.gemini/settings.json and add a mixpanel entry under mcpServers with command set to npx and args set to -y, mcp-remote and the URL.
  4. Start Gemini CLI. The first connection should prompt you to authorize with Mixpanel in the browser.
  5. The docs do not cover Gemini app extensions, so use Gemini CLI for this server.
Terminal
gemini mcp add mixpanel npx -y mcp-remote https://mcp.mixpanel.com/mcp

Mixpanel MCP Server in Microsoft Copilot

  1. The docs say any client that supports the MCP JSON config 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.
  2. For GitHub Copilot in VS Code, create or open .vscode/mcp.json.
  3. Add a mixpanel entry under servers using the snippet below. Use the EU or IN URL if needed.
  4. Save the file and start the server from VS Code. The first connection should prompt you to authorize with Mixpanel.
  5. Sign in with your own Mixpanel account and confirm the tools are listed before running any prompts.
.vscode/mcp.json
{
  "servers": {
    "mixpanel": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.mixpanel.com/mcp"
      ]
    }
  }
}

Mixpanel MCP Server in Perplexity

  1. The Mixpanel docs do not cover Perplexity, so these steps are generic.
  2. Open the connectors area of the Perplexity desktop app and choose the option to add a custom or remote MCP server.
  3. Enter the MCP URL for your region: https://mcp.mixpanel.com/mcp, https://mcp-eu.mixpanel.com/mcp or https://mcp-in.mixpanel.com/mcp.
  4. If the app asks for an authentication type, choose OAuth, then sign in with your own Mixpanel account.
  5. If the app offers no way to add a remote server by URL, use one of the clients the docs do cover.
Server URL (US)
https://mcp.mixpanel.com/mcp

Mixpanel MCP Server in Cursor

  1. Go to Settings > Tools & MCP > New MCP Server to open ~/.cursor/mcp.json.
  2. Add the mixpanel entry below. Use the EU or IN URL if needed.
  3. Save the file. Cursor will prompt you to authorize with Mixpanel on first connect.
  4. Complete the OAuth flow in the browser with your own Mixpanel credentials.
  5. Check that the server shows as connected with its tools listed in the MCP settings.
~/.cursor/mcp.json
{
  "mcpServers": {
    "mixpanel": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.mixpanel.com/mcp"
      ]
    }
  }
}

Mixpanel MCP Server in Claude Code

  1. Run the claude mcp add command below. Use the EU or IN URL if your project is in that region.
  2. Inside Claude Code, run /mcp.
  3. Select the Mixpanel server and complete the OAuth flow in your browser with your own Mixpanel credentials.
  4. For automated or shared setups, the docs describe service account auth (Beta) with a --header flag or a .mcp.json entry that reads an environment variable. Take the exact syntax from the vendor documentation.
  5. Keep service account credentials in an environment variable or secret manager, and give the account access only to the projects it needs.
Terminal
claude mcp add --transport http mixpanel https://mcp.mixpanel.com/mcp

Check 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.

Ask a question or share what worked

Reviewed before publishing. One link max, no HTML.