Skip to content

Connect PostHog to Claude

  • What does an activated user cost?

Ask Claude which campaigns bring PostHog users who activate, and what each one cost, then share it as an artifact. Lemonado connects them in about 2 minutes, no API keys needed.

MCPhttps://mcp.lemonado.io/mcp

Why connect PostHog to Claude?

PostHog knows what people do on your site and in your product. The ad platforms know what you paid to get them there. With Lemonado in Claude, one question can follow a visitor from the ad they clicked to the moment they activate, and Claude turns what it finds into an artifact.

  • 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 Claude

Before you start

  • A PostHog account you can sign in to
  • A Claude account
  • A Lemonado account (the free trial works)
  1. 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. 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.

    text
    https://mcp.lemonado.io/mcp
  3. 3

    Open Claude's connectors

    Go to claude.ai and open Customize → Connectors. Click + Add, then Add custom connector.

  4. 4

    Add Lemonado

    Name it Lemonado and paste the server URL. Continue, review the sign-in settings Claude detects, and choose Sign in now.

    text
    https://mcp.lemonado.io/mcp
  5. 5

    Sign in and turn it on

    Approve access in the Lemonado window. Back in Claude, open a new chat and switch Lemonado on from the connectors menu.

  6. 6

    Ask Claude about PostHog

    Try "Split last month's spend on Google Ads, Meta and LinkedIn by the PostHog users each channel sent who finished onboarding. Show the cost per onboarded user in an artifact." Or ask: "Which pages turn visitors into signups?" or "What did the experiment teach us?"

Good to know

  • Custom connectors work on Claude Free, Pro, Max, Team and Enterprise. Free accounts can add one.
  • On Team and Enterprise, an owner adds the connector first under Organization settings → Connectors → Add → Custom → Web. Members then connect their own accounts.
  • Remote connectors belong to your Claude account, so the same connection shows up in Claude Desktop and Cowork. Requests come from Anthropic's cloud, not your computer.

What can Claude do with PostHog?

Claude reads your PostHog numbers, explains what moved and turns the answer into an artifact you can share.

Claude logoClaude

Split last month's spend on Google Ads, Meta and LinkedIn by the PostHog users each channel sent who finished onboarding. Show the cost per onboarded user in an artifact.

Done. Google Ads: $68 per activated user. Meta: $91. LinkedIn: $142, but those users invite 2x more teammates. The artifact shows it by week.

Source: PostHog + ads

Reading this as an AI agent?

Everything an agent needs to set this up, in plain text. Paste this page's link into Claude and ask it to connect you, or copy the block.

For agents · markdown
# Connect PostHog to Claude (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 Claude: Customize → Connectors → Add custom connector

```text
https://mcp.lemonado.io/mcp
```

One-click install: https://claude.ai/directory/lemonado

First question to try: "Split last month's spend on Google Ads, Meta and LinkedIn by the PostHog users each channel sent who finished onboarding. Show the cost per onboarded user in an artifact."

More: https://lemonado.io/integrations/posthog · https://lemonado.io/llms.txt
FAQ

Frequently Asked Questions

PostHog's own server is the right tool for creating flags, launching experiments and editing insights. Lemonado does a different job: questions where PostHog data meets ad spend or Stripe revenue. Plenty of teams connect both.

Yes. PostHog's official MCP server is hosted, so Claude 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 Claude can answer questions across them.

In Claude, open Customize → Connectors and check that Lemonado says Connected, then switch it on from the connectors menu in the chat. 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 "Divide last month's spend on Google Ads, Meta and LinkedIn by the PostHog users each one sent who completed onboarding."

MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.

See plans and pricing

Still have a question?

Shoot us an email at hello@lemonado.io.

Try for free

Stop fighting with data. Start feeding your AI.

Connect your data to AI and free your team from reporting and busywork.

Try Lemonado free