
Connect PostHog (Alternative) to ChatGPT, Claude and Gemini
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Manage flags and user data without leaving your IDE.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 13 capabilities
We ship only the actions that matter.
01-04
4 capabilities in this set.
Part of 13 available through PostHog.
- 01
Create annotation
Creates a new annotation in PostHog to mark specific moments in time. Use this to link metric changes to deployments or launches on your insight graphs.
- 02
Create feature flag
Sets up a new feature flag in your project. You can define the unique key, rollout percentage, and targeting filters.
- 03
Get feature flag
Retrieves the specific configuration and status for a single feature flag using its ID.
- 04
Get user
Fetches details for the current PostHog user, including email, name, and permissions.
05-07
3 capabilities in this set.
Part of 13 available through PostHog.
- 05
List feature flags
Returns a list of all feature flags in the project, including their active status and rollout settings.
- 06
Update feature flag
Modifies an existing feature flag's name, description, or enabled status.
- 07
List cohorts
Provides a list of all behavioral cohorts and their filter definitions.
08-10
3 capabilities in this set.
Part of 13 available through PostHog.
- 08
Delete feature flag
Permanently removes a feature flag and all its associated targeting and experiment data.
- 09
List annotations
Lists all existing annotations used to highlight events like incidents or launches on timeline graphs.
- 10
List persons
Retrieves a list of tracked users, including their properties and last active timestamps.
11-13
3 capabilities in this set.
Part of 13 available through PostHog.
- 11
Get person
Fetches the full profile and activity details for a specific user via their distinct ID.
- 12
List events
Shows recent events tracked in PostHog, with options to filter by specific event names.
- 13
List projects
Returns a list of all analytics workspaces and projects within your PostHog account.
Real work
What teams actually run
Debugging Feature Rollouts
Check if a specific feature flag is active for a user segment without opening a browser.
User Troubleshooting
Pull up a specific user's event timeline to see why a certain action failed.
Release Management
Create annotations immediately after a deployment to track its impact on metrics.
Cohort Auditing
Verify the filter definitions of behavioral cohorts to ensure they are targeting the right users.
Automate a task
Put PostHog to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
PostHog works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put PostHog to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
905ms average. Fast in production.
PostHog is checked daily against the live service.
- Fastest day
- 761ms
- Slowest day
- 1134ms
- 14-day trend
- Slowing+11%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 13 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of PostHog, so you can see the experience inside your AI.
It does not authenticate your account with PostHog. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
PostHog Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_8VcsMkOZnGEFbUxwKe3mMQLdbs42FUTalA4xKqKJ/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — PostHog capabilities are ready to use.
{
"mcpServers": {
"posthog-alternative-mcp": {
"url": "https://edge.vinkius.com/vk_preview_8VcsMkOZnGEFbUxwKe3mMQLdbs42FUTalA4xKqKJ/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up PostHog in Claude and other AIs
Who it's for
Built for the work PostHog owners hand off.
This MCP is built for technical teams who need to interact with product data without leaving their development environments.
- 01
Product Managers
Audit feature flag rollouts and create deployment annotations.
- 02
Developers
Toggle flags and inspect event payloads directly from the IDE.
- 03
Data Analysts
Review person profiles and cohort membership for deeper analysis.
FAQ
Questions PostHog owners ask.
- 01
How do I connect this MCP to my PostHog account?
You need to provide your PostHog Personal API Key during the setup process on Vinkius. Once connected, you can use it in any MCP-compatible client.
- 02
Can I use this with Cursor or VS Code?
Yes. This MCP works with any compatible client, including Cursor, VS Code, and Claude.
- 03
Is it safe to manage feature flags through an AI agent?
The agent uses your PostHog API key to perform actions. You maintain full control over which capabilities the agent can invoke.
- 04
What happens if I delete a feature flag through the agent?
Deleting a feature flag is irreversible. It removes all associated targeting conditions, release conditions, and experiment data.
- 05
Can I see specific user properties?
Yes. You can use the agent to look up individual users and view their specific properties and activity timelines.
- 06
How do I create a PostHog Personal API Key?
Log in to PostHog, click your profile icon > Personal API keys, then + Create a Personal API Key. Give it a label, select the required scopes and copy the key immediately. it won't be shown again after page refresh.
- 07
Can I toggle feature flags via the agent?
Yes! Use create_feature_flag to add new flags, update_feature_flag to modify existing ones (name, description, enabled status), and delete_feature_flag to remove them. You'll need the numeric flag ID from list_feature_flags for update and delete operations.
- 08
What's the difference between events and persons?
Events are actions that happen in your product (pageviews, button clicks, purchases). Persons are the users who perform those actions, identified by distinct_id. Events are linked to persons, so you can see what actions a specific user has taken. Use list_events to browse activity and get_person to see a user's profile.
- 09
Can I use this with a self-hosted PostHog instance?
Yes! The capabilities default to https://app.posthog.com for the US cloud, but you can set the host parameter to your self-hosted instance URL (e.g. https://posthog.yourcompany.com). EU cloud users should set the host to https://eu.posthog.com.
Explore
More in Loved By Devs
Mixpanel (Event Analytics & Insights) AI Connector
Manage product analytics via Mixpanel — query event trends, track conversion funnels, and audit user cohorts.
ViewPostHog AI Connector
Analyze product data via PostHog — list insights, track persons, inspect feature flags, and monitor experiment
ViewFullStory AI Connector
Manage digital experience intelligence, track users, and retrieve session data via AI agents with FullStory.
ViewCountly AI Connector
Manage product analytics via Countly — track user sessions, record custom events, and query deep behavioral me
View
Suggestions
Heap AI Connector
Automate product analytics via Heap — track events, identify users, and manage segments directly from any AI a
ViewAmplitude AI Connector
Track user behavior, analyze product metrics, and manage cohorts directly from your AI agent using Amplitude's
ViewGainsight PX AI Connector
Manage product experience, track user behavior, and oversee engagements via AI agents with Gainsight PX.
ViewEventMobi Experience AI Connector
Equip your AI agent to manage event apps, track attendee engagement, and monitor sessions via the EventMobi AP
View
Connect PostHog to Claude, Cursor, ChatGPT & more
