Version2.0.0
Categoryanalytics
AuthAPI key
Tools18
Transportstdio
LicenceMIT
01
What it does
The app, in its own words.
PostHog product analytics — events, persons, feature flags, insights, cohorts, and annotations.
02
Tools
18 tools the agent can call.
Every one is declared with typed parameters and returns structured results, so the host can render them instead of narrating them.
- create_actionCreate a new action in PostHog. Actions group one or more event-matching steps under a single name.
- create_annotationCreate an annotation in PostHog to mark a point in time on charts (e.g. deployments, incidents).
- create_feature_flagCreate a new feature flag in PostHog with a key, name, and optional rollout filters.
- get_dashboardGet detailed information about a specific PostHog dashboard by its ID.
- get_eventGet detailed information about a specific PostHog event by its ID.
- get_experimentGet detailed information about a specific PostHog experiment (A/B test) by its ID.
- get_feature_flagGet detailed information about a specific PostHog feature flag by its ID.
- get_personGet detailed information about a specific PostHog person by their ID.
- list_actionsList all actions defined in the PostHog project. Actions are named collections of events.
- list_cohortsList all cohorts (user segments) defined in the PostHog project.
- list_dashboardsList all dashboards in the PostHog project.
- list_eventsList recent events captured by PostHog. Returns the most recent events with optional limit.
- list_experimentsList all experiments (A/B tests) configured in the PostHog project.
- list_feature_flagsList all feature flags configured in the PostHog project, including their status and rollout settings.
- list_insightsList saved insights (trends, funnels, retention, paths, etc.) in the PostHog project.
- list_personsList persons (users) tracked in PostHog. Returns person profiles with optional limit.
- list_session_recordingsList session recordings captured in the PostHog project. Returns recent recordings with optional limit.
- update_feature_flagUpdate an existing feature flag in PostHog by its ID. Supports partial updates (PATCH).
03
Auth and permissions
What it asks for.
Declared in the manifest, in advance. The app cannot reach anything it did not ask for here.
System secrets
API_KEYPROJECT_ID
Reading further
The manifest and the source for PostHog live in the monorepo, alongside the other apps.