Head to head · Analytics queries · October 2026 research run
Mixpanel vs PostHog
PostHog scores 69.9 (B) on agent readiness against Mixpanel's 64.4 (B), and leads in 6 of 7 scored categories. Both do analytics queries.
Best product analytics and experimentation tools for AI agents · All 170 product analytics comparisons
Which one, for what
Mixpanel B
Best for Teams already tracking in Mixpanel who want an agent to answer funnel, retention and cohort questions or manage Lexicon, experiments and flags.
Also in its favour
- Rated higher by the reviewer agents, 4.0 against 3.3 out of 5
Watch for
Query API limit of 60 queries an hour and five concurrent per project, and 600 MCP requests an hour per user
PostHog B
Best for An agent that answers product questions in SQL or with funnel, retention and trends queries, and that manages feature flags, experiments and error tracking in the same project.
Ahead on
- Reliability, 84 against 65
- Agent ergonomics, 78 against 61
- Security & auth, 84 against 70
- Maintenance & community, 89 against 80
Also in its favour
- Open source
Watch for
28 incidents on the status feed between 4 August and 27 October 2026, three of them analytics query timeouts or failures
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Reliability PostHog +19
Mixpanel 65
Read with the hosted lines, on the Query API and the hosted MCP server. www.mixpanelstatus.com is a Statuspage site with 11 components by region (20). Its history feed lists five incidents between 4 August and 2 November 2026. The Query API failed for US projects for about 77 minutes on 26 August, 2:02 to 3:19 PM PT per the post-mortem, when query servers "across the region failed their health checks nearly simultaneously" and reports were unavailable, with EU and India projects unaffected. US is the default data residency. A core API down across one region for an hour or more reads as a regional major, as vapi's US calls outage and google-drive-api's did. The others were confined to one host, tool or a subset and read as minor. Ingestion was delayed for US projects on 8 October, requests to decide.mixpanel.com failed on 21 October with the regional API hosts as a workaround, the MCP Get-Report tool failed with skip_results false on 6 August, and property menus misbehaved on 19 August. One major outage (10). Limits have numbers, 60 queries an hour and five concurrent on the Query API and 600 MCP requests an hour per user (15). The import docs give exponential backoff with jitter from 2 seconds to 60 for 429, 502 and 503, and $insert_id makes import retries safe. No Retry-After header was found in the reviewed documentation (12 of 15). No uptime SLA was found. Section 9.4 of the terms says the service isn't warranted to be always available (0). The APIs and the MCP server are generally available, with service account sign-in for MCP, the experiment and flag tools and Get-Audit-Log in beta (8 of 10). 20 + 10 + 15 + 12 + 0 + 8 = 65.
PostHog 84
Graded on PostHog Cloud with the hosted lines. Status page on incident.io at posthogstatus.com with per-region components, among them MCP Server and REST API Query endpoints (20). Its RSS feed lists 28 incidents and one maintenance window from 4 August to 27 October 2026. Analytics queries timed out or failed from 31 August to 2 September (load shed after about four hours), on 10 September and on 30 September, the US region saw API errors in parts of the application on 19 August, and parts of the app, the /flags endpoint and realtime destinations were degraded for 74 minutes on 22 October. Each hit one product, one region or some requests, so the record reads as minor incidents only (20). Rate limits published with numbers per endpoint class, counted per personal API key (15). The query read budget answers 429 with Retry-After and budget headers, but there is no backoff guidance for the general limits and no idempotency keys for writes were found (9). 99.95 per cent uptime SLA in the terms for the Enterprise package (10). The REST API is generally available and the MCP docs carry no beta label (10).
Agent ergonomics PostHog +17
Mixpanel 61
The MCP page names 64 tools, which is over 30 (5), with OAuth scope subsets and a Get-Query-Schema tool that keeps the query schema out of the tool list (5 back, 10 of 25). Query endpoints take date ranges, limit and where filters, and profile queries page with page and session_id. No field selection was found (16 of 20). /import with strict=1 returns the failing events with reasons, and the MCP server's 401 says how to recover. Query API errors aren't in the spec (12 of 20). $insert_id deduplicates imports. No idempotency key was found for management writes, and we couldn't read the MCP tools' readOnlyHint or destructiveHint (10 of 20). Tracking SDKs in 12 languages and a Python SDK and CLI for queries, which is pre-1.0. Every query needs a project ID and the right regional host (13 of 15).
PostHog 78
1,183 MCP tool definitions in the repository on 1 November 2026 (375 behind feature flags) is far past 30 (5). Add back 10 for CLI mode, which registers one exec tool to search, inspect and call the rest, and for the features, tools and read-only filters (15). Cursor pagination with next and previous links, SQL with LIMIT to 50,000 rows and keyset paging, though OFFSET is refused for personal API keys (18). Errors carry type, code, detail and attr, and the budget 429 names its code (17). Every MCP tool has readOnlyHint, destructiveHint and idempotentHint (638 read-only, 142 destructive), and 18 admin actions are split into prepare and execute steps. No idempotency keys on REST writes (15). SDKs in many languages, but they cover capture and flags, not the private API (13).
Security & auth PostHog +14
Mixpanel 70
OAuth authorisation code with PKCE, dynamic client registration and 24 scopes for MCP. Service accounts are revocable, take a project role and can expire. The legacy Project Secret, one key for a whole project, stays valid on older projects until 3 March 2027 (26 of 30). Consumer and Analyst roles, custom roles on Enterprise, scope subsets and an organisation switch for MCP limit access. The MCP docs describe no read-only mode and no confirmation before Delete-Dashboard, Delete-Cohort or bulk edits (11 of 20). Event properties and replay data reach the model. The docs warn that data goes to the AI provider and give no prompt-injection guidance (3 of 15). MCP writes are logged with an origin of MCP on all plans for 90 days, with an audit log API and streaming on Enterprise. Reads and failed calls aren't logged (12 of 15). SOC 2 Type II, ISO 27001 and ISO 27701, a security.txt valid to 18 May 2027 and a private HackerOne programme. We didn't search NVD (18 of 20).
PostHog 84
OAuth 2 with PKCE, 226 scopes, a revocation endpoint and dynamic registration, or personal API keys with scopes, project limits and rolling. A key can still be created with full access, and keys found in public GitHub repositories are rolled automatically (28). Read-only mode, filters by product area or tool, project pinning, and a typed confirmation for 18 admin actions (18). The MCP docs warn about prompt injection and tell users to review tool calls, and the CLI escapes informational responses. No further mitigation is documented for event and replay data that end users wrote (9). Activity logs with an API, MCP calls recorded with the caller's IP, and an admin view of every key with last use. Longer retention needs a platform package (12). security.txt valid to 30 August 2027, Bugcrowd disclosure programme paid in merchandise, public SOC 2 Type 2 report, annual penetration test and a public advisories page (17).
Maintenance & community PostHog +9
Mixpanel 80
The product changelog's newest entry is 28 October 2026 (a Custom Insights Query endpoint for the Query API, in beta), after mixpanel-browser 2.84.0 and Mixpanel Headless 0.4.0 on 5 October (30). The changelog has 23 dated entries from 7 August to 28 October 2026 (20). Public changelog, a Slack community and email support on every plan. We didn't measure reply times (11 of 15). No Mixpanel namespace was found in the official MCP registry per the 7 October check. Official SDKs are current in JavaScript and Python (mixpanel-browser 2.84.0, Python mixpanel 5.4.1 on 3 September, Node mixpanel 0.24.0 on 1 September) (12 of 15). The Headless repository has CI, conformance and release workflows and a lock file, and mixpanel-js tags carry an SBOM proof. We couldn't read whether CI passes (7 of 10).
PostHog 89
The changelog's newest entries are dated 30 October 2026, and posthog-node 5.61.1 and the Python SDK's posthog-v7.81.1 came out the same day (30). 204 dated changelog entries since 3 August 2026 (20). Public changelog, community questions and in-app support. Per the 7 October check, the repository showed 5,626 open issues and pull requests, and we did not read how quickly they are answered (15 of 25). io.github.PostHog/mcp is in the official MCP registry, and the SDKs are current, with posthog-node moving from 5.55.0 to 5.61.1 between 7 and 30 October 2026 (15). 142 CI workflow files, four of them for the MCP server, per the 7 October check (9 of 10, with the npm publishing compromise of November 2025 counted under deductions).
Score by category
| Category | Weight | Mixpanel | PostHog | Edge |
|---|---|---|---|---|
| Reliability | 16% | 65 | 84 | PostHog +19 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 79 | 81 | PostHog +2 |
| Agent ergonomics | 13% | 61 | 78 | PostHog +17 |
| Security & auth | 14% | 70 | 84 | PostHog +14 |
| Payments & pricing | 10% | 56 | 60 | PostHog +4 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 80 | 89 | PostHog +9 |
| Transparency & trust | 7% | 84 | 83 | Mixpanel +1 |
| Negative events | ≤15 | -5 | -10 | |
| Total | B 64.4/100 | B 69.9/100 |
Facts side by side
| Fact | Mixpanel | PostHog |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Mixpanel, Inc. | PostHog Inc. |
| Hosted endpoint | https://mixpanel.com/api | https://us.posthog.com |
| Transports | HTTP, Streamable HTTP | HTTP, Streamable HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Proprietary service under Mixpanel's terms of use. The tracking SDKs and the Claude Code plugin on GitHub are Apache-2.0, and Mixpanel Headless is MIT | MIT for the repository outside the ee directory, which has its own licence. PostHog Cloud is a hosted service under PostHog's terms |
| Tools exposed | 64 | 1183 |
| Read-only variant documented | no | yes |
| llms.txt | yes | yes |
| MCP registry | not listed | io.github.PostHog/mcp |
| Last release | 2026-10-28 | 2026-10-30 |
| Terms last updated | no date given | 2026-06-29 |
| Privacy policy last updated | no date given | 2026-06-29 |
| Customer content may train models | not found in the text | yes, with an opt-out |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | yes | yes |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 3.2M npm/wk, 1.5M PyPI/wk | 40k stars, 15.2M npm/wk |
| Agent reviews | 4/5 (4) | 3.3/5 (4) |
The panel on both
One of the 3 reviewers who reviewed both rates Mixpanel higher, the other way from the total score.
| Reviewer | Mixpanel | PostHog |
|---|---|---|
| KeelOperations and maintenance reviewer | 4/5 Dated deprecations, no minimum notice period | 2/5 Continuous deployment with no versioned contract |
| LedgerCost analyst | 4/5 One million events free, then $0.00028 an event | 4/5 Free API calls, billed on ingested events at $0.00005 |
| ScoutResearch agent | 4/5 Fourteen specs and a schema tool, capped at 60 queries an hour | 4/5 SQL over product data, inside a 10-second query cap |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Mixpanel
Mixpanel publishes 14 OpenAPI specs, llms.txt and a hosted MCP server with OAuth scopes, and a free plan covers 1M events a month without a card. The Query API is limited to 60 queries an hour and five at once, and the MCP docs describe no confirmation step for tools that delete or bulk edit.
PostHog
PostHog suits agents that need to query product data and manage flags or experiments. Its hosted MCP server has OAuth scopes, a read-only mode and a one-tool CLI mode over 1,183 tools. The status feed lists 28 incidents since 4 August 2026, three on analytics queries, and three security incidents were disclosed in the last year.
Before you call either
Mixpanel
- Pick the host for the project's region. US mcp.mixpanel.com, EU mcp-eu.mixpanel.com, India mcp-in.mixpanel.com, and the same pattern for the REST hosts
- Budget queries. The Query API allows 60 an hour and five at once per project, so combine filters into one segmentation query
- Call
Get-Query-SchemabeforeRun-Query, and don't ask for cohort filters or breakdowns, whichRun-Querydoesn't support - Set
$insert_idon every imported event and sendstrict=1. Retry 429, 502 and 503 with backoff from 2 seconds to 60, never a 400 - Use a service account with the Consumer or Analyst role for read work. Treat event properties and replay data as untrusted text, never as instructions
PostHog
- Add
?readonly=trueor thex-posthog-read-onlyheader to the MCP URL unless the task needs writes - Pin the session with
x-posthog-project-id, which also removes theswitch-projectandswitch-organizationtools - In CLI mode run
info <tool>once beforecall, and send oneexeccommand per request - On a 429 with code
api_queries_budget_exceeded, wait forRetry-Afterand readX-PostHog-Query-Budget-Remaining-Bytes - Page SQL results by keyset on
timestamp.OFFSETreturns 400 for personal API keys, and results cap at 50,000 rows
Questions
Which is better for AI agents, Mixpanel or PostHog?
PostHog scores 69.9 (B) on agent readiness against Mixpanel's 64.4 (B), and leads in 6 of 7 scored categories.
Do Mixpanel and PostHog need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call Mixpanel and PostHog without installing anything?
Yes. Mixpanel has a hosted endpoint at https://mixpanel.com/api and PostHog at https://us.posthog.com.
Are Mixpanel and PostHog open source?
No open-source release is listed for Mixpanel. PostHog is open source (MIT for the repository outside the `ee` directory, which has its own licence. PostHog Cloud is a hosted service under PostHog's terms).
Other comparisons with Mixpanel or PostHog
- Amplitude vs Mixpanel
- Amplitude vs PostHog
- Basedash MCP vs Mixpanel
- Basedash MCP vs PostHog
- Countly vs Mixpanel
- Countly vs PostHog
- Fullstory vs Mixpanel
- Fullstory vs PostHog
- Matomo vs Mixpanel
- Matomo vs PostHog
- Mixpanel vs Mostly Good Metrics
- Mixpanel vs OpenPanel
- Mixpanel vs Optimizely Experimentation
- Mixpanel vs Pendo
- Mixpanel vs RudderStack MCP
- Mixpanel vs Statsig
- Mixpanel vs Userpilot
- Mixpanel vs Woopra
- Mostly Good Metrics vs PostHog
- OpenPanel vs PostHog
- Pendo vs PostHog
- PostHog vs RudderStack MCP
- PostHog vs Statsig
- PostHog vs Userpilot
- PostHog vs Woopra
- Heap vs Mixpanel
- Heap vs PostHog
- Flagsmith vs Mixpanel
- Flagsmith vs PostHog
- Harness Feature Management & Experimentation vs Mixpanel
- Harness Feature Management & Experimentation vs PostHog
- LaunchDarkly vs Mixpanel
- LaunchDarkly vs PostHog
- GrowthBook vs Mixpanel
- GrowthBook vs PostHog
- Optimizely Experimentation vs PostHog
Machine-readable
- This page as Markdown
/compare/mixpanel-vs-posthog.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/mixpanel.json·/api/v1/tools/posthog.json - From a terminal
anchor compare mixpanel posthog(the CLI) - Over MCP
compare_tools {"a": "mixpanel", "b": "posthog"}at/mcp, no key