P

posthog.com

PostHog is a product platform for analytics, feature flags, session replay, error tracking, experiments, surveys, data warehousing, and related tooling. It can be used on PostHog Cloud in US/EU regions or on self-hosted instances.

3 integrations · MCP · REST · CLI

PostHog exposes one HTTP API (private CRUD/query plus public ingestion endpoints), one hosted MCP server, and a public npm-based setup CLI.

discovered 1d ago
MCP servers1
REST · OpenAPI1
CLI1
Credentials
Personal API keybearerGet token

In PostHog, open Personal API keys, click + Create a personal API Key, choose scopes, and copy the key immediately. For MCP-specific manual setup, PostHog also links a preset at user API keys with MCP preset.

OAuth 2.0oauth2
OAuth 2.0 — self-onboarding

Point your MCP client at the server URL and approve access in the browser. The server accepts a Client ID Metadata Document (CIMD), so the client authenticates with its own hosted URL as the client_id — nothing to register.

Project API tokenapi_keyGet key

Open your project's settings in PostHog at Project settings and copy the project token. PostHog uses this token for public ingestion and feature-flag evaluation endpoints; it is sent in the request payload rather than as a Bearer token.

conventions · 1/8 published

Publish these signals → /publishing