PostHog logo

PostHog MCP Server

PostHog's official MCP server queries product analytics, funnels, insights and feature flags. It is an official, vendor-maintained server. Works in Claude and Cursor.

Visit PostHog
Server URLhttps://mcp.posthog.com/mcp
PostHog

What PostHog can do

PostHog's official MCP server queries product analytics, funnels, insights, feature flags

Tools PostHog exposes

5 tools · from docs

The exact tools this MCP server gives your AI.

query_insightRun an insight queryread
list_insightsList insightsread
get_funnelRead a funnelread
list_feature_flagsList feature flagsread
query_eventsQuery eventsread

Try asking Claude

Example prompts once PostHog is connected.

Check a funnel.
Query an insight.
Read feature-flag status.

Set up PostHog

Pick your client. Every snippet is copy-ready.

Settings → Connectors → Add custom connector, paste https://mcp.posthog.com/mcp, authenticate with API Key.

Permissions & safety

Read-onlyAuth: API Key

Runs remotely, so requests and returned data pass through posthog.com.

This server is read-only, so it cannot change your data.

Troubleshooting

Authentication fails or the connector shows disconnected
Re-run the connect flow. Check your API key is valid and has the right scopes.
401 / 403 errors on a tool call
The account lacks the scope that tool needs. Reconnect and grant the missing permission.
A tool returns nothing for your PostHog data
Confirm the account you authorised actually contains that data, and that your plan includes it.

FAQ

Open Claude, go to Settings, Connectors, Add custom connector, and paste https://mcp.posthog.com/mcp. Authenticate with API Key and it is ready in any chat.

More Web & Product Analytics MCP servers

A
Written by Ari · Founder

Running a digital business since 2019 and a local SEO agency, Ari built and shipped GBPAudit.AI as a Claude connector. Every server here is connected and its tools read before it's listed.

Something wrong with this listing? Report it.