All tools

Query product analytics

Runs an ad-hoc event segmentation, funnel or retention query and returns the results.

View on GitHub
Updated Sep 27, 2026Available asMCP

Description

Call `get_amplitude_context` with the project id first, so the query uses the project's time zone and metric definitions. The tool works in two modes: discover what can be queried, then execute the query.

query-analytics.md

Query product analytics

Runs an ad-hoc event segmentation, funnel or retention query and returns the results.

Call get_amplitude_context with the project id first, so the query uses the project's time zone and metric definitions. The tool works in two modes: discover what can be queried, then execute the query.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "amplitude": { "url": "https://mcp.amplitude.com/mcp" } } }

Call the MCP tool query_amplitude_data.

Server URL: https://mcp.amplitude.com/mcp

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remotequery_amplitude_dataOAuthDocs

Workflows using Query product analytics