posthog
MCP server by mcparmory Verified · mcparmory.com
Captures analytics events, evaluates feature flags and manages projects in PostHog. It is listed in the MCP Armory registry under Analytics and published by mcparmory.
Install posthog
Built from the published package, never by AI.
claude mcp add posthog -- uvx mcparmory-posthogRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"posthog": {
"args": [
"mcparmory-posthog"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"posthog": {
"args": [
"mcparmory-posthog"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"posthog": {
"args": [
"mcparmory-posthog"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add posthog -- uvx mcparmory-posthog{
"mcpServers": {
"posthog": {
"args": [
"mcparmory-posthog"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add posthog uvx mcparmory-posthogGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 posthog block.
About
PostHog is an MCP server listed in the MCP Armory registry under Analytics. The listing describes it as a way to capture analytics events, evaluate feature flags, and manage projects. The source does not list its individual tools.
The server is a standalone Python package that can be installed with pip or run with uvx. It works with MCP clients such as Claude Desktop, Cursor, Codex and Claude Code. It was generated from the upstream OpenAPI spec using MCP Blacksmith and tested against the live API before release. It is released under the MIT License, and the PostHog API has its own terms of service.
Written from the project's README and checked against it.
What you need
- Python, as a standalone Python package installed with pip or uvx
- An MCP client such as Claude Desktop, Cursor, Codex or Claude Code
Try asking
- Capture an analytics event in PostHog for a new user signup
- Check whether a feature flag is enabled for a given user
- List the PostHog projects I have access to
Good to know
- Server code is auto-generated, so fixes are made through issue reports rather than direct edits
- The underlying PostHog API has its own terms of service
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Track product analytics events
- Evaluate feature flags
- Manage PostHog projects
Alternatives to posthog
All alternatives →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.
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.
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.
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.
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.
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.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
posthog: common questions
What can the PostHog MCP server do?
The listing says it can capture analytics events, evaluate feature flags, and manage projects. The source does not list the individual tools.
How was the PostHog MCP server built?
It was generated from the upstream OpenAPI spec using MCP Blacksmith and tested against the live API before release.
What license does the PostHog MCP server use?
Generated servers in this registry are released under the MIT License.
How do I install posthog?
In Claude Code run claude mcp add posthog -- uvx mcparmory-posthog. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is posthog the official server?
posthog is published by mcparmory.com from its verified domain in the official MCP Registry.
Is posthog free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is posthog safe to use?
It scores 56 of 100. Grades: maintenance D, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to posthog?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does posthog 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.
