PostHog Connector for AI agents.
10 live capabilities
Query product analytics and manage feature flags with natural language.
Waiting for input…
Why people use PostHog
PostHog Analytics for Faster Product Decisions
With this Connector, that manual loop disappears. You can ask your AI agent to tell you exactly how many people used a new feature yesterday or what the current status of your experiment is. You get the data you need in a single sentence, allowing you to move from analysis to action without the friction of manual navigation.
What Vinkius changes
You get a conversational interface for your entire PostHog analytics suite.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Checking a live feature status
A Product Manager asks their agent to check if the 'new-onboarding-flow' flag is live.
- Real-world use case 02
Verifying tracking for a new button
A developer wants to see if a new click event is firing.
- Real-world use case 03
Analyzing a specific user profile
A growth lead needs to see the properties of a specific user who reported a bug.
Complete set · 10capabilities
The complete PostHog capability set.
These are the exact actions your AI can choose when you ask it to work with PostHog.
01—04
4 capabilities in this set.
Part of 10 available through PostHog.
- 01 Capability
Get event
Use get_event to pull specific details for a single event. This is perfect for deep-diving into one user action.
- 02 Capability
Get insight
Use get_insight to fetch the full details of a specific insight. Use this to get the exact numbers behind a trend.
- 03 Capability
Get person
Use get_person to retrieve the full profile of a specific person. Use this to see all properties for a single user.
- 04 Capability
List actions
Use list_actions to see the defined user actions in your project. This helps you understand how events are categorized.
05—07
3 capabilities in this set.
Part of 10 available through PostHog.
- 05 Capability
List dashboards
Use list_dashboards to see all the dashboards in your project. Use this to get an overview of your reporting structure.
- 06 Capability
List events
Use list_events to see the most recent events from your project. This helps you verify that your tracking code is firing correctly.
- 07 Capability
List feature flags
Use list_feature_flags to see every feature flag in your project. This allows you to quickly see which toggles are enabled.
08—10
3 capabilities in this set.
Part of 10 available through PostHog.
- 08 Capability
List insights
Use list_insights to pull up your saved insights. This lets you grab data on funnels and retention quickly.
- 09 Capability
List persons
Use list_persons to find identified users in your project. This is useful to look at specific user behavior patterns.
- 10 Capability
List experiments
Use list_experiments to see all active and past experiments. This helps you track long-term product improvements.
Set up in minutes
One URL. Then ask PostHog to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use PostHog from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it PostHog, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable PostHog for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the PostHog URL.
- Step 03
Save and start
Save the connection and enable PostHog in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"posthog": {
"url": "https://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using PostHog
Open Agent mode in chat and ask: "Using PostHog, help me...". 10 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"posthog": {
"url": "https://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using PostHog
Ask Copilot: "Using PostHog, help me...". 10 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"posthog": {
"url": "https://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using PostHog
Open Cascade and ask: "Using PostHog, help me...". 10 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"posthog": {
"url": "https://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using PostHog
Ask Cline: "Using PostHog, help me...". 10 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add posthog --transport http "https://edge.vinkius.com/vk_preview_vpYk0NiKfoRYdh0mOuVMNfGBNKFlD4K0TVsVAy1i/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using PostHog
Ask Claude: "Using PostHog, show me...". 10 tools are ready
Where the request belongs
Work PostHog can move forward.
This is for the product person who is tired of clicking through complex dashboards to find a single data point. It's for the engineer who needs to verify a rollout status in seconds.
Product Manager
Checks if a new feature flag is live and reviews the results of recent insights during standups.
Growth Engineer
Monitors active experiments and user properties while rolling out new code to production.
Data Analyst
Audits recent event logs and person metadata to ensure data integrity without manual exports.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsPostHog
Manage product analytics and feature flags via PostHog. query events, inspect cohorts, toggle flags and create annotations from any AI agent.
Amplitude
Analyze product data via Amplitude. get user activity, calculate retention, analyze funnels, and track revenue directly from any AI agent.
Heap
Automate product analytics via Heap. track events, identify users, and manage segments directly from any AI agent.
Gainsight PX
Manage product experience, track user behavior, and oversee engagements via AI agents with Gainsight PX.
Countly
Manage product analytics via Countly. track user sessions, record custom events, and query deep behavioral metrics directly from your AI agent.
Mixpanel (Event Analytics & Insights)
Manage product analytics via Mixpanel. query event trends, track conversion funnels, and audit user cohorts.
Bring your own AI
Change the model, client or framework. Keep PostHog connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about PostHog.
The practical details behind the request, access and result.
How can I use PostHog with my AI agent for analytics?
You can connect your PostHog project to your AI client using this Connector. It allows your agent to query your data, check feature flags, and list user properties using natural language commands.
Can the PostHog MCP help me manage feature flags?
Yes, it can. You can ask your agent to list all your feature flags or check the status of a specific one to see if it is currently enabled or disabled.
Is it possible to see user behavior in PostHog using an AI agent?
Yes, the Connector allows your agent to list identified persons and retrieve their specific properties. This helps you understand individual user actions and behavior patterns.
Can I use this Connector to check if my tracking is working?
You can ask your agent to list the most recent events from your project. This is a quick way to verify that your tracking code is firing and capturing data correctly.
What kind of product insights can I get with PostHog and an AI agent?
You can retrieve saved insights regarding trends, funnels, and retention. Your agent can pull these up instantly so you don't have to build new reports every time.
Does the PostHog MCP support experiment monitoring?
Yes, it can list all active and past experiments. This makes it easy to review your A/B test results and product improvements through a simple chat interface.
Where do I find my Project ID?
You can find your Project ID in PostHog under Project Settings. It is a numeric ID usually found at the top of the settings page.
Does this support PostHog EU instances?
Yes! Use the optional POSTHOG_HOST credential and set it to https://eu.posthog.com. By default, it uses the US host (https://app.posthog.com).
Can I see individual user properties?
Absolutely. Use the get_person capability with a Person ID to retrieve all properties, tags, and identification metadata for a specific user.
One connection away
Give your agent a direct line to PostHog.
Connect PostHog once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available