posthog

posthog is a MCP server by PostHog that interact with PostHog analytics, feature flags, error tracking and more.

Updated 2026-10-18

What is posthog?

posthog is a MCP server by PostHog that interact with PostHog analytics, feature flags, error tracking and more. It is listed under Developer tools and has 40,331 GitHub stars.

TypeMcp server
AuthorPostHog
RepositoryPostHog/posthog
Popularity40,331 GitHub stars
CategoryDeveloper tools
SecurityReview before installing (76/100)
Rank#17 of 4,418 MCP servers; #9 in Developer tools
Last commit2026-10-18
Stars this week+110
RunsCloud service
LanguageTypeScript

Is posthog safe to install?

posthog scores 76/100 on the MCPMods security check: Review before installing. Things to review: sends your data to a cloud service; can take actions such as send, write or deploy. It passed 4 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Published by the service itselfPass
Sends your data to a cloud serviceReview
No credentials mentionedPass
Can take actions such as send, write or deployReview
No code executionPass
Source on GitHubPass

How do I install posthog?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/PostHog/posthog/tree/master/services/mcp
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add posthog -- <command from README>
    claude mcp add --transport http posthog <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs posthog for you:

Add the "posthog" MCP server from https://github.com/PostHog/posthog/tree/master/services/mcp to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.