posthog
:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experim
What is posthog?
:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Overview of posthog
What it is
PostHog is a product analytics platform that provides a suite of developer tools including analytics, session replay, feature flags, experiments, error tracking, logs, and AI observability. It is designed to capture and store product, analytics, errors, replays, and business data for querying and action. The platform can be used via PostHog Cloud or self-hosted open-source hobby deployment.
Key features
- Product analytics: Autocapture or manual event-based analytics with visualizations or SQL.
- Session replay: Watch real user sessions from web or mobile, with AI-powered Replay Vision and heatmaps.
- Observability: Error tracking, logs ingestion and search, and distributed tracing.
- Feature flags and experiments: Roll out features safely and measure statistical impact of changes.
- Surveys and support: No-code survey templates, chat widget with unified inbox, and automated workflows.
- Data warehouse: Managed warehouse with 120+ sources, SQL editor, data pipelines to 25+ tools, and custom API endpoints.
- AI and agents: AI observability for LLM apps, MCP analytics, PostHog AI for data queries, and self-driving tools that generate researched reports and pull requests.
Use cases
PostHog is used for understanding user behavior, diagnosing issues, monitoring web traffic, conducting A/B experiments, managing feature rollouts, tracking errors, analyzing logs, and building AI-driven product insights. Teams use it to automate actions and messages triggered by product data, run customer support with product context, and build self-driving workflows that generate reports and code changes.
Getting started
The fastest way to get started is signing up for free to PostHog Cloud US or PostHog Cloud EU. For self-hosting, deploy a hobby instance on Linux with Docker (4GB memory recommended):bash/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)”Setup wizard for existing instances:bashnpx -y @posthog/wizard@latestMCP server connection:bashnpx @posthog/wizard mcp add
License and pricing
The license is not stated. Pricing is open-source with a free tier per product; 97% of users pay $0 according to the README.
Based on the project's public README and repository metadata.