1. Price
“Early-stage companies that were founded less than 5 years ago, with up to $8M in total funding, and haven't redeemed any other offers receive their first year free on the Startup Plan.”
Free tier: Up to 1M events/month, 10K session replays/month, 1K MEU/month for experiments, up to 10 active feature flags. As reported on the official pricing page, checked Oct 27, 2026.
mixpanel.com/pricing/2. Commercial use
“Licensed under the Apache License, Version 2.0 (the "License");”
Use the hosted service under Mixpanel's terms; the browser package is Apache-2.0 and the Node.js package MIT.
github.com/mixpanel/mixpanel-js/blob/master/LICENSE3. Key & sign-up
Project token inside each event for /track (browser and server); a service account (recommended) or project secret for /import, queries and exports; OAuth or a service account for the MCP server. Only the project token is browser-safe; service account secrets and the project secret stay on the server.
docs.mixpanel.com/docs/orgs-and-projects/managing-projects.md4. Agent access
“Mixpanel provides a hosted Model Context Protocol (MCP) server that gives AI assistants direct access to your Mixpanel data.”
Our agent check: 3 of 6 (Nov 13, 2026).
docs.mixpanel.com/docs/mcp.mdChecked against the maker's official pages, pricing on Oct 27, 2026. Tap a verdict to see its source.How we checkedReport an error
What Mixpanel does
Mixpanel is an online service that records what people do in your website or app, such as sign-ups, purchases and button clicks, and turns it into charts you can explore. The same account also gives you screen recordings of visits, feature switches and A/B tests. The free plan covers up to 1 million recorded actions a month; above that you pay by volume.
- Mixpanel is one of 27 APIs in the Error tracking and analytics category on AgentGid.
- Its cheapest paid plan ($140 a month) is the 19th cheapest of the 21 here with a monthly plan.
- It is one of 20 that can be started for free.
- 5 of them ship an official MCP server; Mixpanel does not.
- Its official SDK is the 3rd most downloaded in the category (4.1M a week).
What people build with it
Find where sign-ups drop off
Record each step from landing page to paid plan and see which step loses the most people.
Record actions from your server
Send events such as "payment succeeded" from your backend, so ad blockers cannot hide them.
Watch why people get stuck
Replay real visits to see what people did right before they left, for example on a checkout page.
Turn a feature on for some users
Show a new feature only to some users, and switch it off without a new release if it causes problems.
Test two versions of a page
Show version A to some visitors and version B to others, then compare which one leads to more sign-ups.
Ask your AI assistant about usage
Connect your AI assistant to your Mixpanel data and ask questions like "which feature do paying users use most" in plain words.
Mixpanel popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
Up to 1M events/month, 10K session replays/month, 1K MEU/month for experiments, up to 10 active feature flags
$140 a month
—
Added automatically: its SDK was in 10 of the public agent repos we sampled when it was added. Prices read from the official pricing page.
What one action costs
| Action | Price |
|---|---|
| 1.5 million events a month on Growth (monthly billing) | $140 |
| 2 million events a month on Growth (monthly billing) | $259 |
| 1.5 million events a month on Growth (yearly billing, per month) | $100 |
Price history
- A year of the pricing page in the Internet Archive (10 months): the lowest monthly figure went from $120 (2026-10) to $120 (2026-10).
- 1 change in our catalog since Oct 9, 2026, last on Oct 27, 2026.
As reported on the official pricing page, checked Oct 27, 2026. Prices change: confirm before you buy. mixpanel.com/pricing
Limits
2 GB of uncompressed JSON per minute, about 30,000 events per second, per project
2,000 events per request; each event under 1 MB and fewer than 255 properties
5 concurrent queries and 60 queries per hour
500 requests per minute per IP address on /flags
Up to 1 million events, 10,000 session replays and 10 active feature flags a month
From the official docs. docs.mixpanel.com/reference/rate-limits.md
Key and access
Project token inside each event for /track (browser and server); a service account (recommended) or project secret for /import, queries and exports; OAuth or a service account for the MCP server.
None fixed by the packages (the token is passed to init); the docs use YOUR_TOKEN as a placeholderNo
Steps only a person can do
- Sign up for Mixpanel and create a project, choosing US, EU or India data residency. Copy the project token into .env (for example MIXPANEL_TOKEN) and pass it to mixpanel.init.
- Decide on cookie consent and session replay masking for your users. Set opt_out_tracking_by_default and the replay options in mixpanel.init to match.
- Only for importing old data or reading data from code, create a service account. Store its secret as a server-only environment variable.
- Only to connect an AI assistant, an organization admin enables MCP in the AI settings. Add https://mcp.mixpanel.com/mcp (or the EU or India URL) to the assistant and sign in.
Commercial use and your data
Mixpanel is a paid online service with a free plan, used under Mixpanel's terms. The browser package is open source under Apache 2.0 and the Node.js package under MIT.
Use the hosted service under Mixpanel's terms; the browser package is Apache-2.0 and the Node.js package MIT.
“Licensed under the Apache License, Version 2.0 (the "License");” source
Shipping mixpanel-browser in your bundle is allowed under Apache-2.0; keep its license notice.
“Licensed under the Apache License, Version 2.0 (the "License");” source
Set up projects for clients, but do not resell access or make the service available to anyone other than authorized users of the account.
“or make the Application Services available to anyone other than its Authorized Users” source
Events are deleted after 2 years (5 years for projects created before September 1, 2025 until the plan changes); session replays after 30 days on Free and Growth.
“As of September 1, 2025, Mixpanel's event retention period is 2 years.” source
US (default, on Google Cloud), EU or India, chosen per project when it is created.
“By default, Mixpanel stores user data on its US Servers via the Google Cloud Platform.” source
Errors to handle
The event is invalid, for example larger than 1 MB.
Fix the event and resend; do not retry unchanged.
The credentials are missing or wrong (service account or project secret on /import and other private endpoints).
Check the service account username and secret, or the project secret; do not retry unchanged.
The project has hit the rate limit.
Retry with exponential backoff and jitter, starting at 2 s and doubling up to 60 s.
A temporary problem on Mixpanel's side.
Retry with the same exponential backoff as for 429.
None of the events in the request were valid; a 1 does not prove the token is right either.
Add verbose=1 to the request while testing to get the error message.
Use it from an agent
3 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP no, status page no, AI assistants allowed yes
Checked Nov 13, 2026.
Mixpanel MCP Server
claude mcp add --transport http mixpanel https://mcp.mixpanel.com/mcp
npm install mixpanel-browserInstructions in its docs to check first
“Set up Mixpanel tracking in this project. Use the Mixpanel setup skill: https://raw.githubusercontent.com/mixpanel/ai-plugins/main/plugins/mixpanel/skills/tracking-implementation/SKILL.md”
The page asks people to paste this into an AI coding agent, which then loads remote instructions from GitHub and changes the codebase. Ask the person first; prefer the manual setup above.
“Fetch the complete documentation index at: https://docs.mixpanel.com/llms.txt”
A note to AI agents at the top of every docs page; reading the index is harmless, but it is not an instruction from the person.
Alternatives
Mixpanel This page
Pick PostHog when you want analytics, session replay, feature flags, error tracking and surveys with per-product free allowances in one account.
Pick GrowthBook when feature flags and A/B testing are the main need.
Pick Sentry when error tracking and performance tracing matter more than product analytics.
Get started
Tell your AI assistant
“Add Mixpanel to my app by hand (no AI setup skill): pin mixpanel-browser, init it with the project token from .env and the api_host of my project's region, track sign-up and purchase events, send payment events from the server with the mixpanel package, and never put a service account secret in browser code.”
Create a Mixpanel account and project (choose US, EU or India storage when you create it), then copy the project token from the project settings.
Install the browser package.
npm install --save mixpanel-browserInitialise it near the entry of your app and track your first event.
import mixpanel from "mixpanel-browser"; mixpanel.init("YOUR_TOKEN", { debug: true, track_pageview: true, persistence: "localStorage", }); mixpanel.track('Sign Up', { 'Signup Type': 'Referral' })From docs.mixpanel.com/docs/overview/capture-events/track-events.md
First request
curl --request POST \
--url https://{region}.mixpanel.com/track \
--header 'Content-Type: application/json' \
--data '
[
{
"event": "<string>",
"properties": {
"token": "<string>",
"time": 123,
"distinct_id": "<string>",
"$insert_id": "<string>"
}
}
]'1Mistakes to avoid
Events sent to the wrong region are not ingested, and the region of a project cannot be changed later.
The two packages have similar names but different jobs.
/track only accepts events from the last 5 days.
Validation errors fail every time and still count toward the rate limit.
The quickstart records every session, and recordings count against the monthly replay allowance.
Questions
Is there a free plan?
Yes, free forever with no credit card, up to 1 million events a month, as reported on the pricing page.
Can the project token be in my website code?
Yes. The project token only says which project the data belongs to and is not a secret; reading data needs a service account kept on the server.
How is the paid plan priced?
By the number of events you send each month across all projects; the first million a month stays free on Growth.
Where is my data stored?
In the US by default, or in the EU or India if you choose it when you create the project.
How long are recordings kept?
30 days on Free and Growth; Enterprise can set 7 to 360 days.