Ask questions.
Get answers.
We don't think the future has a UI. So we built one without one.

What is the PostHog MCP?
The MCP is a server your coding agent talks to. Ask a question in English. It runs the query against your PostHog data. The answer lands in your editor. No SQL. No dashboards. No tabs full of charts you forgot you opened.
Try things like:
- "How many unique users signed up in the last 7 days, broken down by day?"
- "Create an A/B test for our pricing page that measures conversion to checkout."
- "What are the top 5 errors in my project this week?"
Here's
Matt Brooker
Matt Brooker explaining the PostHog MCP server.
Lives in your editor
Cursor, Claude, Codex, Zed, VS Code, PostHog Code. Wherever you already work.
Speaks plain English
You ask the question. The MCP figures out the query and answers it.
Costs nothing to use
It doesn't show up on your PostHog bill. Not even on the free plan.
What does the MCP actually do?
Your agent picks the right tool from more than 50 available options, and runs it. You don't even need to know what's setup; the MCP does it for you (and asks for help if needed).
- Run funnels
- Pull errors by occurrence
- Write the SQL
- Spin up an experiment
- Toggle a feature flag
- Create a cohort
- Build a survey
- Check your logs
- Find that one weird replay
- Remembers your event taxonomy better than you
You don't need to use PostHog to use PostHog
PostHog has a lot of tools. We know — we built them. We also kept hearing the same thing: the UI is overwhelming, and most people only use a fraction of what's actually there.
Even our own marketing team can't keep up with how fast we ship.
We could have run a campaign telling you the UI is fine. We could have A/B tested a new sidebar every week. We did neither, because we don't think the future has a UI at all.
That's where the MCP comes in.
"But I like the PostHog UI."
Then carry on. It's not going anywhere. And while you're in there, tell
Adam Leith
Adam Leith — he'll be thrilled.
Maya
@productpilled
"I just spent 20 minutes trying to find where to add a property filter. I'm a senior engineer."
Dan
u/dashboardregret
"The PostHog UI has, conservatively, 14,000 menus."
Sam
@phdrequired
"PostHog is great if you have 6 hours and a PhD in product analytics."
Jess
u/tabhoarder
"I have 14 PostHog tabs open. I do not know why."
Where does the MCP run?
We know which code editor we prefer, but the MCP is flexible to most common tools.
Paste the error. Type `debug`. That's it.

Install the MCP
One command. Thirty seconds. Works in Cursor, Claude, Codex, PostHog Code, and friends.