PostHog MCP server for 

AI agents
Put PostHog product data next to your ad spend in Claude, ChatGPT or Cursor.
No card needed. Works with any MCP client.
LemonadoPostHog MCP
Ask about funnels from landing page to activation in Claude, ChatGPT or any AI agent, from live PostHog data.
What is the PostHog MCP server?
Lemonado's PostHog MCP server gives Claude, ChatGPT and other AI apps your PostHog data: events, funnels, persons and saved insights. Connect PostHog to Lemonado, connect Lemonado to your AI, and ask which campaigns bring users who reach the moment that matters in your product. The same connection reaches Google Ads, Meta, LinkedIn and Stripe, so what a signup costs and what it's worth sit in the same answer.
All your PostHog data
Events, pageviews and their properties, ready to ask about.
Always today's numbers
Persons with UTM and referrer properties, synced from PostHog automatically, so answers use today's numbers.
Connect all your tools
Questions like "What does an activated user cost?" use PostHog and Mixpanel, GA4 at once.
Connecting takes minutes.
- 1
Connect PostHog
Sign in to PostHog in Lemonado.
- 2
Copy the server URL
Turn on external access and copy one URL.
- 3
Ask in Claude
Add the URL to Claude and ask away.
Ask it anything.
Claude reads your PostHog numbers, explains what moved and turns the answer into an artifact you can share.
Show the landing page to signup to first dashboard funnel for last month, split by first-touch UTM source.
Google Ads visitors sign up at 6.1% but only 29% create a dashboard. Organic search visitors sign up less (3.4%) but 52% create one.
Source: PostHog
Which landing pages had the most sessions and the highest signup rate last month?
/pricing converts best at 8.2%. The new comparison pages bring 18% of sessions but convert at 1.1%.
Source: PostHog
How did the onboarding checklist experiment do on day 7 activation? Is it significant yet?
The checklist variant activates 31% of users against 26% for control, with 94% probability of being better. It needs about 4 more days.
Source: PostHog
Which events changed most this week against last, and is it real or a tracking issue?
"signup_completed" is down 22%, but only on Safari since Monday's release. Server-side user_created is flat, so it's tracking, not signups.
Source: PostHog
Divide last month's spend on Google Ads, Meta and LinkedIn by the PostHog users each one sent who completed onboarding.
LinkedIn costs $142 per onboarded user, Google Ads $68, Meta $91. LinkedIn users invite 2x more teammates.
Source: PostHog
Compare Google Ads clicks by campaign last week with PostHog sessions carrying the same utm_campaign.
Most campaigns match within 10%. "Brand | Exact" shows 1,240 clicks but 610 sessions; its final URL drops the UTM parameters on redirect.
Source: PostHog
Let Lemonado check PostHog for you.
Copy one of these into Lemonado and it runs on a schedule.
Every Monday, send last week's PostHog signups and activated users by UTM source, with ad spend next to each paid channel.
Weekly signups by channel
Alert me when daily signups drop 30% below the 7-day average, and say which browser or landing page it's on.
Signup drop alert
On the 1st, send last month's top 20 landing pages with sessions, signup rate and the change from the month before.
Landing page report
Why Lemonado?
Your whole stack in one connection
Google, Meta, GA4, TikTok and 3,000+ more tools, in every AI app.
No API keys or servers
Sign in once. Nothing to install, host or keep alive.
Scoped to each client
Each connection only reaches the clients you allow. Built for agencies.
Actions with guardrails
Set each action to Off, Ask or Approve. Nothing runs that you haven't allowed.
Use PostHog with any AI agent.
Claude
Connect PostHog to Claude
ChatGPT
Connect PostHog to ChatGPT
Claude Code
Connect PostHog to Claude Code
Cursor
Connect PostHog to Cursor
VS Code (GitHub Copilot)
Connect PostHog to VS Code (GitHub Copilot)
Codex
Connect PostHog to Codex
Perplexity
Connect PostHog to Perplexity
Google Antigravity
Connect PostHog to Google Antigravity
Windsurf (Devin Desktop)
Connect PostHog to Windsurf (Devin Desktop)
Zed
Connect PostHog to Zed
n8n
Connect PostHog to n8n
Is there an official PostHog MCP server?
Yes. PostHog runs a hosted MCP server (US and EU) that reads insights, dashboards, flags and more, and connecting it costs nothing extra. It covers PostHog only, so ad spend and revenue stay out of the answer.
| PostHog's official MCP server | ||
|---|---|---|
| Setup | Add the server URL and sign in, or use the PostHog wizard | Sign in once, paste one URL |
| Other platforms | PostHog only | PostHog plus Google Ads, Meta, Stripe and 3,000+ tools |
| Cost per activated user | No ad spend to divide by | Yes, in one question |
| Reports and alerts on a schedule | No | Yes, in Slack or email |
| Price | Free to connect | See pricing |
Explore other integrations
All 3,000+ integrations- MixpanelAsk Claude, ChatGPT or Cursor which campaigns bring users who stick, with Mixpanel next to your ad spend.
- Google AnalyticsAsk Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- StripePut Stripe revenue next to your ad spend in Claude, ChatGPT or Cursor.
- Google AdsAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- AmplitudeAsk Claude, ChatGPT or Cursor which campaigns bring Amplitude users who stick around.
- SnowflakeAsk Claude, ChatGPT or Cursor about the numbers in your Snowflake warehouse, with live ad spend next to them.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into your AI app and ask it to connect you, or copy the block.
# Lemonado MCP server for PostHog Lemonado is a hosted MCP server that gives AI apps the user's live PostHog, plus any other marketing tool they connect (Google Ads, Meta Ads, GA4 and 3,000+ more). - Server URL: https://mcp.lemonado.io/mcp - Transport: Streamable HTTP - Auth: OAuth; the user signs in to Lemonado in the browser. No API keys. - PostHog data: Events, pageviews and their properties; Funnels from landing page to activation; Persons with UTM and referrer properties; Saved insights and dashboards; Cohorts and feature flag exposure; Web analytics: sessions, sources and landing pages - Connecting PostHog: Sign in to PostHog and pick the project. Choose the EU region if your PostHog lives there. - Tools on https://mcp.lemonado.io/mcp (custom connectors, coding agents, n8n): list_objects, get_object_details, execute_sql, get_google_ads_resource_metadata, list_companies, get_company_details, list_actions, get_action_details, execute_action - Lemonado's Claude directory app and ChatGPT plugin (read-only): list_projects, list_project_sources, answer_data_question, explain_metric_change ## Setup 1. The user connects PostHog in Lemonado (Connectors) and signs in. 2. In the company's settings → External tools, they turn the connection on and copy the server URL. 3. They add the server URL to their AI app. Setup per app: https://lemonado.io/integrations Docs: https://docs.lemonado.io/mcp-reference Full index for agents: https://lemonado.io/llms.txt
Frequently Asked Questions
Use PostHog's server if you mostly manage flags, experiments and insights inside PostHog. Use Lemonado when the question needs your ad platforms or Stripe too, like what an activated user costs by channel. You can add both to the same AI app.
Connect your PostHog project in Lemonado, turn on External tools, and add Lemonado to Claude or ChatGPT. Each guide on this page has the exact steps. Sign in to PostHog and pick the project. Choose the EU region if your PostHog lives there. Then ask something like "Show the landing page to signup to first dashboard funnel for last month, split by first-touch UTM source."
Yes. It's a standard remote MCP server (https://mcp.lemonado.io/mcp): one command in Claude Code, one entry in Cursor's mcp.json, and an MCP Client Tool with a Lemonado token in n8n. In a coding agent, try "Trace utm_source from our landing pages to the signup event in the code, and count PostHog signups last week with no source."
Yes. Besides answering in Claude or ChatGPT, Lemonado runs PostHog reports and alerts on a schedule, in Slack or email. For example: "Every Monday, send last week's PostHog signups and activated users by UTM source, with ad spend next to each paid channel."
It reads your PostHog data. PostHog stays untouched; the only changes Lemonado can make are in ad accounts you connect, and only once you approve them.
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free