PostHog integration, MCP and CLI
Use it in the Hyper app or from Claude, ChatGPT and any AI client.
Works with
Tools 22
13 read, 8 write, 1 destructive
PostHog product analytics tools: run HogQL (SQL) queries over events, persons, and sessions; list raw events and persons; manage cohorts, feature flags, insights, dashboards, and annotations. Requests are scoped to the Project ID and data region saved on the connection settings and authenticate with the connection's personal API key.
List annotations
List annotations shown on the project's charts.
Get cohorts
Retrieve a single cohort with its filters.
List cohorts
List the project's cohorts.
Get dashboards
Retrieve a single dashboard with its tiles.
List dashboards
List the project's dashboards.
List events
List raw events in reverse chronological order.
Get feature flags
Retrieve a single feature flag with its targeting configuration.
List feature flags
List the project's feature flags.
Get insights
Retrieve a single insight with its query and computed results.
List insights
List saved insights in the project.
Get persons
Retrieve a single person and its properties.
Create annotations
Annotate a point in time (release, incident, campaign start) so it is marked on the project's charts.
Create cohorts
Create a cohort from person-property or behavioral filters.
Update cohorts
Partially update a cohort.
Create dashboards
Create a dashboard, optionally from a template or by duplicating an existing dashboard.
Create feature flags
Create a feature flag with its targeting configuration.
Update feature flags
Partially update a feature flag, for example to change its rollout.
Create insights
Save an insight from a query node, optionally attaching it to dashboards.
Delete feature flags
Delete a feature flag.
Query hogql
List persons
Raw API request
Frequently asked questions
Related integrations

Braze
Automate lifecycle messaging and cross-channel customer engagement campaigns.
Marketing · 81 tools
Beehiiv
Automate newsletter workflows, audience growth, and email publishing.
Marketing · 35 tools

Instantly
Automate cold email campaigns and personalize outreach at scale.
Marketing · 31 tools
Google Analytics
Analyze website traffic and generate automated performance reports.
Marketing · 29 tools

Attentive
Automate SMS and email marketing campaigns with personalized messaging.
Marketing · 20 tools
Google Tag Manager
Manage and deploy marketing tags and tracking across your sites.
Marketing · 17 tools
Further reading
What is PostHog MCP?
PostHog MCP is PostHog inside Hyper MCP: 22 tools (13 read, 8 write, 1 destructive) on the same endpoint as every other app you connect to Hyper. One endpoint, one sign-in, for any AI app that supports the Model Context Protocol.
Your AI client sees about ten Hyper tools (search, describe, call_read, call_write and a few more) and finds the PostHog ones with search. Read tools run without asking; write and destructive tools ask you first in Claude.
What you can do with PostHog on Hyper
Feature flag
Create, delete, get, list and update.
Cohort
Create, get, list and update.
Dashboard
Create, get and list.
Insight
Create, get and list.
Annotation
Create and list.
Person
Get and list.
How to connect PostHog to your AI client
1. Create a Hyper account
Free 7-day trial, then 49 USD/month.
2. Connect PostHog in Hyper
Open Apps and connect it.
3. Add Hyper MCP to your client
Paste https://backend.hyperfx.ai/mcp/ as a custom connector or remote MCP server, or run the Claude Code command above.
4. Ask for PostHog
Your client finds the PostHog tools with search and asks before it writes.
Why use Hyper for PostHog
One endpoint, every app
Connect once and get PostHog with every integration, scraper, generator and platform tool you enabled on Hyper.
Bring your existing setup
Your connections, agents, tasks and skills carry over to every client.
Per-tool guardrails
Turn actions on or off and require approval on each one, in every client.
Use Hyper from anywhere
Claude, ChatGPT, OpenCode, Cursor, Codex and any other MCP client.