PostHog Claude Plugin
Back to directory
PostHog logo

PostHog

DevOps 11,506 installs Apr 22, 2026

PostHog for Claude connects Claude Code to your PostHog instance so you can query events, inspect user journeys, and read cohorts without writing API calls. It reads event tables, pulls property filters, and maps session timelines into plain-English summaries. You can ask for top events, retention curves, or funnel drop-offs and it returns the underlying queries and a human summary you can copy into notes or tickets.

It also toggles feature flags, creates and updates experiments, and records rollout changes. It sends flag updates to PostHog, checks experiment status, and watches for metric regressions. Error tracking and LLM cost metrics are exposed as simple queries you can run — ask for "top errors this week" or "LLM spend by project" and it returns counts, trends, and links to the raw events.

Use it when you want to skip the dashboard and get answers inside your workflow: ask Claude for a cohort list, then flip a flag and start an experiment without switching tools. That saves time during incident triage or A/B test setup — you stay in chat while you pull the query, update a flag, and record the change in your ticket system.

Without this tool

  • AI lacks product analytics context
  • No usage insight during decisions
  • Manual analytics lookup required

With this tool

  • AI integrates product analytics signals
  • Data-informed product decisions
  • Better growth workflows

Install

/plugin install posthog@claude-plugins-official

Tags

analytics
feature-flags
experiments
product-tracking
posthog