---
title: "PostHog MCP Server for ChatGPT, Claude & Gemini | UnifiedMCP"
description: "Connect PostHog to ChatGPT, Claude, Gemini, Cursor or any MCP client. Let AI read and update your PostHog properties, events and sessions."
url: https://unifiedmcp.com/integrations/posthog
---

1.  [Home](https://unifiedmcp.com/index.md)
2.  /
3.  [Integrations](https://unifiedmcp.com/integrations.md)
4.  /
5.  PostHog

# PostHog MCP server

Connect PostHog to ChatGPT, Claude, Gemini, Cursor or any MCP client. Let AI read and update your PostHog properties, events and sessions. No code required.

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

[Connect PostHog](https://app.unifiedmcp.com/directory)

[Try an action](https://app.unifiedmcp.com/sandbox?integration=posthog)

Categories

Analytics, HR & Directory, Forms, Cdp

Access

Read and write

MCP tools

20

Works with

ChatGPT, Claude, Gemini, Cursor

Supported objects

Property, Event, Session, Visitor, Report, Employee, Form and Segment

## PostHog MCP tools

Every PostHog connection comes with its own MCP server. These are all 20 tools it gives ChatGPT, Claude, Gemini and other AI clients.

Tool

What it does

Access

list\_hris\_employees

List employees from PostHog.

Read

get\_hris\_employee

Retrieve a single employee by its ID from PostHog.

Read

update\_hris\_employee

Update an existing employee by its ID in PostHog.

Write

remove\_hris\_employee

Delete an employee by its ID from PostHog.

Write

list\_metadata\_metadatas

List metadatas from PostHog.

Read

update\_metadata\_metadata

Update an existing metadata by its ID in PostHog.

Write

remove\_metadata\_metadata

Delete a metadata by its ID from PostHog.

Write

create\_analytics\_property

Create a property in PostHog.

Write

list\_analytics\_properties

List properties from PostHog.

Read

get\_analytics\_property

Retrieve a single property by its ID from PostHog.

Read

update\_analytics\_property

Update an existing property by its ID in PostHog.

Write

remove\_analytics\_property

Delete a property by its ID from PostHog.

Write

list\_analytics\_events

List events from PostHog.

Read

get\_analytics\_session

Retrieve a single session by its ID from PostHog.

Read

list\_analytics\_sessions

List sessions from PostHog.

Read

create\_analytics\_visitor

Create a visitor in PostHog.

Write

list\_analytics\_visitors

List visitors from PostHog.

Read

get\_analytics\_visitor

Retrieve a single visitor by its ID from PostHog.

Read

update\_analytics\_visitor

Update an existing visitor by its ID in PostHog.

Write

list\_analytics\_reports

List reports from PostHog.

Read

## Supported PostHog data

The PostHog objects AI can work with, and what it can do with each.

### Analytics

PropertyRead & write

Fields: id, created\_at, updated\_at, name, timezone, parent\_id

EventRead only

Fields: id, created\_at, name, event\_type, property\_id, session\_id, visitor\_id, page\_url, page\_title, page\_referrer, device, browser and 11 more

SessionRead only

Fields: id, created\_at, property\_id, visitor\_id, start\_at, end\_at, duration\_seconds, page\_views, events\_count, source, medium, campaign and 1 more

VisitorRead & write

Fields: id, created\_at, updated\_at, property\_id, email, name, country, city, timezone, metadata, first\_seen\_at, last\_seen\_at and 2 more

ReportRead only

Fields: created\_at, property\_id, start\_at, end\_at, metrics

### HR & Directory

EmployeeRead & write

Fields: id, name, emails, first\_name, last\_name, hired\_at, employee\_roles

### Forms

FormRead only

Fields: id, name, description, created\_at, is\_active, fields

### Cdp

SegmentRead only

Fields: id, name, description, definition, type, compute\_mode, size, is\_active, created\_at

## Connect PostHog to your AI in minutes

1.  Step 1

    ### Connect PostHog

    Sign up for UnifiedMCP and sign in to your PostHog account. Your credentials stay encrypted and you can disconnect at any time.

2.  Step 2

    ### Copy your MCP server URL

    UnifiedMCP creates an MCP server for your PostHog connection, with the tools listed above.

3.  Step 3

    ### Add it to your AI client

    Paste the URL into Claude (Settings → Connectors), ChatGPT (developer mode → Apps & Connectors), Gemini, Cursor or any MCP client, then ask about your PostHog data.

## PostHog integration FAQ

### What is the PostHog MCP server?

The PostHog MCP server lets AI assistants such as ChatGPT, Claude and Gemini work with your PostHog account over the Model Context Protocol (MCP). Connect PostHog once in UnifiedMCP and you get a personal MCP server URL to add to your AI client. It exposes 20 PostHog tools.

### How do I connect PostHog to ChatGPT or Claude?

Sign up for UnifiedMCP, connect your PostHog account, and copy the MCP server URL for that connection. In Claude, go to Settings → Connectors → Add custom connector and paste the URL. In ChatGPT, turn on developer mode, then go to Apps & Connectors → Create and paste the URL. Any other MCP-compatible client, such as Cursor or VS Code, works the same way.

### What PostHog data can AI access?

UnifiedMCP can read PostHog properties, events, sessions, visitors, reports, employees, forms and segments. It can also create or update properties, visitors and employees.

### Can I control what AI can do in PostHog?

Yes. Each MCP server only acts on the PostHog account you connected, with the permissions you granted when connecting. You can disconnect it at any time.

### How much does the PostHog integration cost?

PostHog is included in every UnifiedMCP plan: it is one of 2,311+ integrations. You can start on the Free plan; see the pricing page for plan limits.

## More Analytics integrations

Connect PostHog alongside the other apps your team uses, and let AI work across all of them.

[100ms→](https://unifiedmcp.com/integrations/100ms.md)[123FormBuilder→](https://unifiedmcp.com/integrations/123formbuilder.md)[15Five→](https://unifiedmcp.com/integrations/15five.md)[1Password (Events)→](https://unifiedmcp.com/integrations/1passwordevents.md)[1upHealth→](https://unifiedmcp.com/integrations/1uphealth.md)[24SevenOffice→](https://unifiedmcp.com/integrations/24sevenoffice.md)[2Chat→](https://unifiedmcp.com/integrations/2chat.md)[360Learning→](https://unifiedmcp.com/integrations/360learning.md)[Adjust→](https://unifiedmcp.com/integrations/adjust.md)[Ahrefs→](https://unifiedmcp.com/integrations/ahrefs.md)[Amplitude→](https://unifiedmcp.com/integrations/amplitude.md)[Baremetrics→](https://unifiedmcp.com/integrations/baremetrics.md)

[Browse all integrations →](https://unifiedmcp.com/integrations.md)

## Give AI access to PostHog today

Connect PostHog and 2311+ other apps to ChatGPT, Claude and Gemini. No code required.

[Connect PostHog](https://app.unifiedmcp.com/directory)

[See pricing](https://unifiedmcp.com/pricing.md)
