posthog/mcp
by Various
Official PostHog MCP Server 🦔
MCP
posthog/mcp
Added 1 June 2026
Overview
Connects your AI assistant to PostHog so you can ask about user behavior, product usage, or feature flag status without opening a dashboard. Query events, generate an analytics summary, or pull numbers for a report straight from a conversation. Built for teams that already track their product or website in PostHog and want faster answers from that data.
Best for
Best for
Teams already using PostHog who want quick answers on product and user behavior
Use cases
- Ask how many users triggered a specific event this week
- Pull a quick analytics summary for a report or standup
- Check a feature flag's status without opening the dashboard
- Query user or customer behavior to inform a product decision
How to use
Install
npx @posthog/wizard@latest mcp add Tested with
Cursor, Claude Desktop, Claude Code, VS Code, Zed
Notes
An MCP server that connects PostHog analytics to AI agents. It exposes PostHog’s data model and query capabilities through the Model Context Protocol, enabling tools like Claude or VS Code to interact with analytics data.
143 stars on GitHub. Last updated 2026-01-19. Licensed MIT.
Use cases
- Query user events and properties from PostHog
- Generate analytics insights directly from an AI assistant
- Automate data retrieval for dashboards and reports
Pros
- Official integration maintained by PostHog
- Leverages PostHog’s event and person data
- Written in TypeScript for type safety
Cons
- Requires a running MCP-compatible client
- Limited to data already in PostHog
- Relatively new project with small community (143 stars)
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Official integration maintained by PostHog
- Leverages PostHog’s event and person data
- Written in TypeScript for type safety
Cons
- Requires a running MCP-compatible client
- Limited to data already in PostHog
- Relatively new project with small community (143 stars)
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Claude Code
Anthropic
Anthropic's terminal-native coding agent. Reads your repo, edits files, runs tests, ships PRs.
Cline
Cline
Open-source autonomous coding agent that lives inside VS Code. BYO model key, watch it work.
Continue
Continue.dev
Open-source AI code assistant for VS Code and JetBrains. Customisable, BYO model, built for enterprise.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.