Sign inGet started
Compare

PostHog MCP server

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

PostHog's MCP server reads and writes across its whole product suite; nextanalytica is web analytics built for your agent. Setup, access and checks compared.

Updated

The PostHog MCP server is a hosted server at https://mcp.posthog.com/mcp that lets your agent use all of PostHog: product analytics, feature flags, experiments, surveys, error tracking, dashboards and SQL. It reads and writes, and you can make it read-only or limit it to some tools. nextanalytica is web analytics built for your agent: a smaller set of tools focused on your site's visits, AI traffic and your other sources, with skills that check the numbers on a schedule.

We checked PostHog's side on its MCP docs on November 29, 2026.

What does PostHog's MCP server do?

  • Setup: run npx @posthog/wizard mcp add, which adds it to Claude Code, Cursor, Codex, VS Code, Zed, Claude Desktop and PostHog Desktop, or add the address by hand.
  • Sign-in: OAuth, recommended; a personal API key with the "MCP Server" preset works too. It routes you to your US or EU project on its own.
  • Reads and writes: by default your agent can create and change flags, experiments, dashboards and surveys. The header x-posthog-read-only: true (or ?readonly=true) removes the write tools.
  • Fewer tools: ?features=flags,dashboards keeps only some feature areas, and ?tools= keeps named tools.
  • AI inside: some of its tools use models of their own and run only when AI data processing is on in your organization.

What does nextanalytica's MCP server do?

  • Setup: add https://mcp.nextanalytica.app/mcp and sign in with OAuth, or use an agent key where no browser is at hand.
  • Reads, and a few writes: visits, pages, channels, conversions, people and funnels; it writes your team's notes, memory, conversions and cohorts, and changes your site only through connectors an owner added. An agent can be limited to reading.
  • No model of ours: your own agent reads the numbers. We run no AI on your data.
  • Checks on a schedule: skills run on your team's Claude Code and report what changed; daily rules watch the numbers too.
  • AI traffic and sources: assistants as their own channel, AI crawlers, and Search Console, GA4, Bing Webmaster Tools, ChatGPT Ads and Odoo next to your visits.

How do they compare?

nextanalyticaPostHog
What your agent reachesWeb analytics, AI traffic, your sources, team memoryThe whole product: analytics, flags, experiments, surveys, errors, SQL
Addressmcp.nextanalytica.app/mcpmcp.posthog.com/mcp
Sign-inOAuth, or an agent keyOAuth, or a personal API key
WritesNotes, memory, conversions, cohortsFlags, experiments, dashboards, surveys and more
Read-onlyA choice per sign-in or keyA header or query setting
AI on your dataNone of oursSome tools use PostHog's models, when you allow it
Checks on a scheduleSkills and daily rulesAlerts you create

When is PostHog the better choice?

When you build a product and want your agent to work across it: roll out a feature flag, start an experiment, read session data, write SQL against your events. PostHog's server reaches all of that, and nextanalytica reaches none of it.

When is nextanalytica the better choice?

When the question is about your website: where visitors come from, what ChatGPT sends you, how search is doing, what changed this week. nextanalytica keeps the tool set small and answers those directly, with checks that run without anyone asking.

Can you use both?

Yes. An agent can have several MCP servers. Use PostHog's for product work and nextanalytica's for your site's traffic, search and AI visits. See nextanalytica vs PostHog.

Next steps

Related
  • Best analytics MCP servers: Which analytics tools your agent can read over MCP: nextanalytica, Google Analytics, PostHog, Plausible, Umami and more, compared on setup and access.
  • Google Analytics MCP server: What the Google Analytics MCP server (GA4 MCP) does, how to set it up in Claude Code or Cursor, what it can't read, and when a hosted MCP fits better.
  • Google Search Console MCP: Read Search Console in Claude or Cursor: the open-source GSC MCP servers compared with a hosted MCP that reads Search Console next to your visits.
  • Compare: How nextanalytica compares with PostHog, Plausible and Google Analytics: who reads the numbers, MCP, checks on a schedule and cookies.
  • nextanalytica vs Google Analytics: nextanalytica vs Google Analytics 4: where each fits, how their MCP servers differ, and how to read GA4 next to our own data with your agent.
  • nextanalytica vs PostHog: nextanalytica vs PostHog: a web analytics your own agent reads over MCP, or a product platform with its own AI. Where each fits, and how they differ.
Still have questions?
Was this page useful?