PostHog

PostHog MCP integration

Pulls funnel and retention insights, summarises the session recording behind a report, and checks which feature flags a person is being served.

502actions available

Three actions you can hand over today

Every action runs live through MCP. Nothing to build, nothing to maintain.

  • Post project trends with filters

    Lyro pulls a filtered trends report for a PostHog project straight into the conversation. A support or product agent gets the usage numbers without switching over to the PostHog dashboard.

  • Cancel insights for a project

    Lyro cancels an insight query that's stuck running in PostHog. Nobody has to sit and wait for a slow report to finish or track down someone with admin access to stop it.

  • Add product intent to project

    Lyro records a product intent on a PostHog project when a customer signals interest in a specific feature. That signal reaches the product team automatically instead of getting lost in a chat transcript.

See all 502 actions

How businesses use PostHog + Lyro

Each card is one request a support team gets, and the PostHog actions Lyro runs to close it.

  • Answer a product question with the actual numbers

    Lyro runs the funnel or retention insight behind the question and, where no saved insight fits, writes the query against the project directly instead of guessing at the shape of the drop-off.

    Retrieve Funnel Insights In ProjectRetrieve Retention InsightsCreate Query In Project
  • Find the replay behind a vague bug report

    When a customer cannot describe what they clicked, Lyro lists that project's recent session recordings, generates an AI summary of the relevant one, and saves it to a playlist the product team already watches.

    List Project Session RecordingsGenerate AI Summary For RecordingAdd Session Recording To Playlist
  • Check what that user is actually being served

    Before a support answer assumes the default experience, Lyro reads the flag's definition, its current status, and why it evaluated the way it did for the person in the conversation.

    Retrieve Feature Flag DetailsGet Feature Flag StatusFeature Flag Evaluation Reasons
  • Turn a conversation into a tracked group

    Lyro adds the people who hit a problem to a static cohort, creates the cohort if it does not exist yet, and launches a short survey to the same audience so the follow-up is measured rather than remembered.

    Add Persons To Static CohortCreate Project CohortsCreate Project Surveys

How it works

Get started in 3 steps

Connect once, then just ask. There is no workflow builder to learn and nothing to maintain — Lyro reads the PostHog actions it has and picks the ones a request needs.

  1. 01

    Connect PostHog

    Authorize the PostHog account your team already uses — one consent screen, no API keys, no mapping tables. Lyro can only do what you granted that account, and you can disconnect it at any time.

  2. 02

    Tell your agent what you need

    Describe the job the way you would hand it to a teammate. Lyro maps it to the PostHog actions that close it and chains as many as the request needs.

  3. 03

    Watch it work

    The agent runs the actions inside the conversation the customer is already in, so nobody copies data between tabs and your team can take over at any point.

    Get started free
PostHog · Lyro

Everything else about PostHog

Setup, permissions, and the limits of what Lyro can do inside PostHog.

  • Both are in the toolkit: Create Feature Flag and Bulk Delete Feature Flags sit alongside the read actions. That is exactly why flag writes are worth gating behind human approval while the read actions - status, details, evaluation reasons - stay open to the agent.

Every action available in PostHog

All 502 actions your agent can call on PostHog, straight from the live MCP connection.

  • Add dashboard collaborators with access level

    Add collaborators to a specific project dashboard.

  • Add member to organization role

    Add a member to an organization role by submitting their details and UUID in JSON/form, using organization and role IDs.

  • Add persons to static cohort

    Add persons to a static cohort by their UUIDs.

  • Add product intent to project

    Add a product intent to a PostHog project.

  • Add project specific member roles

    Add members with specific roles to a project by providing their user_uuid and level (member or admin).

  • Add session recording to playlist

    Add an existing session recording to a playlist.

  • Append desktop recording segments

    Append transcript segments to an existing desktop recording for real-time streaming support.

  • Archive survey response

    Archive a single survey response.

  • Assign feature flag role based access

    Set up role-based access for a feature flag using project_id and feature_flag_id.

  • Bulk create organization invites

    POST /api/organizations/{organization_id}/invites/bulk/: Bulk-create organization invites with customizable levels, sender details, and validation checks.

  • Bulk delete feature flags

    Bulk delete feature flags by filter criteria or explicit IDs.

  • Create persons bulk delete

    Bulk delete persons by PostHog person IDs or distinct IDs.

  • Cancel insights for a project

    The "/api/projects/{project_id}/insights/cancel/" endpoint allows users to cancel insights for a project by providing a project ID and insight details in JSON or CSV, and confirms cancellation in the response.

  • Capture event

    Capture (ingest) a single analytics event into PostHog using the public ingestion API and a project API key.

  • Check pipeline destination updates

    Check for available updates to a pipeline destination plugin by comparing the currently installed version (tag) with the latest version available in the plugin's repository.

  • Check pipeline import app updates

    Retrieve the latest update information for a specific pipeline import app by its ID within an organization.

  • Check pipeline plugin update status

    Get update status for a specific pipeline transformation plugin by its unique ID within an organization.

  • Check project's demo data generation status

    Check if a project is currently generating demo data.

  • Create max AI insight and query

    Create and query insights using PostHog's Max AI assistant.

  • Create alert

    Create a new alert configuration in PostHog.

  • Create batch

    Capture a batch of analytics events to PostHog using the public batch ingestion API.

  • Create batch export

    Create a new batch export to automatically export PostHog data to external destinations like S3, BigQuery, or Snowflake.

  • Create batch exports backfills

    Create a new backfill for a BatchExport.

  • Create batch exports run test step

    Run a test step for a batch export configuration in PostHog.

  • Create customer profile config

    Create a customer profile configuration for a PostHog project.

  • Create project insights with customizable parameters

    Create custom analytics insights for a PostHog project.

  • Create data color theme

    Create a new data color theme in a PostHog project.

  • Create dataset

    Create a new dataset in a PostHog project.

  • Create dataset items

    Create a new dataset item in a PostHog project dataset.

  • Create desktop recording

    Create a new desktop recording and get Recall.ai upload token for the desktop SDK.

Ready to connect PostHog?

Authorize the account and your agent has all 502 actions from the first conversation.

Support agent working at a laptop next to the Lyro mascot