LabscoMCP early access ↗
PluginOfficial

PostHog AI Plugin

Use PostHog from your AI tool to investigate product data, manage experiments, and debug errors.

Publisher posthogGitHub stars 59View documentation

Overview

PostHog AI plugin connects your AI tool to PostHog and gives its agent task-specific guidance for querying analytics, managing feature flags and experiments, investigating errors, and working with warehouse data. You can ask a question in plain language, then have the agent use PostHog tools to investigate or make changes.

The agent can select relevant skills as you work; supported clients also let you choose a skill yourself. The session-capture commands are invoked manually, while hooks run on their configured events. What loads depends on your client: Claude Code includes optional session capture and usage telemetry, Codex has a permission hook, and Cursor and Antigravity install skills and the MCP connection without Claude Code's capture or write gate.

The marketplace also offers posthog-telemetry for Claude Code session capture alone. Install it instead of the main plugin when you only want session analytics; installing both runs the same upload hook twice.

  • Access can change project data The MCP connection supports reads and writes; review proposed actions and your client's approval settings before changing live resources.
  • Some skills need a PostHog runtime Signals scouts, context-wiki maintenance, and PostHog Review skills depend on their respective PostHog tools or execution environments; installing their files does not start those services.
Install