PostHog Batch Data Export

•
59
•

Exports raw PostHog events, persons, and sessions into downloadable Parquet or JSONLines files for external analysis.

This skill enables developers and analysts to perform one-off exports of raw PostHog data directly through Claude Code and other AI coding tools. It automates the workflow of initiating export runs, polling for completion status via MCP tools, and managing the final download via REST endpoints. With support for flexible date ranges, customizable file formats like Parquet and JSONLines, and various compression options including Gzip and Zstd, it simplifies the process of extracting granular product data for data science, warehousing, or custom reporting tasks without leaving your terminal.

Key Features

01Customizable compression options like Gzip, Zstd, and Brotli
02Automated polling for export status and multi-part file handling
03Support for high-performance formats including Parquet and JSONLines
04On-demand export of raw events, persons, or session data
0559 GitHub stars
06Granular event-level filtering to include or exclude specific data points

Use Cases

01Extracting raw event data for ingestion into a custom data warehouse or BI tool
02Creating local snapshots of user behavioral data for data science modeling
03Downloading specific event subsets for offline auditing or debugging