Best Claude Apps

PostHog Claude plugin

Connect Claude Code to PostHog. Query analytics, manage flags, run A/B tests, track errors, analyze LLM costs via natural language. 10+ commands, OAuth, EU/US/self-hosted.

Add PostHog to Claude

In Claude Code run /plugin, open Discover and search for PostHog.

Step-by-step setup below All setup steps

What PostHog does in Claude

Connect Claude Code directly to your PostHog analytics platform. This plugin gives you access to 27+ PostHog tools for querying insights, managing feature flags, running A/B experiments, tracking errors, and analyzing LLM costs—all through natural language. Ask questions like "What are my top errors this week?" or "Create a feature flag for 50% of users" and Claude handles the API calls for you. The plugin includes 12 slash commands for streamlined workflows: /posthog:flags for feature flag management, /posthog:insights for analytics queries, /posthog:experiments for A/B testing, /posthog:errors for debugging, /posthog:dashboards for dashboard administration, /posthog:surveys for user surveys, /posthog:llm-analytics for AI usage tracking, and more. How to use: Install with claude plugin install posthog, then authenticate via OAuth using the /mcp command. Try prompts like "Show me my feature flags", "Create an experiment to test the new checkout flow", "What errors happened in the last 24 hours?", or "Query page views by country". EU Cloud users can append ?region=eu to the MCP URL, and self-hosted instances are supported via the POSTHOG_BASE_URL environment variable.

Works in Claude Code Cowork

Included skills (1)

  • posthog-instrumentation

How to add PostHog to Claude

  1. 1 In Claude Code, run /plugin and open the Discover tab.
  2. 2 Search for PostHog and choose Install. In Cowork, add it from the plugin directory.

Reviews

No reviews yet. Used PostHog with Claude? Tell others how it went.

Honest reviews only. We never pay for or edit ratings.

    Questions people ask

    What does the PostHog plugin do in Claude?

    Connect Claude Code directly to your PostHog analytics platform. This plugin gives you access to 27+ PostHog tools for querying insights, managing feature flags, running A/B experiments, tracking errors, and analyzing LLM costs—all through natural language. Ask questions like "What are my top errors this week?" or "Create a feature flag for 50% of users" and Claude handles the API calls for you. The plugin includes 12 slash commands for streamlined workflows: /posthog:flags for feature flag management, /posthog:insights for analytics queries, /posthog:experiments for A/B testing, /posthog:errors for debugging, /posthog:dashboards for dashboard administration, /posthog:surveys for user surveys, /posthog:llm-analytics for AI usage tracking, and more. How to use: Install with claude plugin install posthog, then authenticate via OAuth using the /mcp command. Try prompts like "Show me my feature flags", "Create an experiment to test the new checkout flow", "What errors happened in the last 24 hours?", or "Query page views by country". EU Cloud users can append ?region=eu to the MCP URL, and self-hosted instances are supported via the POSTHOG_BASE_URL environment variable.

    Is the PostHog plugin official?

    It is made by PostHog. This site is independent and lists it from the official directory.

    Loading…

    Browse all connectors →