What is PostHog?
Product analytics suite with session replay, feature flags, experiments, surveys and error tracking.
Who is PostHog best for?
PostHog is best for product engineers at startups who want analytics, session replay and feature flags in one tool.
One tool instead of five
Product and web analytics, session replay, feature flags, experiments, surveys and error tracking share the same user data.
Rolling out features safely
Feature flags release a change to chosen users or cohorts, and experiments measure its effect on your goal metrics.
Teams building LLM apps
AI observability captures traces, latency and cost for model calls and runs LLM-as-a-judge evaluations.
Early-stage budgets
Every product has a monthly free allowance, and per-product billing limits stop a traffic spike from becoming a surprise bill.
How much does PostHog cost?
PostHog is free to self-host under MIT, and its cloud is free each month up to 1M events and 5K recordings; beyond that you pay per use, from $0.00005 per anonymous event.
- MIT-licensed Docker Compose deploy
- Free-plan features only
- No official support or guarantees
- 1M events, 5K recordings, 1M flag requests
- Unlimited team members, 1 project
- 1-year data retention
- Same free allowance, then unlimited usage
- 6 projects, 2-year data retention
- Billing limits per product, email support
Product analytics past 1M events a month costs $0.00005 per anonymous event and $0.000198 per identified event at the starting tier; other products have their own free allowance and rates. Platform packages add Boost at $250 a month (unlimited projects, white labelling, HIPAA BAA, SSO enforcement) and Scale at $750 a month (SAML, priority support); Enterprise is priced on request. Annual plans are available, and startups and non-profits can get standing discounts. Full pricing on posthog.com. We checked these prices on .
How do readers rate PostHog?
No one has rated PostHog yet. Be the first.
Sign in to rate. One rating per account.
Is PostHog open source?
Yes. PostHog's code is public under the MIT licence, so you can run it on your own server.
On GitHub
40,764stars
+515 (+1.3%) in the last 30 days
- Last commit
- 13 Nov
- Repository age
- 6 years
- Latest release
- 12 Nov
- Licence
- MIT
- Self-hosted
- Yes
- Repository
- PostHog/posthog
How do I connect PostHog to my AI agent?
PostHog MCP is PostHog's official MCP server. Add it to your agent once, then ask it to query PostHog product analytics, flags and errors.
Connects your agent to your PostHog projects, so it can pull insights and trends, look at feature flags and experiments and check errors while you work on the code.
$ claude mcp add --transport http posthog https://mcp.posthog.com/mcp
Claude Code connects to PostHog over the web.
Run /mcp and sign in to PostHog in the browser.
Then ask your agent
- Runs
- On the web
- Sign-in
- OAuth
- Checked
- Answered 13 Nov
- Guide
- posthog.com
What are the best PostHog alternatives?
PostHog is an open source alternative to Datadog Experiments, Microsoft Clarity, Mixpanel and 2 more. Plausible Analytics does the same job and is open source too.
Warehouse-native A/B testing and feature flags in Datadog, formerly Eppo.
Microsoft's no-cost tool that records visitor sessions and maps clicks and scrolls on sites and apps.
Event-based analysis of how people use your app or site, with replays, A/B tests and an AI agent.
Privacy-first web analytics with no cookies.
Free tracking of website and app visitors, traffic sources and conversions, tied into Google Ads.
Cookie-free web analytics with a one-page dashboard and goals, as an EU cloud or self-hosted.
Questions about PostHog
What is PostHog?
Product analytics suite with session replay, feature flags, experiments, surveys and error tracking.
Who is PostHog for?
PostHog is best for product engineers at startups who want analytics, session replay and feature flags in one tool.
Is PostHog free?
Yes. PostHog has a free Self-hosted plan: MIT-licensed Docker Compose deploy.
Is PostHog open source?
Yes. PostHog's code is public under the MIT licence, so you can run it on your own server.
Does PostHog have an MCP server?
Yes. PostHog MCP is PostHog's official MCP server, so agents such as Claude Code, Cursor, Codex and GitHub Copilot can query PostHog product analytics, flags and errors. PostHog runs it on the web and you sign in with your PostHog account.
What are the best PostHog alternatives?
The closest alternatives on Recaply are Datadog Experiments, Microsoft Clarity, Mixpanel, Simple Analytics, Google Analytics and Plausible Analytics.
Where can I try PostHog?
On its official website, posthog.com.
Is self-hosted PostHog the same as PostHog Cloud?
Mostly. The MIT-licensed Docker deploy runs the same product, but only with free-plan features, no official support and no guarantees. PostHog recommends Cloud for most teams, with US and EU regions, and paid features are Cloud-only.
Can I cap my PostHog bill?
Yes. On the free plan usage simply stops at each product's monthly allowance, so there is no surprise charge. On pay-as-you-go you can set a billing limit for most products separately.







