Skip to content

DirectoryTools

PostHog logo

PostHog

Product analytics suite with session replay, feature flags, experiments, surveys and error tracking.

Visit PostHog

Research & DataOpen SourceWe checked the prices on posthog.com on 8 Nov 2026.

PostHog homepage screenshot

What is PostHog?

Product analytics suite with session replay, feature flags, experiments, surveys and error tracking.

Research & DataAnalytics & DashboardsProduct analyticsSession replayFeature flags

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.

Self-hosted$0Free forever, on your own servers
  • MIT-licensed Docker Compose deploy
  • Free-plan features only
  • No official support or guarantees
Free$0Per month, no card needed
  • 1M events, 5K recordings, 1M flag requests
  • Unlimited team members, 1 project
  • 1-year data retention
Pay-as-you-go$0Per month, then usage
  • 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.

No ratings yetThe score and its stars show once 3 readers have rated PostHog.
Your rating

Sign in to rate. One rating per account.

Your rating of PostHog

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
Run it yourselfThe code and the steps to put it on your own server are in its repository on GitHub.View on GitHub
Host it on a serverRailway and Elestio set it up on a server for you with a one-click install.

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.

Terminal
$ 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

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.

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.