PostHog/ai-plugin

25 stars · Last commit 2026-04-26

Official PostHog plugin for Claude Code, Cursor, Gemini, Codex and other AI coding tools

README preview

# PostHog AI plugin

Official PostHog plugin for AI clients. Access your analytics, feature flags, experiments, and error tracking directly from your AI coding tool.

## Installation

### Claude Code

1. Install the plugin:
    ```bash
    claude plugin install posthog
    ```

2. Authenticate via OAuth:
    ```bash
    # Just enter Claude Code anywhere
    claude
    # Then, use the /mcp command within Claude, select plugin:posthog:posthog, and press Enter
    /mcp
    ```

View full repository on GitHub →