Draft: research not yet reviewed. Hidden from search engines and production.
PostHog MCP server & Claude connector
Does PostHog have an official MCP server or Claude connector?
Official
As of October 2026, PostHog publishes an official remote MCP server at mcp.posthog.com/mcp, documented on posthog.com, built in the PostHog GitHub org, and listed in Anthropic's directory as Anthropic verified. It signs in with OAuth or a personal API key and has a documented read-only mode. Writes are on by default.
Last checked
Verdict and evidence
- What we checked
- PostHog MCP server
- Published by
- PostHog (official)
- Runs
- Hosted (remote)
- Sign-in
- OAuth sign-in
- Stage
- unknown
- Plan
- Connecting and calling tools is free per PostHog; some AI-powered tools may bill as PostHog AI spend and need AI data processing enabled.
- Endpoint
https://mcp.posthog.com/mcp
Evidence
- PostHog MCP docs (posthog.com, seen October 18, 2026)
- PostHog MCP FAQ and advanced setup (posthog.com, seen October 18, 2026)
- PostHog MCP for Claude Code (posthog.com, seen October 18, 2026)
- PostHog/posthog services/mcp (github.com, seen October 18, 2026)
- PostHog connector (Claude directory) (claude.com, seen October 18, 2026)
What an AI can do in PostHog
Read
- Run an analytics query
query-run - Get an insight
insight-get - List all feature flags
feature-flag-get-all - Get experiment results
experiment-results-get
Create
- Create a dashboard
dashboard-create - Create a feature flag
create-feature-flag
Update
- Update a feature flag
update-feature-flag
Delete
- Delete a feature flag
delete-feature-flag
From the publisher’s documentation for the version we checked. Not every tool is listed.
Setup
Claude Code
Add the HTTP server at user scope; you are prompted to log in on first use. Read-only: append ?readonly=true (per the docs' query parameter).
claude mcp add --transport http posthog https://mcp.posthog.com/mcp -s userSourceClaude (claude.ai / Desktop)
Installable from the Claude directory (sign-in required) or via the PostHog wizard.
npx @posthog/wizard mcp addSourceCursor
README fallback for clients without OAuth: mcp-remote with a personal API key. PostHog docs list per-client guides for Cursor, VS Code, Windsurf, Zed and Codex.
{
"mcpServers": {
"posthog": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://mcp.posthog.com/mcp",
"--header",
"Authorization:${POSTHOG_AUTH_HEADER}"
],
"env": {
"POSTHOG_AUTH_HEADER": "Bearer {INSERT_YOUR_PERSONAL_API_KEY_HERE}"
}
}
}
}SourceSafety check
- Pass
Publisher verified
Endpoint on posthog.com, docs on posthog.com, repo in the GitHub-verified PostHog org, and the Claude directory lists it as made by PostHog, Anthropic verified.
- Pass
Auth model
OAuth is recommended; a personal API key (MCP Server preset, scoped to one project) as Bearer token is the fallback. Routes to US or EU region by account.
- Flag
Write and delete access
Directory lists 57 tools including create, update and delete for dashboards, flags, insights and experiments. A read-only mode removes write tools: send header x-posthog-read-only or query parameter readonly (true or 1).
- Pass
Tool-description injection scan
Read the tool definition YAMLs (core, data_management, docs, query-wrappers) in services/mcp/definitions and keyword-scanned them; no AI-directed override or concealment text. Docs pages carry an 'AI agents' llms.txt pointer, benign; the FAQ itself warns about untrusted instructions. Not every definition file was read.
- Pass
Repo maintenance
PostHog/posthog monorepo (services/mcp) pushed 2026-10-18, 40,332 stars, not archived. The earlier PostHog/mcp repo is archived and points to the monorepo.
FAQ
Does PostHog have an official MCP server?
Yes. PostHog hosts it at https://mcp.posthog.com/mcp and develops it in its posthog GitHub monorepo under services/mcp.
Is PostHog a Claude connector?
Yes. The Claude directory lists PostHog, made by PostHog and Anthropic verified.
Can I make it read-only?
Yes. Send the x-posthog-read-only header or add ?readonly=true; write tools are removed.
EU or US data?
The server routes you to the US or EU region based on the account you sign in with. Accounts in both regions need separate connections.
Does the server store my analytics data?
PostHog says it acts as a proxy and does not store your analytics data.
Last reviewed .
Get your badge
Work at PostHog? Show that your MCP server is independently checked. The badge reflects this page: it updates when we re-check, and it links readers to the evidence.
Markdown (README)
[](https://mcpornot.com/posthog)HTML
<a href="https://mcpornot.com/posthog"><img src="https://mcpornot.com/badge/posthog.svg" alt="MCP or Not: Official · Checked Oct 2026" height="20"></a>Compare PostHog
Something changed?
Vendors ship MCP updates often. If PostHog launched, changed or retired a server, tell us and we will re-check it against primary sources. Submit a correction.
New official MCP servers, weekly
One short email when vendors ship, change or retire an official server or Claude connector. Checked against primary sources, like every verdict here.