An astronaut overseeing a futuristic data hub

Connect PostHog to ChatGPT, Claude and Gemini

Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Query your analytics and feature flags using natural language.

Ask AI about this Connector

Developed, maintained, and hosted by Vinkius.

MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED

Waiting for input…

Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.

ChatGPTClaudeCursorPerplexityGeminiMicrosoft CopilotRaycastMeta AI

Your AI does the work. We keep it safe and sound.

No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.

Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

A futuristic MCP client docking bay
V8 Isolate01

Each Connector runs inside its own sealed environment.

Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.

Kill Switch02

One switch stops every agent. Instantly.

One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.

FinOps per User03

Spending limits that pause instead of surprise.

Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.

Three controls, built into the layer your AI connects through.

Curated set · 10 capabilities

We ship only the actions that matter.

Capability set01 / 03

01-04

4 capabilities in this set.

Part of 10 available through PostHog.

  1. 01

    Get person

    This capability fetches the properties and details of a specific person via their ID.

  2. 02

    List events

    This capability provides a list of the most recent events captured by your project.

  3. 03

    List dashboards

    This capability returns a list of all dashboards in your PostHog project.

  4. 04

    List persons

    This capability returns a list of identified persons and users in the project.

Capability set02 / 03

05-07

3 capabilities in this set.

Part of 10 available through PostHog.

  1. 05

    Get event

    This capability pulls the specific details of a single event using its ID.

  2. 06

    Get insight

    This capability retrieves detailed metadata for a specific insight using its ID.

  3. 07

    List actions

    This capability retrieves the list of defined user actions available in your project.

Capability set03 / 03

08-10

3 capabilities in this set.

Part of 10 available through PostHog.

  1. 08

    List experiments

    This capability lists all active and past experiments to track product changes.

  2. 09

    List feature flags

    This capability lists all feature flags currently configured in your project.

  3. 10

    List insights

    This capability provides a list of all saved insights within your PostHog project.

Real work

What teams actually run

01

Feature Rollout Monitoring

Check if a new feature flag is active and see how it affects user segments immediately.

02

Debugging User Flows

Inspect specific person properties to see why a user is stuck in a particular funnel.

03

Experiment Validation

Ask your agent to list recent experiment results to see if a change is hitting its targets.

04

Data Integrity Checks

List recent events to ensure that your tracking implementation is working as expected.

Automate a task

Put PostHog to work on one thing.

Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.

One connector, every AI

PostHog works with the most popular AI clients.

These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.

Building your own app? The connector is yours to use.

You don't need a client to put PostHog to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.

Observed, not estimated

874ms average. Fast in production.

PostHog is checked daily against the live service.

Daily averagePeak 1068ms
Oct 3Today
Fastest day
680ms
Slowest day
1068ms
14-day trend
Slowing+7%

Connect your client

One URL. Every client.

Activate the Connector, copy your link, and paste it into the client you already use. 10 capabilities arrive ready to run.

Preview access · not provider authentication

The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of PostHog, so you can see the experience inside your AI.

It does not authenticate your account with PostHog. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.

PostHog Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — PostHog capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "posthog-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp"
    }
  }
}
  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Step-by-step instructions for each client are in the guide. How to connect

Guided setup for Claude? Set up PostHog in Claude and other AIs

See all the AI clients this connector works with ↑

Who it's for

Built for the work PostHog owners hand off.

This MCP is for technical teams who need to bridge the gap between product analytics and their development workflow.

  • 01

    Product Managers

    They use the AI to quickly check feature flag status or review insight results.

  • 02

    Growth Engineers

    They monitor active experiments and user properties during development cycles.

  • 03

    Data Analysts

    They audit event logs and person metadata without leaving their primary workspace.

FAQ

Questions PostHog owners ask.

  • 01

    How do I connect PostHog to my AI client?

    You subscribe to the MCP on Vinkius and provide your PostHog Personal API Key and Project ID. Once connected, the capabilities are immediately available in your AI client.

  • 02

    Can I use this with an EU-based PostHog instance?

    Yes. You can provide your specific PostHog Host during the setup process to ensure the connection works with EU instances.

  • 03

    Which AI clients are compatible?

    This MCP works with any MCP-compatible client, including Claude, Cursor, and Windsurf.

  • 04

    What kind of data can my agent access?

    Your agent can access insights, person properties, feature flags, experiments, dashboards, and recent event logs.

  • 05

    Do I need to manage the connection myself?

    No. Vinkius hosts the MCP and manages the credentials so it is ready to use as soon as you connect your client.

  • 06

    Where do I find my Project ID?

    You can find your Project ID in PostHog under Project Settings. It is a numeric ID usually found at the top of the settings page.

  • 07

    Does this support PostHog EU instances?

    Yes! Use the optional POSTHOG_HOST credential and set it to https://eu.posthog.com. By default, it uses the US host (https://app.posthog.com).

  • 08

    Can I see individual user properties?

    Absolutely. Use the get_person capability with a Person ID to retrieve all properties, tags, and identification metadata for a specific user.

Connect PostHog to Claude, Cursor, ChatGPT & more