Why connect PostHog to ChatGPT?
Most PostHog numbers reach ChatGPT as a screenshot or a CSV. Pick Lemonado with @ and ChatGPT queries the events, funnels and web analytics itself, then adds what each source cost in ads.
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.
How to connect PostHog to ChatGPT
Before you start
- A PostHog account you can sign in to
- A ChatGPT account
- A Lemonado account (the free trial works)
- 1
Connect PostHog in Lemonado
In Lemonado, open Connectors, find PostHog and sign in. Sign in to PostHog and pick the project. Choose the EU region if your PostHog lives there.
- 2
Turn on external access
In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.
texthttps://mcp.lemonado.io/mcp - 3
Open ChatGPT plugins
Go to chatgpt.com/plugins. Select + and choose Add custom MCP server.
- 4
Add Lemonado
Name it Lemonado, add a short description, and paste the server URL under Connection. Set authentication to OAuth.
texthttps://mcp.lemonado.io/mcp - 5
Create the plugin
Review the acknowledgement and select Create as a plugin. Check the tools ChatGPT discovers, then install it.
- 6
Ask ChatGPT about PostHog
Start a new chat, type @ and pick Lemonado. Sign in to Lemonado when ChatGPT asks. Try "@Lemonado Recap this week in PostHog for the team channel: traffic, signups, activation rate and which sources drove them." Or ask: "Why did signups drop?" or "Which campaign landed best?"
Good to know
- Your ChatGPT account and workspace settings decide whether you can add custom MCP servers. Workspace admins can turn it off.
- Older guides point to Settings → Apps → Developer mode. OpenAI has replaced that flow with Plugins.
What can ChatGPT do with PostHog?
ChatGPT reads your PostHog numbers when you pick @Lemonado, and writes the update, the summary or the next step for you.
@Lemonado Recap this week in PostHog for the team channel: traffic, signups, activation rate and which sources drove them.
Here it is: 18,200 visitors, 640 signups (+11%), 31% activated. Organic search brought the most activated users; paid social brought the most signups.
Source: PostHog
@Lemonado Signups fell yesterday. Is it real or a tracking issue? Check PostHog by browser and landing page.
It's tracking. The client-side signup event dropped 22% on Safari only, while server-side user_created is flat.
Source: PostHog
@Lemonado Which utm_campaign had the best signup rate from PostHog sessions last week?
"Search | Competitor" converted 7.4% of sessions to signups, nearly double the paid average of 3.9%.
Source: PostHog
@Lemonado We launched a new homepage on Monday. How do sessions, bounce and signup rate compare with the week before?
Signup rate rose from 3.1% to 3.8% and bounce fell 6 points. Mobile improved most.
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
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
Connect PostHog to another AI app.
Claude
Connect PostHog to Claude
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
Other integrations for ChatGPT
All ChatGPT integrations- Mixpanel in ChatGPTAsk Claude, ChatGPT or Cursor which campaigns bring users who stick, with Mixpanel next to your ad spend.
- Google Analytics in ChatGPTAsk Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Stripe in ChatGPTPut Stripe revenue next to your ad spend in Claude, ChatGPT or Cursor.
- Google Ads in ChatGPTAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Amplitude in ChatGPTAsk Claude, ChatGPT or Cursor which campaigns bring Amplitude users who stick around.
- Snowflake in ChatGPTAsk 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 ChatGPT and ask it to connect you, or copy the block.
# Connect PostHog to ChatGPT (Lemonado MCP) - Server URL: https://mcp.lemonado.io/mcp - Transport: Streamable HTTP - Auth: OAuth; the user signs in to Lemonado in the browser. No API keys. - In Lemonado: connect the PostHog project. Sign in to PostHog and pick the project. Choose the EU region if your PostHog lives there. - In ChatGPT: Plugins → + → Add custom MCP server ```text https://mcp.lemonado.io/mcp ``` One-click install: https://chatgpt.com/plugins/plugin_asdk_app_69455664de448191bc42a9f6584d34e5 First question to try: "@Lemonado Recap this week in PostHog for the team channel: traffic, signups, activation rate and which sources drove them." More: https://lemonado.io/integrations/posthog · https://lemonado.io/llms.txt
Frequently Asked Questions
Yes, two ways. PostHog's own hosted server can be added through ChatGPT's developer mode for questions that stay inside PostHog. Lemonado, installed as a plugin, answers the ones that also need ad spend or revenue.
Yes. PostHog's official MCP server is hosted, so ChatGPT can use it too. It covers PostHog only. Lemonado covers PostHog plus your ad platforms, GA4 and the rest of your stack in one connection, so ChatGPT can answer questions across them.
Check that Lemonado is installed at chatgpt.com/plugins, then pick it with @ in a new chat. Workspace admins can turn custom plugins off. In Lemonado, check that PostHog is connected and External tools is on for the company. If sources are missing, check that your site keeps UTM parameters through redirects. PostHog can only record the source it sees on the first page.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Compare Google Ads clicks by campaign last week with PostHog sessions carrying the same utm_campaign."
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