PostHog

PostHog

PostHog is a major BYO-UI addition because one hosted MCP spans product analytics and SQL, feature flags and experiments, dashboards, error tracking and logs, surveys, CDP, data warehouse objects, and support workflows, with built-in session scoping controls.

Analytics, SEO & experimentation System of intelligence Agent-accessible SaaS Reverse ETL / activation
PostHog as a system of intelligence, with documented access surfaces for SQL, API, first-party MCP, and Reverse ETL.
System role System of intelligence
Access maturity Agent-accessible SaaS
MCP support Official MCP server
Reference updated Not stated by publisher
BYO-UI reviewed Nov 25, 2026

Concrete capability record

Data, retrieval, actions, identity, and operating limits

A field-by-field summary of what the cited first-party references actually support. Publisher update dates and BYO-UI dates are shown separately below.

01 · Records and state owned

Organizations and projects; events, persons, actions, cohorts, insights, dashboards, notebooks, and HogQL/SQL; feature flags, experiments, and early-access features; errors, logs, alerts, and annotations; surveys and support conversations; CDP functions and workflows; data warehouse sources, views, endpoints, and pipelines; plus AI-observability and agent-stack objects.

02 · Data you can retrieve

Query analytics and SQL; inspect schemas, events, persons, cohorts, insights, dashboards, replays, flags, experiments, errors, logs, surveys, CDP, warehouse assets, support conversations, and AI-observability data within the authenticated context.

03 · Actions and write paths

Create, update, launch, pause, archive, resolve, reply, materialize, or delete supported objects across flags, experiments, actions, cohorts, dashboards, alerts, annotations, error tracking, surveys, support tickets, CDP/workflows, warehouse views/endpoints/pipelines, settings, and other cataloged products.

04 · Authentication and permissions

OAuth is recommended and automatically routes the signed-in account to US or EU. Clients without OAuth can use a personal API key created with the project-scoped MCP Server preset; enterprise customers can use IdP-managed authorization. Sessions can also be pinned to an organization or project.

05 · Monitoring, approval, and recovery

PostHog advises reviewing tool calls for prompt-injection risk. Operators can exclude all writes with readonly=true, pin organization/project context, restrict feature categories, or expose exact tool names; BYO-UI should use those server controls before relying on conversational confirmation.

06 · Limits and caveats

MCP calls share PostHog API limits per team across all users and keys; some AI-powered tools have lower limits, require organization-level AI data processing, and may incur PostHog AI spend. The server has hundreds of tools, so most clients use token-optimized CLI mode; analytics results are returned to the AI client even though the MCP proxy does not store them.

Agent access

MCP support

Official MCP server PostHog-hosted remote MCP Current hosted endpoint

Support: Official MCP server

Deployment and client compatibility: Hosted remote. It works with PostHog Desktop, Claude, Cursor, Codex, VS Code, Windsurf and Zed.

MCP reference: posthog.com/docs/model-context-protocol ↗

Read scope: Product analytics/HogQL and schema discovery; persons, cohorts, dashboards, and replays; flags and experiments; errors and logs; surveys and support; CDP and warehouse assets; AI-observability and agent-stack inspection. The MCP tools reference lists about 1,300 tools across 79 categories, usually exposed through a single exec tool with on-demand lookup; governed semantic-layer metrics.

Write scope: Broad operational writes are documented, including feature and experiment lifecycle, dashboard/cohort/action management, error-triage rules and status, support replies, CDP/workflow and warehouse configuration, surveys, alerts, annotations, and project/user settings.

Authentication: Hosted OAuth with automatic US/EU routing; project-scoped personal API key fallback using the MCP Server preset; enterprise IdP-managed authorization option. Endpoint https://mcp.posthog.com/mcp; ?readonly=true removes every write tool, and the tool list can be filtered or pinned to one project.

Sign-in and permissions: Effective access comes from the signed-in PostHog identity or project-scoped personal API key. Organization/project pinning removes context-switch tools, while read-only, feature, and exact-tool filters reduce what the MCP advertises for that session.

Approval boundary: PostHog does not present a universal MCP approval workflow; it tells users to review tool calls. For enforceable boundaries, configure read-only mode, pin the project, and filter to required features or tool names before the session; add BYO-UI confirmation for the remaining destructive or production-impacting calls.

Known limits: Underlying API limits apply per team; AI-backed tools can have lower limits and extra spend; AI data processing must be enabled for those tools; the catalog is large enough that CLI mode is recommended; query results flow to the connected AI client.

Protocol does not erase product boundaries.

Confirm the current tool catalog, plan, region, scopes, rate limits, terms, and write behavior before implementation.

Editorial assessment

Access-maturity dimensions

A comparative architecture lens—not a quality score, market ranking, or buying recommendation. Scale: 1–5.

Data access4
Action access4
Event access1
Identity4
Governance4
Agent access4
UI extensibility3
Portability4
Observability3
Documentation4

Proposed customer-shaped experiences

What customers could create on top.

The output could be an export, report, graph, artifact, application, agent, workflow, or downstream feed. These proposals are derived from documented access—not claims that PostHog ships them.

Single-platform patterns

  • Product analytics, replay, and flag-management cockpit
  • Executive insight brief
  • Experiment review board
  • Anomaly investigation room
Use in the brief builder →

Multi-platform compositions

  • PostHog + warehouse or semantic layer: executive insight brief
  • PostHog + CRM or lifecycle platform + work-management system: cross-system decision workspace
Explore composition recipes →

Evidence and dates

First-party references, with publisher and BYO-UI dates separated

“Publisher updated” is shown only when the page exposes an update date. “BYO-UI reviewed” is the date recorded for that source. A missing publisher date is reported as missing—not replaced with the BYO-UI date.

8 recorded sources
MCP Representative source
https://posthog.com/docs/model-context-protocol ↗

Hosted endpoint and routing; cross-product reads/writes; catalog scale; OAuth/API-key/IdP auth; pinning, read-only, and tool filtering; rate, AI-spend, and result-flow limits

Publisher updated
Not stated by publisher
BYO-UI reviewed
Nov 15, 2026
Homepage Source inventory
https://posthog.com/ ↗

PostHog homepage.

Publisher updated
Not stated by publisher
BYO-UI reviewed
Jul 10, 2026
MCP product overview Source inventory
https://posthog.com/mcp ↗

PostHog MCP page.

Publisher updated
Not stated by publisher
BYO-UI reviewed
Nov 1, 2026
SQL / HogQL query access Targeted review
PostHog SQL editor ↗

PostHog documents SQL and HogQL access across PostHog event, person, and connected external-source data. Ad-hoc query access is distinct from recurring bulk exports, which use batch-export capabilities.

Publisher updated
Not stated by publisher
BYO-UI reviewed
Jul 12, 2026

Verified fact

Tied to cited first-party evidence for this profile.

Source inventory

Official links recorded for deeper research; confirm current reachability and scope when using them.

Editorial assessment

System role, maturity interpretation, and architectural boundary.

Proposed design

Interface patterns and compositions—not vendor product claims.