Connect your AI Agents to Amplitude in minutes

Available tools
get_active_users
Get active, new, returning, or exiting user counts over a date range. Dates must be in YYYYMMDD format. Supports daily, weekly, or monthly intervals and grouping by user properties.
get_average_session_length
Get average session length per day over a date range. Dates must be in YYYYMMDD format.
get_retention
Get user retention analysis for a starting and returning event over a date range. Pass event objects like {"event_type": "signup"}. Use list_events to find valid event names. Dates in YYYYMMDD format.
get_funnel
Get funnel conversion analysis for a sequence of events over a date range. Pass a list of event objects like [{"event_type": "view"}, {"event_type": "purchase"}]. Use list_events to find valid event names. Dates in YYYYMMDD format.
get_realtime_active_users
Get realtime active user counts with 5-minute granularity over the last 2 days. No date parameters needed.
get_revenue_ltv
Get lifetime value and revenue metrics for new users over a date range. Metrics include revenue, ARPU, ARPPU, and paying new users. Dates in YYYYMMDD format.
get_user_composition
Get user distribution across values of a specific property (e.g. country, platform, os) over a date range. Dates in YYYYMMDD format.
list_annotations
List all chart annotations in the project. Returns annotation IDs, dates, labels, details, and category IDs.
get_annotation
Get a single annotation by ID. Use list_annotations to find valid IDs.
create_annotation
Create a chart annotation with a label and start timestamp (ISO 8601). Optionally assign a category name. Use list_annotation_categories to find valid names.
update_annotation
Update an existing annotation's label, start/end timestamps, details, or category. Use list_annotations to find valid IDs.
delete_annotation
Delete an annotation by ID. Use list_annotations to find valid IDs.

How to set up Merge Agent Handler
In an mcp.json file, add the configuration below, and restart Cursor.
Learn more in the official documentation ↗
{
"mcpServers": {
"agent-handler": {
"url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
"headers": {
"Authorization": "Bearer yMt*****"
}
}
}
}
Open your Claude Desktop configuration file and add the server configuration below. You'll also need to restart the application for the changes to take effect.
Make sure Claude is using the Node v20+.
Learn more in the official documentation ↗
{
"mcpServers": {
"agent-handler": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
"--header",
"Authorization: Bearer ${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "yMt*****"
}
}
}
}Open your Windsurf MCP configuration file and add the server configuration below.
Click on the refresh button in the top right of the Manage MCP server page or in the top right of the chat box in the box icon.
Learn more in the official documentation ↗
{
"mcpServers": {
"agent-handler": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://ah-api.merge.dev/api/v1/tool-packs/<tool-pack-id>/registered-users/<registered-user-id>/mcp",
"--header",
"Authorization: Bearer ${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "<ah-production-access-key>"
}
}
}
}In Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows), run "MCP: Open User Configuration".
You can then add the configuration below and press "start" right under servers. Enter the auth token when prompted.
Learn more in the official documentation ↗
{
"inputs": [
{
"type": "promptString",
"id": "agent-handler-auth",
"description": "Agent Handler AUTH_TOKEN", // "yMt*****" when prompt
"password": true
}
],
"servers": {
"agent-handler": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
"--header",
"Authorization: Bearer ${input:agent-handler-auth}"
]
}
}
}FAQs on using Merge's Amplitude MCP server
FAQs on using Merge's Amplitude MCP server
Explore other MCP servers built and managed by Merge























Ready to try it out?
Whether you're an engineer experimenting with agents or a product manager looking to add tools, you can get started for free now

