CuratedMCP
OpenAI Agents SDK
Hosted

How to install PostHog MCP Server in OpenAI Agents SDK

Official PostHog MCP Server for product analytics, feature flags, experiments, and more.

Indexed, not yet reviewed

We found PostHog MCP Server in the official MCP registry. Our automated check passed on Nov 1, 2026 (it confirms the server is published and reachable), but no one at CuratedMCP has reviewed its code, permissions or credentials handling. Check what it can access before you give it keys. Scan your machine free to see every MCP server you have installed.

Steps

  1. 1pip install openai-agents
  2. 2Use the snippet below inside an async function

Python snippet

Python
from agents import Agent
from agents.mcp import MCPServerStreamableHttp

async with MCPServerStreamableHttp(
    params={
        "url": "https://mcp.posthog.com/mcp",
        "headers": {
            "Authorization": "<your-authorization>"
        }
    },
) as server:
    agent = Agent(name="Assistant", mcp_servers=[server])

Replace the values in angle brackets. Optional settings are listed below.

HeaderRequiredWhat it is
AuthorizationsecretYesBearer token with your PostHog personal API key. Create one at https://us.posthog.com/settings/user-api-keys with the 'MCP Server' preset.

Install in other clients

About PostHog MCP Server: repo, license and check results →

Maintain PostHog MCP Server?

Claim this page to get a full CuratedMCP listing: edit your description, see listing analytics, and add our README badge. Listing is free, and a person checks every submission before it goes live. We'll pre-fill the form from the registry.

    How to install PostHog MCP Server in OpenAI Agents SDK | CuratedMCP