What it does
When PostHog is enabled on an agent, the agent can perform PostHog actions as part of its reasoning. You ask a question or give it a task, and the agent decides when and how to use your PostHog account on your behalf.Prerequisites
You must have an active PostHog connection in your workspace before enabling this tool. If no active connection exists, the toggle is disabled.- Go to Integrations for your workspace.
- Find PostHog in the integrations grid.
- Click Connect and enter your API key.
- Return to your agent and enable the tool.
Adding the tool to an agent
- Open an agent in the editor.
- Click the button with the tooltip Add MCP Tool or Sub Agent.
- In MCP Tools, click PostHog. The PostHog node appears on the canvas.
- Click the node to open the Settings panel on the right.
- In the Authentication field, select the connected PostHog account the agent should use.
- If no active connection is found, the settings panel shows a warning with a link to Integrations to connect first.
Use cases
- Weekly product metrics digest
- Investigate a user
- Review feature flags and experiments
Notes
- The agent uses your connected PostHog account to perform actions.
- This tool counts as 1 credit per action the agent performs.

