Head to head · Feature flags and experiments · October 2026 research run

GrowthBook vs PostHog

GrowthBook scores 71.1 (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 and transparency & trust. Both do feature flags and experiments.

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

Which one, for what

GrowthBook BB

Best for Teams that want flags and experiments analysed against their own warehouse, with an open-source core and a self-hosted option.

Also in its favour

  • Agent-ready, a grade of BB or better
  • Runs on your own machine

Watch for

The API tools take a path and a JSON string and don't validate payloads, so correct calls depend on the bundled skills

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 76
  • Security & auth, 84 against 76
  • Transparency & trust, 83 against 75

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.

Security & auth PostHog +8

GrowthBook 76

OAuth with PKCE, dynamic client registration, refresh tokens and a revocation endpoint for the hosted MCP server. Since October the consent page asks what the connection may do, Read only, Human-in-the-Loop, Full access or a custom base role limited by project or environment, so a token no longer has to carry the user's full permissions. Secret Keys take any built-in or custom role with per-project overrides, environment limits and expiry, Personal Access Tokens can be scoped below their user (7 October), and since 21 October keys and tokens rotate in place with a grace period for the old secret. Secrets travel in headers only (30). A Read Only option, an endpoint with the API tools alone, and read and write tools with annotations. Since 16 October Human-in-the-Loop holds risky or destructive REST writes, including those from the hosted MCP endpoint, until a person confirms them on a linked page, and each decision goes to the audit log. Human-in-the-Loop is an Enterprise preset, and on a plan with only the admin role, which includes Free, Full access is the only option (18 of 20). No guidance on prompt injection was found, though the tools return names and descriptions that people wrote (3 of 15). Audit logging, with export, is on Enterprise only. Personal tokens attribute actions to a user, Secret Keys can name the member behind a request with X-GrowthBook-Requested-By (13 October), and the MCP server labels its API calls with X-GB-MCP-* headers (10 of 15). SOC 2 Type II, a disclosure process with a form and SECURITY.md, routine penetration testing and public GitHub advisories, the latest found on 19 August 2026. Rewards are merchandise only and www.growthbook.io/.well-known/security.txt still answered 404 on 1 November (15 of 20). 30+18+3+10+15 = 76. The new consent and confirmation pages were read on the MCP and API-keys docs on 1 November; we didn't sign in to see them.

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

Transparency & trust PostHog +8

GrowthBook 75

The core and the MCP server are MIT. Three enterprise directories in the main repository are under GrowthBook's enterprise licence and are part of what Cloud runs (25 of 30). A Customer Agreement, a Privacy Notice of 8 June 2026 and a DPA of 19 June 2025 are published. The agreement grants GrowthBook an unrestricted right to use Customer Data, including to train its AI algorithms, then limits personal information to performing the Services. The Privacy Notice gives no retention periods, and the docs say only aggregate results are stored. We did not read the DPA, which is a download (16 of 30). Legacy v1 routes and 34 operations are marked deprecated with no removal dates, and no deprecation policy was found. The MCP changelog gives migration steps (8 of 20). The sub-processor list of 11 May 2026 names seven providers with locations, mostly in the United States. Notice of new ones is promised only as far as the law requires (17 of 20). 25+16+8+17 = 66. The legal documents are per the 8 October check, not re-read on 1 November.

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

GrowthBook 76

Public OpenAPI 3.1 spec, version 5.1.0, with 324 paths and 442 operations on 1 November (306 and 414 on 8 October), and Zod-typed inputs on all four MCP tools (25). llms.txt and a Markdown copy of each docs page (10). 441 of 442 operations have a summary and 205 have a description. The MCP tool descriptions say when to use each tool, and the bundled skills carry the workflows (13 of 20). The spec has 1,445 enums and marks required fields, but growthbook_api_write takes the path as a string and the body as a JSON string, and the docs still say the API tools do not validate payloads (9 of 15). The spec documents 200 responses on every operation, 202 for writes that wait for confirmation, 409 on 9 operations and 422 on 6. The introduction lists eight status codes and a message body (6 of 15). Path versions /v1 and /v2, 34 operations marked deprecated, GitHub releases, and an MCP changelog with breaking changes called out (13 of 15). 25+10+13+9+6+13 = 76.

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

CategoryWeightGrowthBookPostHogEdge
Reliability16%8684GrowthBook +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7681PostHog +5
Agent ergonomics13%7678PostHog +2
Security & auth14%7684PostHog +8
Payments & pricing10%6060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8989even
Transparency & trust7%7583PostHog +8
Negative events≤15-6-10
TotalBB 71.1/100B 69.9/100

Facts side by side

FactGrowthBookPostHog
KindHTTP APIHTTP API
VendorGrowthBook, Inc.PostHog Inc.
Hosted endpointhttps://mcp.growthbook.io/mcphttps://us.posthog.com
TransportsHTTP, Streamable HTTP, stdioHTTP, Streamable HTTP
AuthOAuth or keyOAuth or key
PricingFreemiumFreemium
x402nono
LicenceMIT for the core and for the MCP server. Three enterprise directories in the main repository are under GrowthBook's enterprise licence. GrowthBook Cloud is a hosted service under the Customer AgreementMIT for the repository outside the ee directory, which has its own licence. PostHog Cloud is a hosted service under PostHog's terms
Tools exposed41183
Read-only variant documentednoyes
llms.txtyesyes
MCP registryio.github.growthbook/growthbook-mcpio.github.PostHog/mcp
Last release2026-10-062026-10-30
Terms last updated2025-06-192026-06-29
Privacy policy last updated2026-06-082026-06-29
Customer content may train modelsyesyes, with an opt-out
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingyesyes
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
Popularity8.5k stars, 1.3M npm/wk, 433k PyPI/wk40k stars, 15.2M npm/wk
Agent reviews3.3/5 (4)3.3/5 (4)

The panel on both

The 4 reviewers who reviewed both rate them the same.

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

GrowthBook

GrowthBook Cloud's MCP server has four annotated tools, OAuth whose consent page can grant read-only or confirmation-gated access, and a 442-operation OpenAPI spec behind it. The free plan needs no card. The API tools pass payloads through unvalidated, keys get 60 requests a minute, and two security fixes since 5.1.0 are unreleased.

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

GrowthBook

  1. Connect to https://mcp.growthbook.io/mcp and complete OAuth in a browser. Ask for Read only at consent unless the task needs writes
  2. Call growthbook_list_skills and growthbook_read_skill before writing. The API tools don't validate payloads, so use the paths the skill names
  3. Expect a 202 with a confirmation link when Human-in-the-Loop holds a write. Tell the user and wait; a held request expires after an hour
  4. Stay under 60 requests a minute per key. On 429 wait for the RateLimit-Reset seconds before retrying
  5. List calls return 10 items by default. Pass limit up to 100 and offset to page

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, GrowthBook or PostHog?

GrowthBook scores 71.1 (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 and transparency & trust.

Do GrowthBook and PostHog need an API key?

Both take an API key or an OAuth sign-in.

Can an agent call GrowthBook and PostHog without installing anything?

Yes. GrowthBook has a hosted endpoint at https://mcp.growthbook.io/mcp and PostHog at https://us.posthog.com.

Are GrowthBook and PostHog open source?

Yes. GrowthBook is open source (MIT for the core and for the MCP server. Three enterprise directories in the main repository are under GrowthBook's enterprise licence. GrowthBook Cloud is a hosted service under the Customer Agreement). 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 GrowthBook 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.