Setup
Install PostHog MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/posthog/mcp
Follow the installation instructions in the repository README, then restart your MCP client.
The MCP server has been moved into the PostHog Monorepo - you can find it[here.
Documentation:](https://github.com/PostHog/posthog/tree/master/services/mcp)[https://posthog.com/docs/model-context-protocol
You can install the MCP server automatically into Cursor, Claude, Claude Code, VS Code and Zed by running the following command:
PostHog runs an official remote MCP server — connect over a hosted URL instead of installing this one locally.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Analyze your MCP setup: measure token cost per tool, find bloated schemas, detect duplicates, and get optimization tips to reclaim your context window.
Load and cost budgeting for MCP tool calls.
MCP server that predicts your monthly LLM spend from local Claude Code / Cursor / Codex logs. Forecasts end-of-month $, ranks spike drivers, warns before budget breach. Free tier + paid tier ($19/mo), MIT licensed.
Prompt analytics MCP server: score prompts, search history, detect leaked credentials, and scan AI coding sessions.
Local-first dashboard and MCP server for Claude Code and Codex token usage tracking.
MCP server that lets AI agents analyze Claude Code session cost & context attribution — token usage, cached re-reads, and cache writes. Local, read-only.
Enable AI Agents to fix build failures from CircleCI.
Provides access to OpenTelemetry traces and metrics through Logfire.
Interact with your crash reporting and real using monitoring data on your Raygun account
Skene is a codebase analysis toolkit for product-led growth. It scan your codebase, detect growth opportunities, and generate actionable implementation plans.](https://posthog.com/docs/model-context-protocol)