What problem does it solve?
Getting raw PostHog data out of the platform for offline analysis, backups, or migration normally requires manual API orchestration: starting an export, polling its status, and handling redirect-based file downloads. This Skill automates that entire workflow through MCP tools and the REST download endpoint.
Core Features & Use Cases
- On-demand exports: Export events, persons, sessions, or arbitrary HogQL query results with optional event filters, date ranges, compression, and file size splitting.
- Status polling and error handling: Poll export runs until completion, with clear handling for cancelled, failed, and timed-out states.
- Redirect-based file download: Download exported Parquet or JSONLines files via the REST endpoint, following signed-URL redirects and saving results to disk.
- Use Case: A data analyst needs last week's pageview events as compressed JSONLines for local analysis. The Skill starts the export, polls until completion, and saves the file as posthog-events-<run_id>-0.jsonl.gz.
Quick Start
Export all $pageview events from the past week as a gzip-compressed JSONLines file and download it to my machine.