Query product data from Claude Code
How to Use Amplitude MCP With Claude Code
Use Amplitude MCP with Claude Code to query funnels, cohorts, and experiments from your terminal in plain language.
The Amplitude MCP server lets Claude Code query your Amplitude product data, including funnels, cohorts, charts, and experiments, in plain language directly from the terminal. Instead of switching to a browser to build a chart, you ask Claude Code a question and it answers using your real behavioral data.
This guide focuses on what you can actually do with Amplitude MCP inside Claude Code, the workflows it unlocks, and how the connection works at a high level. For the exact setup commands, it points you to the official docs so you always follow the current steps.
What is Amplitude MCP
Amplitude MCP is a server that exposes your Amplitude data to AI tools through the Model Context Protocol, an open standard for connecting AI assistants to external systems. Once connected, an assistant like Claude Code can read and work with your product analytics, so you can ask for a funnel or a retention cohort and get an answer grounded in your real behavioral data.
Because it uses an open protocol, the same Amplitude MCP server works across MCP-compatible clients, including Claude Code, the Claude desktop app, Cursor, and Codex. The workflows below use Claude Code, but the capabilities carry over to the other clients.
What you can do with Amplitude MCP in Claude Code
Once connected, you can ask Claude Code to query and build Amplitude analyses for you in plain language, so you describe the outcome you want instead of clicking through a builder. Here are the workflows that get the most use.
- Investigate a metric change without leaving your editor. Ask why activation dropped last week while you are in a project, and Claude Code pulls the funnel and the segments behind the change so you can act on it in the same session.
- Build funnels and cohorts on demand. Ask for a signup-to-activation funnel for the last 30 days, or a cohort of users who completed onboarding, and get the analysis back in the conversation.
- Read experiment results in context. Ask how a recent experiment performed and get the variant comparison and metric lift, so you can decide whether to ship, iterate, or stop.
- Summarize a dashboard before a meeting. Ask Claude Code to summarize a dashboard and turn a wall of charts into a few sentences you can share.
- Check event volume and data quality. Ask it to flag spikes or drops in event volume that suggest a broken implementation, which is useful right after a release.
Because these queries run against Amplitude Analytics, the answers reflect the same governed metrics your team already uses, and you can go deeper with AI Agents for natural-language analysis across the platform.
Why use Amplitude MCP with Claude Code
Using Amplitude MCP with Claude Code keeps product analysis in the same place you write code, which removes the context switch between your editor and the Amplitude UI. For engineers and analysts who work in the terminal, that means answering data questions without breaking flow, and without generating or rotating API keys, since the connection uses OAuth.
The practical payoff is speed. A question that used to mean opening a browser, building a chart, and filtering by segment becomes a single prompt in the tool you already have open, with the answer grounded in governed data rather than a guess.
How the connection works
Connecting Amplitude MCP to Claude Code takes about two minutes: you add the Amplitude MCP server to Claude Code, start a session, and authenticate with Amplitude through an OAuth flow. There are no API keys to create, and customers on the EU data center use a region-specific endpoint.
Because the exact commands and endpoints can change, follow the current steps in the official documentation rather than copying a static list: the Amplitude MCP overview and the Claude Code setup guide. After connecting, you can confirm it worked by asking Claude Code which Amplitude projects you can access.
Extend it with the Amplitude MCP marketplace
You can extend the server with the Amplitude MCP marketplace, the official open-source plugin repository that adds reusable commands and skills for Claude Code. It is optional, but it speeds up common tasks like creating charts, building dashboards, and instrumenting events, with commands that run directly in your Claude Code session.
Skills from the marketplace activate automatically based on your request, so asking a question like why a metric spiked can trigger the relevant analysis skill without manual setup. The marketplace install steps live alongside the rest of the setup in the Amplitude MCP documentation.
Security and permissions
The Amplitude MCP server inherits the permissions of the user who authenticates, so it can only read or modify the projects you already have access to in Amplitude. Connecting through Claude Code grants no additional access. Because authentication uses OAuth, there are no long-lived API keys to store, share, or rotate, which keeps the surface area small.
Start querying your product data from the terminal
Amplitude MCP turns Claude Code into a direct line to your product data, so you can move from a question to an answer without leaving your editor or managing API keys. Connect it once, ask in plain language, and keep the analysis next to the code you are already writing.
If you do not have an account yet, you can connect the MCP server as soon as you sign up. Try Amplitude for free today.
Frequently asked questions about Amplitude MCP
Amplitude MCP is a server that exposes your Amplitude product data to AI tools through the Model Context Protocol. It lets assistants like Claude Code query funnels, cohorts, charts, and experiments from your terminal, grounded in your real behavioral data, using an OAuth connection rather than API keys.
Amplitude MCP connects to your existing Amplitude account, so access follows your current plan and permissions. Amplitude offers a free Starter plan with 10K MTUs and up to 2M events, and the MCP server works with the projects your account can already see.
Yes. Customers on the EU data center connect to the EU MCP endpoint instead of the default one. The rest of the setup, including the OAuth authentication flow and verification step, is the same.
The server inherits the Amplitude permissions of the user who authenticates. It can only read or change projects you already have access to, and it grants no extra access. Authentication uses OAuth, so there are no API keys to manage.
Yes. Because it uses the Model Context Protocol, the same server works with other MCP-compatible clients, including the Claude desktop app, Cursor, and Codex. The connection method varies slightly by client, so check the Amplitude docs for the steps specific to each one.