# PostHog: agent access, verdict & alternatives | IonBin

> PostHog (Product analytics): MCP yes, API yes.

Canonical page: https://ionbin.com/tools/posthog/
Agent guide: https://ionbin.com/llms.txt

This is a readable version of the published page. Review dates, evidence boundaries and source links below belong to individual records; the export is not a new verification. Examples are reference material, not instructions to execute.

## PostHog

Product analytics

[Data](https://ionbin.com/use-cases/business-data-reporting/)[Build](https://ionbin.com/use-cases/dev-it/)  MCPAPI/CLIFile import

**Independent review.** Unpaid; no partnership with PostHog. Based on public documentation and research. Trademarks identify their owners’ products. [Disclosure](https://ionbin.com/disclosure/).

Product analytics, session replay, feature flags, experiments and a data warehouse in one place, with an official MCP server so agents can query product data directly.

The Ion perspective

### The five-point review

Judgment, not a score. Documentation checked 2026-10-18.

**Value**: Product analytics, session replay, feature flags, experiments and a data warehouse in one place, with an official MCP server so agents can query product data directly.

**Differentiation**: Documented fit: Product and growth teams that want analytics, replays and flags together; Asking product-usage questions from an AI agent or editor. Uniqueness is not established.

**Replaceability and switching**: Compare [Google Search Console](https://ionbin.com/tools/google-search-console/). Not drop-in replacements. Export completeness and migration effort remain unverified.

**Ease and technical aptitude**: Consider the fit limits: Using PostHog's AI-powered MCP tools without enabling AI data processing (they require it). Setup effort has not been scored.

**Interoperability and portability**: See documented MCP, API and import routes below. Import does not prove export; API access does not prove a complete migration path. Check action scope, plans and portability.

Connections: [MCP connections](https://ionbin.com/wiki/concepts/mcp/) · [APIs](https://ionbin.com/wiki/concepts/api/) · [Portability and vendor lock-in](https://ionbin.com/wiki/questions/how-to-avoid-ai-vendor-lock-in/).

Best for

- Product and growth teams that want analytics, replays and flags together

- Asking product-usage questions from an AI agent or editor

Not for

- Using PostHog's AI-powered MCP tools without enabling AI data processing (they require it)

### Top use cases

- Track funnels and retention with product analytics [source ↗](https://posthog.com/docs/product-analytics)

- Watch session replays to see where users get stuck [source ↗](https://posthog.com/docs/session-replay)

- Roll out features gradually with feature flags [source ↗](https://posthog.com/docs/feature-flags)

- Run A/B tests with experiments [source ↗](https://posthog.com/docs/experiments)

- Query product data from [Claude Code](https://ionbin.com/wiki/questions/what-is-claude-code/), [Codex](https://ionbin.com/tools/openai-codex/) or Cursor through the MCP server [source ↗](https://posthog.com/docs/model-context-protocol)

### In depth

#### One place for product data

The warehouse can combine product data with connected business sources and uploaded CSV, JSON or Parquet files. Connector availability and supported tables vary by source; check the specific source’s guide before relying on it. [source ↗](https://posthog.com/docs/data-warehouse)

#### Agent access

PostHog runs a hosted MCP server that works with any MCP-compatible client. Its docs name [Claude Code](https://ionbin.com/wiki/questions/what-is-claude-code/), [Claude](https://ionbin.com/tools/claude/) Desktop, Cursor, [Codex](https://ionbin.com/tools/openai-codex/), VS Code, Windsurf and Zed, and say connecting and calling tools is free while some tools use LLM credits. [source ↗](https://posthog.com/docs/model-context-protocol)

#### Free tier

Monthly free allowances include one million analytics events, 5,000 session replays and one million feature-flag requests. Paid usage is metered by product in USD, excluding tax. At a free or configured billing limit, new events can be permanently dropped and feature flags return a quota-limited default response. Checked 2026-10-18. [source ↗](https://posthog.com/pricing)

#### MCP costs

Connecting to the PostHog MCP server and calling its tools is free, but some tools use LLMs internally and may be billed as PostHog AI spend; those are available only when AI data processing is enabled. [source ↗](https://posthog.com/docs/model-context-protocol)

#### Experiments over MCP

PostHog's MCP server lets an agent estimate sample size and running time, create an experiment with its feature flag, launch, pause or end it, read results and ship a winning variant. Shipping changes what users see, so keep a person on that step. Checked 2026-10-18. [source ↗](https://posthog.com/docs/experiments/surfaces/mcp)

### How to use it with AI

How PostHog connects to each AI platform: native connector or MCP, API through code the agent writes, browser control, or file upload.

| Platform | MCP / connector | API (agent-written code) | Browser | Upload / export |
| --- | --- | --- | --- | --- |
| [**Claude (incl. Claude Code)**](https://ionbin.com/platforms/claude/) | Not documented [Claude Code](https://ionbin.com/wiki/questions/what-is-claude-code/) and [Claude](https://ionbin.com/tools/claude/) Desktop setup guides. A named plugin, skill or CLI does not by itself establish an MCP/native connector pairing. Verify the route and client setup. [PostHog named integration docs ↗](https://posthog.com/docs/model-context-protocol/claude-code)[PostHog MCP / connector evidence ↗](https://posthog.com/docs/model-context-protocol)[Claude (incl. Claude Code) MCP docs ↗](https://code.claude.com/docs/en/mcp) | Not documented [Claude](https://ionbin.com/tools/claude/) (incl. [Claude Code](https://ionbin.com/wiki/questions/what-is-claude-code/)): [Claude Code](https://ionbin.com/wiki/questions/what-is-claude-code/) edits files and runs commands PostHog publishes an API, but this pairing still needs network, authentication and execution-scope checks. [PostHog API ↗](https://posthog.com/docs/api)[Claude (incl. Claude Code) docs ↗](https://code.claude.com/docs/en/overview) | Inferred [Claude Code](https://ionbin.com/wiki/questions/what-is-claude-code/) with the [Claude](https://ionbin.com/tools/claude/) in Chrome extension (Chrome, Edge and other Chromium browsers). PostHog is a web app; the pairing itself is not documented. [Claude (incl. Claude Code) browser docs ↗](https://code.claude.com/docs/en/chrome) | Not documented Verify which side exports and which imports, supported formats and permissions. PostHog's recorded upload/import status is yes; [Claude](https://ionbin.com/tools/claude/) (incl. [Claude Code](https://ionbin.com/wiki/questions/what-is-claude-code/))'s file status is yes. These flags do not establish a file-transfer route. [PostHog file docs ↗](https://posthog.com/docs/data-warehouse/sources/file-upload)[Claude (incl. Claude Code) file docs ↗](https://code.claude.com/docs/en/overview) |
| [**OpenAI Codex**](https://ionbin.com/platforms/codex/) | Not documented Named as a supported client. A named plugin, skill or CLI does not by itself establish an MCP/native connector pairing. Verify the route and client setup. [PostHog named integration docs ↗](https://posthog.com/docs/model-context-protocol)[OpenAI Codex MCP docs ↗](https://learn.chatgpt.com/docs/extend/mcp) | Not documented [OpenAI Codex](https://ionbin.com/tools/openai-codex/): Edits files and runs commands locally; cloud tasks run in isolated workspaces PostHog publishes an API, but this pairing still needs network, authentication and execution-scope checks. [PostHog API ↗](https://posthog.com/docs/api)[OpenAI Codex docs ↗](https://learn.chatgpt.com/docs/developers) | Inferred Only in the [ChatGPT](https://ionbin.com/tools/chatgpt/) desktop app; not in the [Codex](https://ionbin.com/tools/openai-codex/) CLI or IDE extension. PostHog is a web app; the pairing itself is not documented. [OpenAI Codex browser docs ↗](https://learn.chatgpt.com/docs/browser) | Not documented Verify which side exports and which imports, supported formats and permissions. PostHog's recorded upload/import status is yes; [OpenAI Codex](https://ionbin.com/tools/openai-codex/)'s file status is yes. These flags do not establish a file-transfer route. [PostHog file docs ↗](https://posthog.com/docs/data-warehouse/sources/file-upload)[OpenAI Codex file docs ↗](https://learn.chatgpt.com/docs/artifacts-viewer) |
| [**Google Antigravity**](https://ionbin.com/platforms/antigravity/) | Not documented PostHog has an official MCP server and [Google Antigravity](https://ionbin.com/tools/google-antigravity/) supports MCP, but PostHog's docs don't name this pairing. Auth setup may differ. [PostHog MCP docs ↗](https://posthog.com/docs/model-context-protocol)[Google Antigravity MCP docs ↗](https://antigravity.google/docs/mcp/) | Not documented [Google Antigravity](https://ionbin.com/tools/google-antigravity/): Agents edit code and run tasks PostHog publishes an API, but this pairing still needs network, authentication and execution-scope checks. [PostHog API ↗](https://posthog.com/docs/api)[Google Antigravity docs ↗](https://antigravity.google/docs/overview/) | Inferred The /browser guide documents App and CLI support through Chrome DevTools MCP; the overview comparison conflicts on CLI availability. IDE browser features are separate. PostHog is a web app; the pairing itself is not documented. [Google Antigravity browser docs ↗](https://antigravity.google/docs/commands/browser/) | Not documented Verify which side exports and which imports, supported formats and permissions. PostHog's recorded upload/import status is yes; [Google Antigravity](https://ionbin.com/tools/google-antigravity/)'s file status is yes. These flags do not establish a file-transfer route. [PostHog file docs ↗](https://posthog.com/docs/data-warehouse/sources/file-upload)[Google Antigravity file docs ↗](https://antigravity.google/docs/overview/) |

**Confirmed** is reserved for evidence of the specific connection route. The current named integrations include plugins, skills and CLIs, so a named platform alone does not confirm MCP or a native connector. **Inferred** means each side documents a relevant capability, but no document describes the pairing. Code execution still needs network and credential access; file handling still needs a compatible format and transfer direction. **Not documented** means the records do not establish the route. IonBin has not tested these pairings. Recorded Oct 18, 2026.

### Agent compatibility

MCPAPI/CLIFile import

| Level | Status | Detail / source |
| --- | --- | --- |
| Native connector / MCP | Yes | [Official docs ↗](https://posthog.com/docs/model-context-protocol) |
| API / CLI | Yes | [Official docs ↗](https://posthog.com/docs/api) (available to all users; private reads/writes require scoped authentication and the correct US/EU endpoint) |
| Browser / manual | No | Browser access is recorded alongside a documented programmatic route. |
| File upload / import | Yes | [Official docs ↗](https://posthog.com/docs/data-warehouse/sources/file-upload) (CSV, JSON or Parquet files up to 50 MB; static uploads do not automatically refresh) |

Recorded Oct 18, 2026. Setup and plan limits vary; check the vendor's docs. [How levels are assigned](https://ionbin.com/agent-ready/).

### Appears in these proposed stacks

[**Business data & reporting**](https://ionbin.com/use-cases/business-data-reporting/) Product data

[Claude · Agent](https://ionbin.com/tools/claude/)[HubSpot (free CRM) · Data source](https://ionbin.com/tools/hubspot/)[Stripe · Data source](https://ionbin.com/tools/stripe/)[n8n · Automation](https://ionbin.com/tools/n8n/)[Google Workspace (Gmail, Drive, Sheets) · Data hub](https://ionbin.com/tools/google-workspace/)[Notion · Output](https://ionbin.com/tools/notion/)

[**Dev, web & IT**](https://ionbin.com/use-cases/dev-it/) Swap-in

[OpenAI Codex · Agent](https://ionbin.com/tools/openai-codex/)[Figma · Design](https://ionbin.com/tools/figma/)[GitHub · Code](https://ionbin.com/tools/github/)[Cloudflare Pages · Static hosting](https://ionbin.com/tools/cloudflare-pages/)[Railway · App hosting](https://ionbin.com/tools/railway/)[Resend · Email](https://ionbin.com/tools/resend/)[Cursor · AI editor](https://ionbin.com/tools/cursor/)

Connection capabilities to compare

An official MCP server is documented for this tool. These platforms separately document MCP client support: [ChatGPT](https://ionbin.com/tools/chatgpt/), [Claude](https://ionbin.com/tools/claude/), [Cursor](https://ionbin.com/tools/cursor/), [Gemini (Google)](https://ionbin.com/tools/gemini/), [Google Antigravity](https://ionbin.com/tools/google-antigravity/), [Grok](https://ionbin.com/tools/grok/), [Grok Bot](https://ionbin.com/tools/grok-bot/), [Lindy](https://ionbin.com/tools/lindy/), [LM Studio](https://ionbin.com/tools/lm-studio/), [Mistral Vibe](https://ionbin.com/tools/mistral-vibe/), [OpenAI Codex](https://ionbin.com/tools/openai-codex/). This inventory does not establish compatible transport, authentication or actions for a pairing. Check the connection matrix and linked sources.

Automation hubs to assess for a custom API connection: [Gumloop](https://ionbin.com/tools/gumloop/), [Make](https://ionbin.com/tools/make/), [n8n](https://ionbin.com/tools/n8n/), [Zapier](https://ionbin.com/tools/zapier/). Verify credentials, supported requests, limits and error handling; no configured integration is implied.

### Workflows using this tool

- [Write a monthly SEO and product report](https://ionbin.com/workflows/monthly-seo-and-product-report/)

- [Ask product analytics questions from your editor](https://ionbin.com/workflows/product-analytics-questions/)

- [Run an A/B test with an AI pair](https://ionbin.com/workflows/experiment-loop/)

- [Analyze an export by chatting with it](https://ionbin.com/workflows/chat-with-your-csv/)

- [Build a quiz funnel and A/B test each question with PostHog](https://ionbin.com/workflows/quiz-funnel-with-posthog-experiments/)

- [Send agent-drafted letters through a mail API, with approval](https://ionbin.com/workflows/agent-drafted-letters-by-mail-api/)

### Explained in the wiki

[How do I connect Claude to my business tools? · Question](https://ionbin.com/wiki/questions/how-do-i-connect-claude-to-my-tools/)[Understand product usage with AI · Need](https://ionbin.com/wiki/needs/understand-product-usage-with-ai/)

### Review

No long-form review yet. Verdict is based on research, not hands-on testing.

### Alternatives

#### [Google Search Console](https://ionbin.com/tools/google-search-console/)

SEO

Google's free service for monitoring your own site's indexing and Google Search queries, clicks and impressions. Its official API supports reporting and site/sitemap operations; a separate daily export can send performance data to BigQuery.

API/CLI

Research

At a glance

**Pricing**: freemium · $0 (monthly free tier, e.g. 1M analytics events; usage-based after)

**Checked**: Oct 18, 2026

**Reviewed**: Oct 18, 2026

**Rating**: None until a real review exists

**Website**: [posthog.com](https://posthog.com/)

**Disclosure:** No affiliate link here. IonBin earns nothing if you click through to this tool today. [How IonBin makes money](https://ionbin.com/disclosure/).

 [Visit PostHog ↗](https://posthog.com/)
