Posthog

live Data

PostHog MCP — wraps PostHog Analytics API (app.posthog.com/api)

3 tools
0ms auth
free tier 50 calls/day

Tools

get_events

Fetch recent events from a PostHog project. Returns event names, timestamps, and properties. Example: get_events({ project_id: "12345", limit: 50, _apiKey: "phx_..." })

No parameters required.

Try it
get_persons

Search for persons (users) in a PostHog project. Returns user profiles with properties. Example: get_persons({ project_id: "12345", search: "[email protected]", _apiKey: "phx_..." })

No parameters required.

Try it
get_insights

List saved insights (charts, trends, funnels) for a PostHog project. Returns insight names, types, and configurations. Example: get_insights({ project_id: "12345", _apiKey: "phx_..." })

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/posthog/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/posthog/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_events","arguments":{}}}'