Head to head · Analytics queries · October 2026 research run

Google Analytics MCP server vs PostHog

Google Analytics MCP server scores 77 (BB) on agent readiness against PostHog's 69.9 (B), and leads in 1 of 7 scored categories. PostHog leads on schema & documentation, security & auth, maintenance & community and transparency & trust. Both do analytics queries.

Best product analytics and experimentation tools for AI agents · All 203 product analytics comparisons

Which one, for what

Google Analytics MCP server BB

Best for Agents that answer GA4 questions about traffic, funnels, conversions and realtime users.

Ahead on

  • Payments & pricing, 90 against 60

Also in its favour

  • Agent-ready, a grade of BB or better
  • Runs on your own machine
  • No incidents deducted, where PostHog loses 10 points for them

Watch for

Filters, date ranges and ordering are free-form objects described in long hint text, which adds context cost to the four report tools

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

  • Schema & documentation, 81 against 66
  • Security & auth, 84 against 69
  • Maintenance & community, 89 against 80
  • Transparency & trust, 83 against 78

Also in its favour

  • A hosted endpoint, with nothing to install
  • Free to start without a card

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.

Payments & pricing Google Analytics MCP server +30

Google Analytics MCP server 90

Free, self-hosted, nothing to buy, so 30 + 30 + 30. Google Analytics standard properties are free. Analytics 360 is sold separately and raises Data API quotas. No payment protocol (0).

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.

Schema & documentation PostHog +15

Google Analytics MCP server 66

Every tool publishes a JSON Schema input generated from the Python signatures, with required fields set by hand for the report and write tools (25). No llms.txt on developers.google.com (404 on 23 November 2026), though the README and docs page are plain Markdown and HTML (0). Report tool descriptions are long and say which tool to call first (get_custom_dimensions_and_metrics for custom fields) and what not to do ("Don't use this for filtering metrics"), while the admin tools get one line (15). date_ranges, dimension_filter, metric_filter and order_bys are free-form objects described by hint text rather than typed schemas (8). The hint blocks carry worked examples, and the docs page lists 401, 403 PERMISSION_DENIED and ACCESS_NOT_CONFIGURED with fixes (11). Semantic version tags and the PyPI release history, but no changelog (7). 25 + 0 + 15 + 8 + 11 + 7 = 66.

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

Security & auth PostHog +15

Google Analytics MCP server 69

Application Default Credentials with the analytics.readonly OAuth scope, and analytics.edit only for write tools. The HTTP mode takes per-user Google OAuth bearer tokens or runs a built-in MCP OAuth 2.1 authorisation server (28). Read-only by default. The write tools need --allow-write, the edit scope and the Editor or Marketer role on the property, and no tool deletes anything. There is no confirmation step in the server (18). Reports return strings that site visitors can set, such as page titles and event parameters, and no prompt-injection guidance was found (3). No per-call log is documented for the server. Google Analytics' own change history wasn't read (5). www.google.com/.well-known/security.txt is valid to 2030 and points to g.co/vulnz and the Google VRP. The repository has no SECURITY.md (15). 28 + 18 + 3 + 5 + 15 = 69.

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

Google Analytics MCP server 80

1.1.0 on PyPI on 6 November 2026 (30). 0.8.0 (22 October), 0.9.0rc1 (2 November), 1.0.0 (3 November) and 1.1.0 in the 90 days (20). 22 commits since 23 August, including merged pull requests from outside contributors, with 6 open issues and pull requests on 23 November (20). Not in the official MCP registry under a Google namespace (0). Renovate keeps dependencies and release-job pins current, and workflow actions are pinned by commit hash (10). 30 + 20 + 20 + 0 + 10 = 80.

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 +5

Google Analytics MCP server 78

Apache-2.0 (30). A local server. Report data goes only to the Google Analytics Admin and Data APIs and back to the MCP client, under the property's existing Google Analytics terms. The server has no data-handling statement of its own (15). No deprecation policy. The old console script name google-analytics-mcp is kept for backwards compatibility, and the docs flag Gemini CLI as deprecated in favour of Antigravity, with no dates (6). The source sends no telemetry of its own. API calls carry an analytics-mcp/<version> user agent (18). 30 + 15 + 6 + 18 = 69.

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

Score by category

CategoryWeightGoogle Analytics MCP serverPostHogEdge
Reliability16%8284PostHog +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6681PostHog +15
Agent ergonomics13%7878even
Security & auth14%6984PostHog +15
Payments & pricing10%9060Google Analytics MCP server +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8089PostHog +9
Transparency & trust7%7883PostHog +5
Negative events≤150-10
TotalBB 77/100B 69.9/100

Facts side by side

FactGoogle Analytics MCP serverPostHog
KindMCP serverHTTP API
VendorGooglePostHog Inc.
Hosted endpointno (local only)https://us.posthog.com
Transportsstdio, Streamable HTTPHTTP, Streamable HTTP
AuthOAuthOAuth or key
PricingFreeFreemium
x402nono
LicenceApache-2.0MIT for the repository outside the ee directory, which has its own licence. PostHog Cloud is a hosted service under PostHog's terms
Tools exposed101183
Read-only variant documentedyesyes
llms.txtnoyes
MCP registrynot listedio.github.PostHog/mcp
Last release2026-11-062026-10-30
Terms last updated2021-11-092026-06-29
Privacy policy last updated2026-10-012026-06-29
Customer content may train modelsyesyes, with an opt-out
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity3.9k stars, 35k PyPI/wk40k stars, 15.2M npm/wk
Agent reviewsnone3.3/5 (4)

How the scores have moved

Verdicts

Google Analytics MCP server

Google's own GA4 server gives agents ten read-only report and property tools under the analytics.readonly scope, with three create-only write tools behind --allow-write. Filters and date ranges are free-form objects explained in long description text, and it isn't in the official MCP registry.

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

Google Analytics MCP server

  1. Call get_account_summaries first to find the numeric property ID, then pass it to every report tool
  2. Call get_custom_dimensions_and_metrics before using a custom field in run_report
  3. Pass field names in snake_case (dimension_filter, order_bys), as the tool takes protobuf names, not the REST API's camelCase
  4. If a report fails with 429, wait and retry with fewer dimensions or a shorter date range, as Data API quota is charged by request complexity
  5. Set return_property_quota to true on long analyses to watch the property's remaining tokens

PostHog

  1. Add ?readonly=true or the x-posthog-read-only header to the MCP URL unless the task needs writes
  2. Pin the session with x-posthog-project-id, which also removes the switch-project and switch-organization tools
  3. In CLI mode run info <tool> once before call, and send one exec command per request
  4. On a 429 with code api_queries_budget_exceeded, wait for Retry-After and read X-PostHog-Query-Budget-Remaining-Bytes
  5. Page SQL results by keyset on timestamp. OFFSET returns 400 for personal API keys, and results cap at 50,000 rows

Questions

Which is better for AI agents, Google Analytics MCP server or PostHog?

Google Analytics MCP server scores 77 (BB) on agent readiness against PostHog's 69.9 (B), and leads in 1 of 7 scored categories. PostHog leads on schema & documentation, security & auth, maintenance & community and transparency & trust.

Do Google Analytics MCP server and PostHog need an API key?

Google Analytics MCP server uses an OAuth sign-in. PostHog takes an API key or an OAuth sign-in.

Can an agent call Google Analytics MCP server and PostHog without installing anything?

Google Analytics MCP server runs on your own machine, with no hosted endpoint listed. PostHog has a hosted endpoint at https://us.posthog.com.

Are Google Analytics MCP server and PostHog open source?

Yes. Google Analytics MCP server is open source (Apache-2.0). 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 Google Analytics MCP server or PostHog

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.