OfficialLocalFree server, account needed

Posthog MCP server

PostHog/posthog/mcp

Interact with PostHog analytics, feature flags, error tracking and more.

40,545 GitHub stars3.6k forks

Install Posthog in Claude Code

This server doesn't publish a package to a registry, so follow the install steps in its README. Once it runs, register it with Claude Code:

Claude Code
claude mcp add posthog -- <command to start the server>

Frequently asked questions

What does the Posthog MCP server do?

Interact with PostHog analytics, feature flags, error tracking and more.

Is the Posthog MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Posthog run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Posthog to Claude Code?

Follow the install steps in the project's README at https://github.com/PostHog/posthog/tree/master/services/mcp, then register it with "claude mcp add".

More developer tools MCP servers

View all