Be mindful of prompt injection – LLMs can be tricked into following untrusted commands, so always review MCP tool calls before executing them.
Frequently asked questions
What is the PostHog MCP server?
The PostHog MCP server is a hosted
Model Context Protocol
endpoint that exposes PostHog's products – feature flags, product analytics, error tracking, experiments, SQL queries, CDP, surveys, and more – as function-calling MCP tools to any MCP-compatible AI agent.
How much does it cost?
Connecting to the MCP server and calling its MCP tools is free. Standard PostHog
usage and billing
still apply to the underlying data your queries consume.
Note that some MCP tools use LLMs internally, and usage of these MCP tools may be billed as PostHog AI spend.
