Webclat logoWebclat . | Amplitude Solutions

Guide - warehouse-native

Amplitude warehouse metrics and the Data Warehouse MCP server

What it is, when you actually need it, how to implement it without the common mistakes, and how to confirm it worked.

In short

Amplitude lets you define metrics directly on top of warehouse tables - a single governed calculation (like activation rate or net revenue retention) that multiple charts and dashboards reuse instead of each one recalculating its own version - and separately exposes a Data Warehouse MCP server so AI agents (including Amplitude's own and general-purpose ones connected via the Model Context Protocol) can query that same warehouse data through a controlled interface rather than raw database access.

What it is

Warehouse metrics are named, reusable calculations defined once against your warehouse tables - the same idea as a metric layer in a modern data stack - so that "activation rate" or "weekly active users" means the same thing everywhere it's used inside Amplitude, instead of getting redefined slightly differently in every chart that needs it.

The Data Warehouse MCP server is a separate but related capability: Model Context Protocol is an open standard for letting AI tools query external data sources through a defined, permissioned interface rather than raw credentials. Amplitude's MCP server for warehouse data lets an AI agent (Amplitude's own AI features, or a third-party agent someone connects) ask questions against your warehouse-native metrics without that agent needing direct warehouse access.

When you need it

Implementation, done properly

  1. Inventory the metrics that actually have competing definitions across your dashboards before building anything - the value of a metrics layer is consolidation, and consolidating without first finding where the definitions actually diverge just adds a new layer on top of the old confusion.
  2. Define each metric's calculation once, at the warehouse-metrics layer, with clear ownership (a named person or team responsible for the definition) - the same governance discipline a tracking plan needs for events applies here to metrics.
  3. Where the Data Warehouse MCP server is in scope, treat its access scoping deliberately: decide which metrics and tables an AI agent is permitted to query before connecting anything, the same way you'd scope a service account's database permissions - broad, ungoverned access defeats the purpose of a controlled interface.
  4. Test the MCP connection with a narrow, known question first (a metric you can verify by hand) before trusting it for open-ended exploratory queries - an AI agent given warehouse access can construct a technically-valid but analytically-misleading query if the underlying metric definitions aren't precise enough to constrain it.
  5. Document both layers together: which metrics exist, what they mean, and which are exposed to AI-agent queries versus human-only dashboard use - this pairing (metric governance plus access governance) is what keeps an MCP-connected warehouse from becoming a way to accidentally bypass the same discipline your tracking plan enforces elsewhere.

How to verify it worked

  1. Pick one warehouse metric, calculate it independently with a direct SQL query against the warehouse, and confirm it matches what Amplitude's charts display for the same metric and time window - the standard sanity check for any metrics-layer claim.
  2. Confirm every dashboard that's supposed to be using the shared metric definition actually is - check for a lingering dashboard-local calculation that was never migrated over, which would keep producing the exact inconsistency the metrics layer was built to eliminate.
  3. For the MCP server: ask the connected AI agent a question with a verifiable, known answer, and confirm its response matches - then ask a slightly ambiguous follow-up question and check whether it asks for clarification or silently guesses at intent, since silent guessing is the failure mode most likely to produce a confidently wrong answer.
  4. Review the MCP server's access logs (if available) periodically to confirm the queries an agent is actually running stay within the scope you intended when you set up the connection - access scoping decided once at setup can drift in practice as new use cases get added informally.

Related: Warehouse-native Amplitude: how it works · Amplitude AI agents: what they do and when to use them · North star metric, defined

Frequently asked questions

Is the Data Warehouse MCP server the same thing as Amplitude's other AI agent features?+

They're related but distinct: the MCP server is specifically the connectivity layer that lets an AI agent query warehouse data through Amplitude, while Amplitude's broader AI agent features (a dashboard agent, a custom-agent framework, and others) are the products that can consume that connectivity, among other data sources. Check current documentation for exactly which agents use the MCP path versus Amplitude's native event store.

Does defining a warehouse metric in Amplitude change the underlying warehouse tables?+

A metric definition is a calculation layered on top of existing tables, not a modification to them - it should not alter your warehouse's underlying data, but the exact mechanics (whether it materializes anything, and where) are worth confirming against current documentation, especially if your warehouse has strict change-control processes.

Other guides

Get a free, scored audit of your Amplitude instance

Send us read-only access and get a scored findings report within 48 hours: taxonomy health, duplicate events, governance gaps, and the three fixes with the highest data-trust payoff. No commitment.

Request the free audit