---
ref: tool:amplitude/query-analytics
name: Query product analytics
company: company:amplitude
workflows: [workflow:product-qualified-expansion]
access: [mcp]
tags: [capability:analyze-product-usage, category:product-analytics, has:mcp]
docs: https://amplitude.com/docs/amplitude-ai/amplitude-mcp
updated: 2026-09-29
---

# Query product analytics

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

Note: Call `get_amplitude_context` with the project id first, so the query uses the project's time zone and metric definitions.

## 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.

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

Call the MCP tool `query_amplitude_data`.

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

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
