Set up Amplitude in Metorial for Claude, ChatGPT and Cursor
Share Amplitude with your team in Claude, ChatGPT and Cursor through Metorial: API key + secret key sign-in, 35 tools (29 read-only).
To give your team Amplitude in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Amplitude integration in a Metorial portal, and each person connects with an API key + secret key. Ingest events, query analytics, download exports, and manage cohorts, taxonomy, user properties, annotations, and privacy requests through Amplitude REST APIs. The integration has 35 tools, 29 read-only, 1 write and 5 destructive, plus 1 trigger.
What you'll learn
- How an admin shares Amplitude in a portal and how each person connects
- What Amplitude asks for when you connect, and where to find it
- How to keep the 29 read-only tools and reject the other 6
Before you start
- A portal with at least one access group
- An API key + secret key from Amplitude for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| API Key + Secret Key (default) | Custom credentials | apiKey and secretKey |
Also available: Amplitude OAuth.
The portal and metorial setup use API Key + Secret Key unless someone picks another method.
API Key + Secret Key
To connect, a person enters these values:
apiKey: Amplitude project API Key. Found under Organization Settings > Projects.secretKey: Amplitude project Secret Key. Found under Organization Settings > Projects.
Setup settings
Setup also asks for:
region(optional): Data residency region. US uses amplitude.com, EU uses analytics.eu.amplitude.com. One of "US", "EU".
Admin: share Amplitude in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Amplitude. Under Auth Method, keep API Key + Secret Key or pick another. For how members connect, choose Each person connects so everyone enters their own API key + secret key, or Shared connection to enter one API key + secret key for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Amplitude.
Choose who gets it
Add the access groups that should see Amplitude. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Amplitude integration. Once it exists, check which groups have it:
Employee: connect Amplitude
In the portal
Open Amplitude in the catalog
Sign in to your portal and open Amplitude. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your API key + secret key (apiKey and secretKey).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses API Key + Secret Key. To connect with Amplitude OAuth instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Amplitude connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 29 read-only tools, such as search and get_flags, and lose the write tool track_events, and the 5 destructive tools, such as identify_user or manage_cohorts.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 35 tools, minus any you rejected. get_user_profile takes no input. It retrieves an Amplitude user profile including user properties, computed properties, and synced cohort memberships.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (29)
Show all 29 read-only tools
get_chart_results: Download results from a saved Amplitude chart by its chart ID. NeedschartId.get_user_profile: Retrieve an Amplitude user profile including user properties, computed properties, and synced cohort memberships.query_event_segmentation: Analyze event data with segmentation, filtering, and grouping. Needsevents,startandend.query_user_composition: Analyze the distribution of a user property across your active users. Needsproperty,startandend.query_sessions: Retrieve session metrics including session length distribution, average duration in seconds, and average sessions per user over a date range. Needsmetric,startandend.query_active_users: Retrieve daily, weekly, or monthly active and new user counts for the project already selected by the API-key connection. Needsstartandend.query_funnel: Analyze conversion funnels to understand how users progress through a sequence of events. Needsevents,startandend.query_retention: Analyze user retention to understand how well users are retained over time after performing a starting event. NeedsstartEvent,returnEvent,startandend.export_events: Export Amplitude raw event files for an uploaded-time range as a downloadable ZIP file. Needsstartandend.create_notebook_report: Create a downloadable HTML notebook with ordered narrative sections from 1–10 saved Amplitude charts using OAuth.get_flags: List feature flags or read one by ID.search: Search charts, raw events, event/user properties, or flags using OAuth and a project ID from get_amplitude_context.get_properties: List, search, or retrieve event and user property metadata with OAuth or project API keys.query_amplitude_data: Compute analytics results for an existing saved chart using Amplitude OAuth.query_experiment: Reconstruct a descriptive control-versus-treatment conversion comparison from explicit exposure and outcome events.get_experiments: List experiments and their configuration, or retrieve one by ID.manage_amp_events: Read or search raw event definitions using OAuth or project API keys.get_amplitude_context: Discover your authenticated user, organization, and accessible projects using Amplitude OAuth.get_amplitude_charts: List or search saved charts in an OAuth-accessible project, or retrieve one chart by ID.get_deployments: List deployments shared by Amplitude flags and experiments.create_dashboard_report: Create a downloadable HTML dashboard with chart cards from 1–10 saved Amplitude charts using OAuth.get_user_activity: Read a user summary and ordered event history using an Amplitude ID from search_users.list_session_replays: Discover session replay IDs and metadata in the connected project, optionally by time or an Amplitude ID from search_users.export_cohort_members: Start a downloadable cohort membership export with a cohortId from manage_cohorts, or resume an existing export with requestId.query_realtime_users: Retrieve today and yesterday active-user time series in five-minute buckets, preserving provider labels and missing values.search_users: Find users by user ID, device ID, Amplitude ID, or user ID prefix and return Amplitude IDs for activity and replay lookup.check_chart_threshold: Run one saved Amplitude chart query with OAuth and compare one explicitly selected numeric point against a threshold.query_revenue_ltv: Query observed revenue lifetime value by new-user acquisition cohort: ARPU, ARPPU, total revenue, or paying users.export_session_replay: Download one ordered page of gzip-compressed version 3 rrweb JSON chunks and a JSON manifest for a replay discovered with list_session_replays.
Write tools (1)
track_events: Send one or more events to Amplitude for analytics tracking with user properties, event properties, revenue data, and selected device metadata. Needsevents.
Destructive tools (5)
manage_annotations: Manage chart annotations in Amplitude. Needsaction.manage_cohorts: List, retrieve, create, or update behavioral cohorts in Amplitude. Needsaction.delete_user_data: Request deletion of user data from Amplitude for privacy compliance (GDPR/CCPA). Needsaction.manage_taxonomy: Manage your Amplitude tracking plan (taxonomy). NeedsresourceTypeandaction.identify_user: Set or update user properties for a specific user without sending an event.
Triggers
Amplitude has 1 trigger, which fire on events in Amplitude:
event_webhook: Receives events and user updates from Amplitude via webhook integration.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Amplitude there
- Tool permissions: tool filters and what employees see
- Amplitude on metorial.com: the integration overview