Metabase MCP
Security scan passedLets your agent search, query and chart the data in your own Metabase, and build questions and dashboards with your permissions.

Lets your agent query your PostHog analytics, triage errors, and create feature flags and experiments from plain-language asks.
by posthog· Data & analyticsUnclaimed · Yours? Claim it
4 images
About
PostHog's own hosted MCP server. It gives your agent PostHog's products as tools, so you can ask about your product data, dig into errors and logs, and create feature flags, experiments, dashboards and surveys in plain words. Connecting and calling its tools is free; standard PostHog usage and billing apply to the data your queries use. What you can do with it - Ask analytics questions and get answers from real trends, funnel, paths and retention queries, or run SQL (HogQL) - Find your top errors, pull full stack traces and propose fixes, then resolve issues and set assignment rules - Search logs and check ingestion warnings to see why events were dropped - Create and roll out feature flags, multivariate flags, A/B experiments and early access features - Build dashboards, insights, cohorts, surveys and notebooks - Set up CDP destinations and workflows, such as a Slack message when someone signs up - Triage support tickets, act on change requests, set reminders and search PostHog's docs How it connects PostHog hosts it at https://mcp.posthog.com/mcp. Sign in with OAuth, PostHog's recommended way, and it routes you to your US or EU data region based on your account. If your agent doesn't support OAuth, use a personal API key made with the MCP Server preset as a bearer token. PostHog's wizard (npx @posthog/wizard mcp add) installs it in Claude Code, Claude Desktop, Cursor, Codex, VS Code and Zed, and it's in Claude's connectors directory. PostHog also documents setup for Windsurf, Lovable, Replit and v0. Good to know - Add ?readonly=true to the address to expose only tools that read, never ones that create, update or delete. - Use ?features= or ?tools= to limit it to particular products or tools, and pin it to one organization or project with headers or query parameters. - Most agents see a single exec tool that finds and runs PostHog's tools on demand, which saves context; Cursor gets every tool individually. Add ?mode=tools or ?mode=cli to choose. - Some tools use LLMs and count as PostHog AI spend; they only appear when AI data processing is enabled for your organization. - PostHog advises reviewing tool calls before they run, because of prompt injection. - PostHog also offers a plugin for Claude Code, Codex, Cursor and Gemini CLI that adds slash commands on top of this server.
Once it’s added
“What are the top 5 errors in my project this week?”
“Show me the full stack trace for the most recent crash, then propose a fix.”
“How many unique users signed up in the last 7 days, broken down by day?”
“Create a feature flag called new-checkout-flow enabled for 20% of users.”
Before you add it
Reads only
Trends, funnels, paths and SQL (HogQL) queries · Errors, stack traces and logs · Feature flags, experiments, dashboards and surveys · PostHog's docs
Makes changes · your agent can ask first
Creates and changes feature flags, experiments and early access features · Builds dashboards, insights, cohorts and surveys · Resolves and assigns error-tracking issues · Sets up CDP destinations and workflows
No changes at all? Connect to https://mcp.posthog.com/mcp?readonly=true instead: it only ever offers the tools that read.
From people who use it
Step by step
Nothing new reaches your agent until a person has looked at it.
Plugins people install alongside PostHog MCP.
No reviews yet. Used PostHog MCP? Say how it went.
Write a reviewA hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
Add to VS Codecopilot mcp add --transport http --header 'Authorization: <Authorization>' posthog-mcp https://mcp.posthog.com/mcp
A hosted server: nothing runs on your machine.
Add to Cursor.cursor/mcp.json{
"mcpServers": {
"posthog-mcp": {
"url": "https://mcp.posthog.com/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}A hosted server: nothing runs on your machine.
claude mcp add --transport http --header 'Authorization: <Authorization>' posthog-mcp https://mcp.posthog.com/mcp
A hosted server: nothing runs on your machine.
codex mcp add posthog-mcp --url https://mcp.posthog.com/mcp
A hosted server: nothing runs on your machine.
~/.gemini/config/mcp_config.json{
"mcpServers": {
"posthog-mcp": {
"url": "https://mcp.posthog.com/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}A hosted server: nothing runs on your machine.
gemini mcp add --transport http --header 'Authorization: <Authorization>' posthog-mcp https://mcp.posthog.com/mcp
A hosted server: nothing runs on your machine.
A hosted server: nothing runs on your machine.
openclaw mcp add posthog-mcp --url https://mcp.posthog.com/mcp --transport streamable-http
A hosted server: nothing runs on your machine.
opencode mcp add posthog-mcp --url https://mcp.posthog.com/mcp
A hosted server: nothing runs on your machine.
hermes mcp add posthog-mcp --url https://mcp.posthog.com/mcp
~/.hermes/config.yaml{
"mcp_servers": {
"posthog-mcp": {
"url": "https://mcp.posthog.com/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}AuthorizationRequiredSecretBearer token with your PostHog personal API key. Create one at https://us.posthog.com/settings/user-api-keys with the 'MCP Server' preset.Replace each <NAME> placeholder with your own value.
Scanned and passed · checked 8 h ago
Plugins people install alongside PostHog MCP.
Lets your agent search, query and chart the data in your own Metabase, and build questions and dashboards with your permissions.
Equips your coding agent with a data engineer, pipeline commands and skills for Airflow, dbt, Spark and data quality.
Data analytics skills for product managers: SQL from plain English, cohort retention analysis and A/B test reads with a ship-or-stop call.
Nobody has shared how they use PostHog MCP yet.
“Create an A/B test for our pricing page that measures conversion to checkout.”
“Create a Slack destination that sends a message when users sign up.”
Scanned on every change, and again when our rules improve.
Tell us and a person on the trust team will look at it. Or email [email protected].
Security scan
Passed
Safe to install in every agent it supports. Runs remotely on mcp.posthog.com · needs your sign-in.