# PostHog (slim) > PostHog is an open-source product analytics platform with session replay, feature flags, experiments, error tracking and a data warehouse. Agents reach PostHog Cloud through a REST API with a public OpenAPI spec and an official hosted MCP server. - Full: https://www.anchorterminal.com/tools/posthog.md (~8,350 tokens) · this version ~2,130 tokens · JSON https://www.anchorterminal.com/tools/posthog.json · canonical https://www.anchorterminal.com/tools/posthog - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-08 **B · 68.4/100 · rank #171 of 629 · #4 in Product analytics & experimentation · not agent-ready · confidence medium** Assessment: 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,096 tools. The status page shows 31 incidents in 90 days, four on analytics queries, and three security incidents were disclosed in the last year. ## Facts - Kind: HTTP API · vendor: PostHog Inc. · category: Product analytics & experimentation · legal entity: PostHog Inc. (formerly Hiberly Inc.) · provenance 94/100 - Endpoint: `https://us.posthog.com` (HTTP, Streamable HTTP) - Auth: OAuth or key · pricing: Freemium · x402: no · licence: MIT for the repository outside the `ee` directory, which has its own licence. PostHog Cloud is a hosted service under PostHog's terms - Probe metrics: not measured yet (probes haven't run) - Surface graded: PostHog Cloud. The REST API at us.posthog.com and eu.posthog.com, and the official hosted MCP server at mcp.posthog.com. The open-source hobby deploy is unsupported and was not graded - API: OpenAPI 3.1 at https://app.posthog.com/api/schema/, readable without a login. 1,742 paths and 2,347 operations on 7 October 2026. Public capture and flag endpoints on us.i.posthog.com and eu.i.posthog.com take the project token - MCP server: https://mcp.posthog.com/mcp over streamable HTTP. 1,096 tools in 74 categories. CLI mode (one `exec` tool) or tools mode, chosen per client or with `?mode=`. Filters `features=` and `tools=`, `readonly=true`, and project pinning by header or query parameter - Credentials: OAuth 2 with PKCE, dynamic client registration and client ID metadata documents at oauth.posthog.com, 226 scopes. Personal API keys (`phx_`) with scopes, up to 10 a user. Project secret API keys (`phs_`) in beta - Rate limits: Per team. Analytics endpoints 240 a minute and 1,200 an hour, `/query` 2,400 an hour and 240 a minute, flag local evaluation 600 a minute, other endpoints 480 a minute and 4,800 an hour. Capture and `/flags` have no request limit - Query limits: 10 seconds of execution, 3 concurrent queries a project, 100 rows by default and 50,000 at most, and an hourly read budget in bytes for personal API keys that answers 429 with `Retry-After` - Errors: JSON with `type`, `code`, `detail` and `attr`. The spec documents 400 on 224 operations, 404 on 191, 403 on 96 and 429 on 55 - Free tier: No card. Each month 1 million analytics events, 5,000 recordings, 1 million flag requests, 100,000 exceptions, 1,500 survey responses and 1 million warehouse rows. 1 project and 1 year of data retention - Paid: Pay as you go with no base fee and no seat charge. 6 projects and 7 years of retention. Platform packages Boost $250, Scale $750 and Enterprise $2,000 a month - SDKs: posthog-node 5.55.0 (30 September 2026), posthog-js 1.438.2, Python posthog 7.64.1 (6 October 2026), and @posthog/cli 0.18.9 with `posthog-cli api` for the API and MCP tool list - Audit: Activity logs with an API and export. Admins see every personal API key that reaches the organisation, with scopes and last use. Querying activity logs with PostHog AI needs the Scale or Enterprise package - Certifications: SOC 2 Type 2 with the 2026 report published, HIPAA BAA on the Boost package, annual penetration test (May 2026), Bugcrowd vulnerability disclosure programme that pays in merchandise - Status: https://www.posthogstatus.com on incident.io, with US and EU components that include MCP Server, REST API Query endpoints and All other REST API endpoints - Data: AWS us-east-1 (Virginia) or eu-central-1 (Germany), chosen at signup. Sub-processor list updated 12 June 2026 with 14 days' notice of changes under the DPA - Open source: MIT outside the `ee` directory. The MCP server source is in services/mcp of PostHog/posthog - Prices: Product analytics event $0.0001 per transaction; Feature flag request $0.0001 per transaction; Session recording $0.005 per transaction; Data warehouse row $0. per record; Boost package $250 per month (plan); Scale package $750 per month (plan); Enterprise package $2000 per month (plan) - Scores: Reliability 74, Performance pending, Schema & documentation 81, Agent ergonomics 78, Security & auth 84, Payments & pricing 40, Task success pending, Maintenance & community 89, Transparency & trust 83 · negative events -7 · total over the 7 assessed categories - Why: Reliability, Graded on PostHog Cloud with the hosted lines. · Schema & documentation, OpenAPI 3.1 served without a login, 1,742 paths and 2,347 operations, and typed JSON Schema inputs on the MCP tools (25). · Agent ergonomics, 1,096 MCP tools is far past 30 (5). · Security & auth, OAuth 2 with PKCE, 226 scopes, a revocation endpoint and dynamic registration, or personal API keys with scopes, project limits and rolling. · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, The changelog's newest entry is 5 October 2026 and the repository's newest commit is 7 October 2026 (30). · Transparency & trust, MIT outside the `ee` directory, which has its own licence and is part of what PostHog Cloud runs (25 of 30). - Sources: 26, open questions: 8, both in the full twin - Capabilities: analytics.query, analytics.events, analytics.funnels, analytics.experiments, analytics.flags, observability.errors, observability.logs - JSON: https://www.anchorterminal.com/api/v1/tools/posthog.json - Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/posthog.svg` or a link to https://www.anchorterminal.com/tools/posthog from a page on posthog.com or one of its subdomains, or the README of github.com/PostHog/posthog, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin. ## Before you call it 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 ` 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 ## Connect ```bash npx @posthog/wizard mcp add ``` ```bash curl \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \ https://us.posthog.com/api/projects/:project_id/query/ \ -d '{"query": {"kind": "HogQLQuery", "query": "select event, count() from events group by event limit 100"}}' ``` ```bash claude mcp add --transport http posthog https://mcp.posthog.com/mcp -s user ``` Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/posthog ## Similar tools | Tool | Grade | Score | Shared capabilities | Slim | | --- | --- | --- | --- | --- | | Amplitude | B | 66.2 | analytics.query, analytics.funnels, analytics.experiments, analytics.flags, analytics.events | https://www.anchorterminal.com/tools/amplitude.min.md | | Mixpanel | B | 62 | analytics.query, analytics.funnels, analytics.events, analytics.experiments, analytics.flags | https://www.anchorterminal.com/tools/mixpanel.min.md | | Statsig | BB | 72.3 | analytics.experiments, analytics.flags, analytics.query, analytics.events | https://www.anchorterminal.com/tools/statsig.min.md | | GrowthBook | BB | 70.1 | analytics.experiments, analytics.flags, analytics.query, analytics.events | https://www.anchorterminal.com/tools/growthbook.min.md | | LaunchDarkly | B | 69.2 | analytics.flags, analytics.experiments, observability.logs, observability.errors | https://www.anchorterminal.com/tools/launchdarkly.min.md | ## Panel reviews (0, desk reviews from public material, no calls made)