Bring Product Analytics
to Claude Code
Create your Vinkius account to connect PostHog Alternative to Claude Code and start using all 13 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the PostHog Alternative MCP Server?
Connect your PostHog account to any AI agent and gain full control over your product analytics, feature flags and user cohorts through natural conversation.
What you can do
- User & Project Discovery — Verify your account access and list all analytics projects
- Feature Flag Management — List, create, update and delete feature flags with rollout configuration
- Cohort Inspection — Review all behavioral cohorts and their filter definitions
- Person Analytics — Look up individual users by distinct ID, view their properties and activity timeline
- Event Tracking — Browse recent events, filter by event type and inspect event properties
- Timeline Annotations — Create and review annotations that correlate metric changes with deployments or launches
How it works
- Subscribe to this server
- Enter your PostHog Personal API Key
- Start managing your product analytics and feature flags from Claude, Cursor, or any MCP-compatible client
Stop switching between PostHog dashboards to check flag status or review event data. Your AI acts as a dedicated product analytics engineer.
Who is this for?
- Product Managers — audit feature flag rollout percentages, review cohort definitions and create annotations for launches
- Developers — toggle feature flags, inspect event payloads and verify person properties without opening the PostHog UI
- Data Analysts — browse recent events, review person profiles and cohort membership for analysis
Built-in capabilities (13)
Annotations appear on insights graphs and help correlate metric changes with deployments, launches or incidents. Requires the content text. Optionally set a date_marker (ISO 8601 date). Create a new annotation in PostHog
Requires the flag key (unique identifier). Optionally set the name, description, enabled status, rollout percentage and filters. The key must be unique across all flags in the project. Create a new PostHog feature flag
All targeting conditions, release conditions and experiment data associated with the flag will be deleted. Provide the numeric flag ID. WARNING: this action is irreversible. Delete a PostHog feature flag
Provide the numeric flag ID from list_feature_flags. Get details for a specific PostHog feature flag
Provide the distinct_id used to identify the person. Get details for a specific person in PostHog
Returns user ID, email, name, organization membership and permissions. Use this to verify your API key is working and check your access level. Get the current PostHog user details
Annotations are markers on timeline graphs that highlight important events like deployments, feature launches or incidents. Returns annotation ID, content, date marker and whether it is pinned. List annotations in PostHog
Each cohort is a dynamic group of users defined by event-based or property-based filters. Returns cohort ID, name, description, whether it is calculated or static. List behavioral cohorts in PostHog
Optionally filter by event name (e.g. "pageview", "signup", "purchase") and set a limit. Each event includes the event name, timestamp, person distinct ID and properties. List events tracked in PostHog
Each flag has a key, name, enabled status, rollout percentage, filters and release conditions. Returns flag ID, key, name, whether it is active, and the targeting configuration. Use this to audit feature flag coverage. List all feature flags in PostHog
Each person has distinct IDs, properties, creation date and last event timestamp. Optionally set limit (default 20) and offset for pagination. List persons (users) tracked in PostHog
Each project is an analytics workspace with its own events, persons, feature flags and cohorts. Returns project ID, name, organization and creation date. List PostHog projects
Provide the flag ID and any fields to change: name, description, enabled status. Only the fields you provide will be updated. Update an existing PostHog feature flag
Why Claude Code?
Claude Code registers PostHog Alternative as an MCP server in a single terminal command. Once connected, Claude Code discovers all 13 tools at runtime and can call them headlessly. ideal for CI/CD pipelines, cron jobs, and automated workflows where PostHog Alternative data drives decisions without human intervention.
- —
Single-command setup:
claude mcp addregisters the server instantly. no config files to edit or applications to restart - —
Terminal-native workflow means MCP tools integrate seamlessly into shell scripts, CI/CD pipelines, and automated DevOps tasks
- —
Claude Code runs headlessly, enabling unattended batch processing using PostHog Alternative tools in cron jobs or deployment scripts
- —
Built by the same team that created the MCP protocol, ensuring first-class compatibility and the fastest adoption of new protocol features
PostHog Alternative in Claude Code
Why run PostHog Alternative with Vinkius?
The PostHog Alternative connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 13 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect PostHog Alternative using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
PostHog Alternative and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect PostHog Alternative to Claude Code through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
PostHog Alternative for Claude Code
Every request between Claude Code and PostHog Alternative is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
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.
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.
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.
Can I use this with a self-hosted PostHog instance?
Yes! The tools 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.
How do I add an MCP server to Claude Code?
Run claude mcp add <name> --transport http "<url>" in your terminal. Claude Code registers the server and discovers all tools immediately.
Can Claude Code run MCP tools in headless mode?
Yes. Claude Code supports non-interactive execution, making it ideal for scripts, cron jobs, and CI/CD pipelines that need MCP tool access.
How do I list all connected MCP servers?
Run claude mcp in your terminal to see all registered servers and their status, or type /mcp inside an active Claude Code session.
Command not found: claude
Ensure Claude Code is installed globally: npm install -g @anthropic-ai/claude-code
Connection timeout
Check your internet connection and verify the Edge URL is reachable
Explore More MCP Servers
View all →
HeyGen
12 toolsCreate AI-generated videos with realistic digital avatars that speak in any language for training, marketing, and communication.

Crelate Talent CRM
10 toolsEquip your AI agent to manage candidates, jobs, and client companies directly via the Crelate API.

Umeng / 友盟+
10 toolsLeading mobile analytics and push notification platform in China — manage campaigns and audit performance via AI.

Región de Murcia Datos Abiertos
7 toolsAccess the official open data portal of the Region of Murcia (Spain) to query datasets, organizations, and public statistics.
