All plugins

PostHog

Query analytics, flags, experiments, and errors

Nothing opened?

PostHog installs from inside ZeroTwo. Get the desktop app, then open this plugin from Plugins.

PostHog gives product and engineering teams analytics, feature flags, session replay, A/B tests, and funnel analysis in a single open-source platform. This plugin connects ZeroTwo to PostHog so you can query events, toggle flags, analyze conversion funnels, and surface behavioral insights without leaving your workflow.

PostHog MCP server

The PostHog plugin connects ZeroTwo to PostHog. Your agents get the tools of this MCP server:

  • PostHog: remote MCP server at https://mcp.posthog.com/mcp

What an agent can do with PostHog

  • Query product analytics

    The agent queries your PostHog data for product analytics and insights, so you can ask a question about usage in plain language.

  • Manage feature flags

    The agent works with feature flags in PostHog, so you can check or toggle them from chat in your project.

  • Analyze funnels and experiments

    The agent analyzes conversion funnels and A/B test results in PostHog, and can look into errors tracked there.

How to connect PostHog to ZeroTwo

  1. Open PostHog in ZeroTwo

    Press Open in ZeroTwo on this page, or find PostHog under Plugins in the app. Get the app first if it is not on this computer.

  2. Sign in

    Press Connect and finish the sign-in in your browser. ZeroTwo stores the token encrypted, and you can disconnect at any time.

  3. Give an agent a task

    Ask an agent for work that needs PostHog, such as one of the example prompts below. The agent uses the plugin's tools to do it.

Example prompts3

  • PostHogShow me signups this month
  • PostHogCreate a feature flag for the new checkout
  • PostHogWhy are users dropping off in onboarding?

Apps1

  • PostHog

    Access PostHog analytics, feature flags, and product insights.

Skills1

  • Posthog

    Analyze product data and manage product tooling in PostHog. Use when the user wants product analytics or insights, HogQL/SQL queries, feature flags, experiments and A/B tests, error tracking, session replay, surveys, LLM analytics, dashboards, data warehouse, or PostHog documentation.

Information6

Developer
PostHog
Category
Data & Analytics
Version
0.1.5
Privacy policy
posthog.com/privacy

Questions

Does the PostHog plugin need an API key?

No. You sign in to your own PostHog account in the browser and approve access. ZeroTwo stores the token encrypted, and the agent never sees your password.

Does it cost anything?

The plugin itself is free. Agent work uses your ZeroTwo credits as usual, and anything PostHog charges for is billed to your PostHog account.

What does PostHog receive?

PostHog gets the requests an agent sends to it for you, such as searches, new items or the files you ask it to work with. It gets no other access to your ZeroTwo workspace.