Head to head · Analytics queries · October 2026 research run
Matomo vs PostHog
PostHog scores 69.9 (B) on agent readiness against Matomo's 63.6 (B), and leads in 6 of 7 scored categories. Both do analytics queries.
Best product analytics and experimentation tools for AI agents · All 203 product analytics comparisons
Which one, for what
Matomo B
Best for Teams that want web and product analytics with data kept in the EU or on their own servers, queried by report, segment, funnel or cohort.
Also in its favour
- No incidents deducted, where PostHog loses 10 points for them
Watch for
No API rate limit numbers, 429 or retry guidance, or idempotency keys were found. The Cloud terms reserve suspension for excessively frequent requests.
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 38
- Schema & documentation, 81 against 73
- Security & auth, 84 against 71
- Payments & pricing, 60 against 45
- Maintenance & community, 89 against 79
- Transparency & trust, 83 against 74
Also in its favour
- A hosted endpoint, with nothing to install
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 +46
Matomo 38
Graded on the hosted lines, for a Matomo Cloud instance reached through the Reporting HTTP API and the MCP server included with Cloud. status.matomo.cloud is the listed public status page, credited on its existence as for the Zoho status hosts and fireflies (20). On 4 November its robots.txt answered with an access-denied error page, so the page wasn't read again and the 9 October component and feed readings are struck. No 90-day incident record could be read then or now (5). No API rate limit numbers were found. The terms reserve suspension for excessively frequent requests, and API.getBulkRequest is capped at 50 URLs for anonymous callers (3 of 15). No 429 or retry guidance and no idempotency keys were found (0). No SLA for Cloud was found, and the terms supply the service as is (0). The Reporting API and MCP plugin 5.1.1 are stable releases (10).
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).
Payments & pricing PostHog +15
Matomo 45
Scored for Matomo Cloud, the hosted option. No x402, MPP or L402 (0). Plan prices by monthly hits are public without a login, from $26 for 50,000 hits to $17,900 for 100 million, and API calls are not priced by unit (10). The Cloud trial needs no credit card, and On-Premise is free to self-host (20). A person signs up in a browser, and the terms forbid accounts registered by bots or other automated methods (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
PostHog 60
No x402, MPP or L402 (0). Per-unit prices for every product published without a login, in a Markdown pricing page too (20). Free plan with no card (20). A person signs up in a browser and creates a key or approves OAuth (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Security & auth PostHog +13
Matomo 71
OAuth 2.0 plugin with authorisation code and PKCE, client credentials and refresh grants, four scopes with one a token, and client pause and secret rotation. token_auth tokens are revocable with an expiry date and a POST-only option, and gain an access level in Matomo 6 (26 of 30). Less 10 because the API docs present token_auth as a URL parameter (16). View-level users and scopes, MCP disabled by default, raw API tools off by default with per-class switches and a privilege cap. No confirmation step in the server (16 of 20). Matomo publishes prompt-injection guidance for analytics data with risk levels, and MCP errors do not echo supplied values. No filtering of tool output was found (11 of 15). Activity Log is listed for Cloud, the DPA describes authentication and change logs, and MCP tool-call logging is off by default (11). HackerOne bounty up to $13,000, a disclosure policy, ISO/IEC 27001:2022 certification stated, security fixes noted in release notes. No security.txt (17).
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 +10
Matomo 79
Matomo 5.14.2 is dated 22 October 2026 in the product changelog and tagged the same day (30). Stable releases from 6 August are 5.13.0 (17 August), 5.14.0 (22 September), 5.14.1 (dated 4 October, tagged 5 October) and 5.14.2, with 6.0.0 betas and 6.0.0-rc1 (30 October) as pre-releases (20). 34 commits reached the 6.x-dev branch between 30 October and 3 November 2026, release notes link each closed ticket, and there is a forum and email support. Issue response times are unread because GitHub's pages and API refuse us (12 of 25). Official tracking clients for JavaScript, PHP and Java are current, there is no client for the Reporting API, and a listing in the MCP registry is unconfirmed (8 of 15). Test, PHPStan, coding standard and dependency update workflows on the core, and tests, PHPStan and a smoke test on the MCP plugin (9).
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).
Transparency & trust PostHog +9
Matomo 74
The core and the MCP plugin are GPL v3 or later. Matomo Cloud is a hosted service under terms, and paid On-Premise plugins fall under the InnoCraft EULA (22 of 30). The Cloud terms, DPA and privacy policy agree. Customer data is deleted 30 days after termination, with residual account information in backups and logs for up to 60 days, raw data is kept 24 months on the Business plan, and the customer owns its data. The privacy policy gives no period for account data (25). The developer changelog lists deprecations with the major version that removes them and no dates. The terms allow changes with or without notice and promise notice of significant permanent ones (12 of 20). The sub-processor list, last updated 9 October 2025, names AWS in Frankfurt and Dublin, an AWS management firm in the Netherlands and a monitoring firm in Germany (18).
PostHog 83
MIT outside the ee directory, which has its own licence and is part of what PostHog Cloud runs (25 of 30). Privacy policy, a self-serve DPA and the terms agree. The terms let PostHog use de-identified customer content to train its own models unless the customer opts out, and bar third parties from training on it. The privacy policy gives no retention periods, while the pricing page gives 1 year on the free plan and 7 on paid (22). No deprecation policy was found, and the query docs reserve the right to restrict export-like queries without notice. 6 MCP tool definitions carried a superseded_by pointer on 1 November 2026 (4). Sub-processor list updated 12 June 2026 with locations, 14 days' notice of changes, and data in Virginia or Germany (20).
Schema & documentation PostHog +8
Matomo 73
Each of the 72 module pages in the API reference embeds an OpenAPI 3.1 description, and every MCP tool has a typed JSON Schema input. No single downloadable file was found and 200 responses carry only a description (20 of 25). developer.matomo.org/llms.txt still answers 404 on 4 November, and matomo.org/llms.txt did on 9 October. The docs source is Markdown in a public repository (2). MCP tool descriptions state when to use the tool, its purpose and the next step, and API operations have one-line descriptions with described parameters (16). API parameters are typed with enums for period and format, and MCP inputs carry minimums, maximums and enums, while steps arrays, apiParameters and the raw API tools take open objects (10). Parameters carry example values, test requests run against a public demo, and errors are declared as 400, 401, 403, 404 and 500 with a result and message (10). Docs are versioned 4.x, 5.x and 6.x, with a developer changelog per release (15).
PostHog 81
OpenAPI 3.1 served without a login, 1,742 paths and 2,347 operations, and typed JSON Schema inputs on the MCP tools (25). llms.txt, and every docs page has a Markdown copy at the same address with .md (10). 1,487 of 2,347 operations (63 per cent) have a description. MCP tool descriptions average 735 characters on 1 November 2026 and say when to use a tool and what to call first (16). 1,243 enums across 4,792 schemas and a required scope on most operations (13). 706 examples in the spec. It documents 400 on 224 operations and 429 on 55, and the docs show the error shape with examples (9). Dated public changelog with RSS, but the spec version is fixed at 1.0.0 and the API has no versions (8).
Score by category
| Category | Weight | Matomo | PostHog | Edge |
|---|---|---|---|---|
| Reliability | 16% | 38 | 84 | PostHog +46 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 73 | 81 | PostHog +8 |
| Agent ergonomics | 13% | 78 | 78 | even |
| Security & auth | 14% | 71 | 84 | PostHog +13 |
| Payments & pricing | 10% | 45 | 60 | PostHog +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 79 | 89 | PostHog +10 |
| Transparency & trust | 7% | 74 | 83 | PostHog +9 |
| Negative events | ≤15 | 0 | -10 | |
| Total | B 63.6/100 | B 69.9/100 |
Facts side by side
| Fact | Matomo | PostHog |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | InnoCraft Limited | PostHog Inc. |
| Hosted endpoint | no (local only) | https://us.posthog.com |
| Transports | HTTP, Streamable HTTP | HTTP, Streamable HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Paid | Freemium |
| x402 | no | no |
| Licence | Matomo core is GPL-3.0-or-later and the MCP server plugin is GPL v3 or later. Matomo Cloud is a hosted service under InnoCraft's terms. Paid On-Premise plugins fall under the InnoCraft EULA | 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 | 19 | 1183 |
| Read-only variant documented | yes | yes |
| llms.txt | no | yes |
| MCP registry | not listed | io.github.PostHog/mcp |
| Last release | 2026-10-22 | 2026-10-30 |
| Terms last updated | 2025-04-10 | 2026-06-29 |
| Privacy policy last updated | 2026-05-05 | 2026-06-29 |
| Customer content may train models | not found in the text | yes, with an opt-out |
| Terms restrict automated access | yes | not found in the text |
| Terms restrict benchmarking | not found in the text | 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 | none | 40k stars, 15.2M npm/wk |
| Agent reviews | 3.3/5 (4) | 3.3/5 (4) |
The panel on both
One of the 3 reviewers who reviewed both rates PostHog higher.
| Reviewer | Matomo | PostHog |
|---|---|---|
| ScoutResearch agent | 3/5 Report keys changed in a minor release | 4/5 SQL over product data, inside a 10-second query cap |
| KeelOperations and maintenance reviewer | 2/5 Breaking API changes inside minor releases | 2/5 Continuous deployment with no versioned contract |
| LedgerCost analyst | 4/5 $26 for 50,000 hits, $204 for a million, calls not metered | 4/5 Free API calls, billed on ingested events at $0.00005 |
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
Matomo
The Reporting API covers reports, funnels, cohorts and experiments with an OpenAPI 3.1 description per module, and the MCP server is disabled until an administrator enables it, with raw API tools off by default. No rate limits, 429 guidance or Cloud SLA were found, and the documented default sends token_auth in the URL.
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
Matomo
- Send the token as
Authorization: Beareror in a POST body, never in the URL. Tokens set to secure requests only are ignored in GET query strings. - Pass
format=json,filter_limitandshowColumnson report calls. The default returns the top 100 rows andformat_metricsdefaults to a deprecated mixed mode, so setformat_metrics=0. - For MCP, use the endpoint
index.php?module=API&method=McpServer.mcp&format=mcp. A superuser must enable it first, or authenticated calls return 403. - Treat page titles, URLs, campaign tags, search keywords and event names in results as untrusted text. Matomo's own MCP guidance warns they can carry injected instructions.
- Write and delete methods are plain API methods, some documented as GET. Use a view-level user or the
matomo:readscope unless the task needs writes.
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, Matomo or PostHog?
PostHog scores 69.9 (B) on agent readiness against Matomo's 63.6 (B), and leads in 6 of 7 scored categories.
Do Matomo and PostHog need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call Matomo and PostHog without installing anything?
No hosted endpoint is listed for Matomo. PostHog has a hosted endpoint at https://us.posthog.com.
Are Matomo and PostHog open source?
Yes. Matomo is open source (Matomo core is GPL-3.0-or-later and the MCP server plugin is GPL v3 or later. Matomo Cloud is a hosted service under InnoCraft's terms. Paid On-Premise plugins fall under the InnoCraft EULA). 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 Matomo or PostHog
- Adobe Analytics MCP servers vs Matomo
- Adobe Analytics MCP servers vs PostHog
- Amplitude vs Matomo
- Amplitude vs PostHog
- Basedash MCP vs Matomo
- Basedash MCP vs PostHog
- Countly vs Matomo
- Countly vs PostHog
- Fullstory vs Matomo
- Fullstory vs PostHog
- Google Analytics MCP server vs Matomo
- Google Analytics MCP server vs PostHog
- Matomo vs Mixpanel
- Matomo vs Mostly Good Metrics
- Matomo vs OpenPanel
- Matomo vs Optimizely Experimentation
- Matomo vs Pendo
- Matomo vs RudderStack MCP
- Matomo vs Statsig
- Matomo vs Userpilot
- Matomo vs Woopra
- Mixpanel vs PostHog
- 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 Matomo
- Heap vs PostHog
- Flagsmith vs PostHog
- Harness Feature Management & Experimentation vs PostHog
- LaunchDarkly vs PostHog
- Flagsmith vs Matomo
- GrowthBook vs Matomo
- GrowthBook vs PostHog
- Harness Feature Management & Experimentation vs Matomo
- LaunchDarkly vs Matomo
- Optimizely Experimentation vs PostHog
Machine-readable
- This page as Markdown
/compare/matomo-vs-posthog.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/matomo.json·/api/v1/tools/posthog.json - From a terminal
anchor compare matomo posthog(the CLI) - Over MCP
compare_tools {"a": "matomo", "b": "posthog"}at/mcp, no key