PostHog
● Activecom.posthog/mcp
Query analytics, manage feature flags and experiments, and investigate errors in PostHog.
Connect this server
One click to install, or copy the config below. Suits: Cursor · HTTP clients.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"mcp": {
"url": "https://mcp.posthog.com/mcp"
}
}
}claude mcp add --transport http mcp https://mcp.posthog.com/mcpcode --add-mcp '{"name":"mcp","type":"http","url":"https://mcp.posthog.com/mcp"}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in. Codex takes hosted servers in config.toml ([mcp_servers.<name>] url = …) rather than on the command line.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Data & Analytics
- Version
- 1.0.0
- Registry
- active
- Published
- 11/22/2026
Is it safe? Is it maintained?
Serverdex check: Nov 22, 2026Mostly fine: PostHog is maintained, hosted endpoint behind a sign-in.
- Maintained
- Active
- Last commit today (Nov 22, 2026), 4,479 open issues.
- Official registry
- Active
- Published as com.posthog/mcp in the official MCP registry, version 1.0.0.
- Source
- No licence found
- Public repository, but GitHub reports no recognised licence (41,013 stars). Check the README before shipping it in a product.
- Runs
- Hosted by the publisher
- Your client talks to mcp.posthog.com: prompts and tool arguments leave your machine for that host.
- Credentials
- Sign-in required
- The hosted endpoint answered 401/403 to a credential-free call (checked Nov 22, 2026): it wants an API key or an OAuth login first.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.
Live check
checked Nov 22, 2026, 06:07 UTCStatus history & uptime →The endpoint is up but wants a key or an OAuth sign-in before the handshake, so its tools can only be read with an account.
Checked by Serverdex with a plain initialize + tools/list call to mcp.posthog.com/mcp, no credentials, about once a day. A failed check is never a removal.
On GitHub
read Nov 22, 2026- Stars
- 41k
- Forks
- 3.7k
- Last push
- Nov 22, 2026
- License
- Other
Pythonab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
From the README
Docs - Community - Roadmap - Why PostHog? - Changelog - Bug reports PostHog is your product's context layer PostHog ingests and stores your analytics, errors, replays, and business data so you and your agents can query and act on it. It gives you every tool you need to build a successful product, and captures the context agents need to diagnose problems, uncover opportunities, and ship fixes: Analytics • Product analytics: Autocapture or manually instrument event-based analytics to understand user behavior. Analyze your data with visualizations or SQL. • Web analytics: Monitor web traffic and user sessions with a GA-like dashboard. Track conversion, web vitals, and revenue. • Group analytics: Analyze multi-seat accounts and other groups of users. Session replay • Session replay: Watch real user sessions from your website or mobile app to diagnose issues and understand user behavior. • Replay Vision: Let AI watch your recordings for you and turn them into queryable observations. • Heatmaps: See where users click, scroll, and move on your site. Observability • Error tracking: Track errors, get alerts, and resolve issues to improve your product. • Logs: Ingest, search, and analyze log data alongside the rest of your product data. • Tracing: Follow distributed traces straight to the line of code that broke. Ship and iterate • Feature flags: Safely roll out features to select users or cohorts. • Experiments: Test changes and measure their statistical impact on goal metrics.…
Read the full README on GitHub →Remotes
- streamable-http
https://mcp.posthog.com/mcp
Alternatives to PostHog
All PostHog alternatives →Best Data & Analytics servers →The most-starred Data & Analytics servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| PostHog MCP Server | 40,870 | Nov 2026 | Needs sign-in |
| Agent-Native Analytics | 7,735 | Nov 2026 | Needs sign-in |
| TradingMCP | 5,320 | Nov 2026 | Needs sign-in |
| Jitsu | 5,138 | Nov 2026 | Needs sign-in |
| MCP Server Chart | 4,419 | Aug 2026 | Local / not checked |
PostHog: questions people ask
- Is PostHog a remote or a local MCP server?
- According to its entry in the official MCP registry, PostHog ships as a hosted endpoint (streamable-http) that your client connects to by URL.
- Does PostHog need an API key or a sign-in?
- Yes. Its hosted endpoint answered the credential-free Serverdex live check with HTTP 401/403 on Nov 22, 2026: it expects an API key in a header or an OAuth login before it lists its tools.
- Is PostHog safe to use?
- Mostly fine: PostHog is maintained, hosted endpoint behind a sign-in. In detail — maintained: Active; official registry: Active; source: No licence found; runs: Hosted by the publisher; credentials: Sign-in required. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is PostHog still maintained?
- Active: the repository's last commit today. Last push Nov 22, 2026, 41,013 GitHub stars, Other licence. Read from GitHub on Nov 22, 2026.
- How do I add PostHog to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More from PostHog
All 2 servers by PostHog →More Data & Analytics servers
Browse all Data & Analytics →Probative legal-marketing data
ops864
Open US legal-marketing datasets with sources and DOIs, one server per dataset. CC BY 4.0.
Profitpather
profitpather
First-party unsampled Shopify analytics MCP — sessions, attribution, funnels, leaks. 26 tools.
QR Cloud
ritzelm
Dynamic QR codes, short links and QR Reviews (Google review QR) with scan statistics.
QRVow
AnandVarma2814
Create, edit and track dynamic QR codes that never stop working, with scan stats.
QuerySail: Google Analytics
querysail
Hosted, read-only Google Analytics 4 MCP: reports, period comparisons, realtime, custom fields.
RegiaBI apps
codexguy
AI Data Components over MCP: working what-if apps, interactive tables and maps, plus 90 chart types.
Add the badge to your site
Show visitors that PostHog is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/com-posthog-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="PostHog — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/com-posthog-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/com-posthog-mcp) [](https://serverdex.io/install/vscode/com-posthog-mcp) [](https://serverdex.io/install/claude-code/com-posthog-mcp)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/com-posthog-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/com-posthog-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/com-posthog-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).