Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Hog

MCP server by PostHog Verified · npm:hog

Hog is PostHog's MCP server, which lets AI assistants query and act on product analytics, errors, replays and other PostHog data. It is for product teams and developers who want coding agents to diagnose problems and ship fixes.

  • Score 94
  • 41k stars
  • 23k a week
  • MIT
  • Updated

Install Hog

Built from the published package, never by AI.

claude mcp add hog -- npx -y hog

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Hog in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the hog block.

About

PostHog ingests and stores analytics, errors, session replays, logs and business data. The remote MCP server at https://mcp.posthog.com/mcp gives agents access to that data so they can query it and act on it. When a user logs in, the server routes to the correct data region, US or EU.

The source says the server can be installed into Claude Code, Cursor, Codex, VS Code, Zed or PostHog Desktop with the command npx @posthog/wizard mcp add. The docs also mention MCP analytics, which shows how agents use an MCP server. It is aimed at product teams and developers who want coding agents to use product context when they investigate issues and make changes.

Written from the project's README and checked against it.

What you need

  • A PostHog account, such as PostHog Cloud US or PostHog Cloud EU
  • A supported MCP client such as Claude Code, Cursor, Codex, VS Code, Zed or PostHog Desktop
  • Ubuntu with Docker and 8GB or more of memory, only for the self-hosted option

Try asking

  • Which errors spiked in PostHog error tracking this week?
  • Summarize product analytics events for signups over the last month
  • Find session replays where users hit a checkout error

Good to know

  • Open source self-hosted deployments should scale to about 100k events per month.
  • PostHog does not provide customer support or guarantees for open source deployments.

Security check

B
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Query product analytics from an AI assistant
  • Diagnose errors using product context
  • Review how agents use an MCP server

Alternatives to Hog

All alternatives →
World Monitor koala73
98

World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.

ACA Remote 91k
Power BI Authoring MCP Server (Local) microsoft
95

Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.

AAA Local 9.7k/wk
Seal Open Data ariacom
95

Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.

AAA Remote 1.7k
OpenMetadataopen-metadata
94

OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.

AAA Remote 16k
Flint Chart MCP microsoft
94

Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.

AAA Local 4.6k
PostHog PostHog
94

Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.

AFA Remote 41k

Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data

Hog: common questions

Which AI clients can connect to the PostHog MCP server?

The source lists Claude Code, Cursor, Codex, VS Code, Zed and PostHog Desktop as clients that the server can be installed into.

Is PostHog free to use?

The source says each product has a monthly free tier and no card is required to start. It also says 97% of users pay $0.

How does the server handle data regions?

The remote MCP server routes to the correct data region, US or EU, when the user logs in.

How do I install Hog?

In Claude Code run claude mcp add hog -- npx -y hog. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Hog the official server?

Hog is published by npm:hog from its verified domain in the official MCP Registry.

Is Hog free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Hog safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.

What are alternatives to Hog?

Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.

Does Hog work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.