PostHog MCP server icon

PostHog

by PostHog

Developer Tools57 tools

Run HogQL, build dashboards, ship feature flags and triage errors from your AI assistant. 57 tools in Anthropic's listing, 859 in PostHog's own reference, and 139 OAuth scopes — the most granular consent surface in this catalogue.

Verified connector

Listed by Anthropic as a partner connector in its Connectors Directory.

Connection checked by Agentman on .

Anthropic states this reflects the level of review a connector received, not a security audit.

Connect PostHog via MCP

https://mcp.posthog.com/mcp

Works in any MCP-compatible client. In Agentman Studio it is one click — no config file to edit.

PostHog Tools & Capabilities (57)

Tool names from Anthropic's directory listing. This server requires sign-in, so we could not read tool descriptions or parameter schemas.

Frequently asked questions

What is the PostHog MCP server?

PostHog describes it as a hosted Model Context Protocol endpoint that exposes PostHog's products — feature flags, product analytics, error tracking, experiments, SQL queries, CDP, surveys and more — as function-calling tools to any MCP-compatible agent. It runs at https://mcp.posthog.com/mcp over streamable HTTP, and PostHog's authentication server routes you to the correct data region automatically.

How much does the PostHog MCP server cost?

Connecting to the server and calling its tools is free, per PostHog's MCP FAQ. Standard PostHog usage and billing still apply to the underlying data your queries consume, so an agent running large HogQL queries spends against your normal plan. Some tools run LLMs internally and may be billed as PostHog AI spend.

Are there rate limits on the PostHog MCP server?

Yes, but no separate MCP limit. PostHog states that tool calls execute against its API and inherit the same API rate limits. Analytics endpoints allow 240 requests per minute and 1,200 per hour; the query endpoint allows 2,400 per hour. These limits apply per team, across every user and key in the organization.

Do I need to create an API key to use the PostHog MCP server?

No. PostHog states OAuth is the recommended path and works out of the box with its wizard. If your client does not support OAuth, you can use a personal API key with the MCP Server preset, which scopes access to a specific project, and pass it as an Authorization Bearer header in your MCP configuration.

Is it safe to let an agent write to my PostHog project?

PostHog answers this directly and does not simply reassure. Its FAQ warns that language models can be tricked into following untrusted commands, so you should review tool calls before executing them. It then names three controls: restrict the session to read-only tools, filter which tools are exposed, and pin the agent to one organization or project.

Where is my data sent by the PostHog MCP server?

To your own PostHog instance. PostHog states the MCP server acts as a proxy and is routed automatically to the correct region, US or EU, based on the account you sign in with. It does not store your analytics data — queries execute against your PostHog project and results return directly to your AI client.

Can my organization manage PostHog MCP access through our identity provider?

Yes, on an enterprise plan. PostHog documents enterprise-managed authorization using ID-JAG, which lets you control MCP access through an identity provider such as Okta or Entra ID instead of per-user OAuth or personal API keys. On other plans, access is granted per user through the OAuth consent screen or an API key.

Use in Agentman

Connect once and your agents call these tools on their own — on a schedule, in a workflow, with nobody at the keyboard.

Open in Agentman Studio

Server Info

Category
Developer Tools
Developer
PostHog
Tools
57
Domain
mcp.posthog.com

Using Claude Desktop or another MCP client? Setup docs — the connection URL above works anywhere.