PostHog MCP for Claude Desktop

The PostHog MCP server enables Claude Desktop to directly interact with your PostHog data – managing feature flags, querying analytics, investigating errors, and more.

The PostHog connector

You can install the PostHog MCP directly into Claude Desktop using the PostHog connector.

  1. Visit the PostHog connector page in the Claude connector directory.
  2. Click Connect to add the connector to your Claude Desktop.
  3. When prompted, sign in to PostHog to finish authentication.

After that, PostHog MCP tools are available in Claude Desktop wherever that connector is supported.

Be mindful of prompt injection – LLMs can be tricked into following untrusted commands, so always review tool calls before executing them.

What's next

  • Use cases – 20+ example prompts and multi-step recipes for the most useful MCP workflows
  • Tools reference – every tool the MCP server exposes, grouped by category
  • FAQ and advanced setup – auth, scoping, filtering, safety, and other operational details

Community questions

Was this page useful?

Questions about this page? or post a community question.