PostHog MCP for Claude Desktop
Contents
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.
- Visit the PostHog connector page in the Claude connector directory.
- Click Connect to add the connector to your Claude Desktop.
- 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