PostHog

Access PostHog analytics, feature flags, experiments, error tracking, and insights directly from your AI coding tool. Optionally capture Claude Code sessions to PostHog LLM Analytics.

  • Install in
  • Plugin sourceView source
  • Installs13,453

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.

Other plugins

Frontend Design

Frontend design skill for UI/UX implementation

Superpowers

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

Code Review

Automated code review for pull requests using multiple specialized agents with confidence-based scoring

Context7

Upstash Context7 MCP server for up-to-date documentation lookup. Connects to Context7's hosted remote MCP server (https://mcp.context7.com/mcp) — no local Node.js or npx required — to pull version-specific documentation and code examples directly from source repositories into your LLM context. Authenticate with Context7 when prompted.

Code Simplifier

Agent that simplifies and refines code for clarity, consistency, and maintainability while preserving functionality

Playwright

Browser automation and end-to-end testing MCP server by Microsoft. Enables Claude to interact with web pages, take screenshots, fill forms, click elements, and perform automated browser testing workflows.