Amplitude MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Amplitude MCP Servershow me user login events for last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Amplitude MCP Server
A Model Context Protocol (MCP) server for Amplitude Analytics API, providing tools and resources for querying and segmenting event data.
Overview
This MCP server enables AI assistants and other MCP clients to interact with the Amplitude Analytics API, allowing them to:
Query event data with filters
Perform advanced segmentation with breakdowns
Access event data through structured resources
Related MCP server: Mixpanel MCP Server
Installation
{
"mcpServers": {
"amplitude": {
"command": "npx",
"args": [
"-y",
"amplitude-mcp",
"--amplitude-api-key=YOUR_API_KEY",
"--amplitude-secret-key=YOUR_SECRET_KEY"
]
}
}
}Required Credentials
Amplitude API credentials must be provided using command line arguments:
--amplitude-api-key: Your Amplitude API key (required)--amplitude-secret-key: Your Amplitude secret key (required)
Available Tools
1. query_events
Basic event querying with filters.
Parameters:
events(array): Array of events to queryeventType(string): Type of eventpropertyFilters(array, optional): Filters for event properties
start(string): Start date in YYYYMMDD formatend(string): End date in YYYYMMDD formatinterval(string, optional): Grouping interval (day, week, month)groupBy(string, optional): Grouping dimension
Example:
{
"events": [
{
"eventType": "user_login",
"propertyFilters": [
{
"propertyName": "device_type",
"value": "mobile",
"op": "is"
}
]
}
],
"start": "2023-01-01",
"end": "2023-01-31",
"interval": "day"
}2. segment_events
Advanced event segmentation with breakdowns.
Parameters:
All parameters from
query_eventsfilters(array, optional): Additional filters for segmentationtype(string): Filter type (property, event, user)propertyName(string, optional): Name of the propertyvalue(mixed, optional): Value to filter byop(string, optional): Operator for comparison
breakdowns(array, optional): Breakdown dimensionstype(string): Breakdown type (event, user)propertyName(string): Name of the property to break down by
Example:
{
"events": [
{
"eventType": "purchase"
}
],
"start": "2023-01-01",
"end": "2023-01-31",
"interval": "week",
"filters": [
{
"type": "user",
"propertyName": "country",
"value": "US",
"op": "is"
}
],
"breakdowns": [
{
"type": "user",
"propertyName": "device_type"
}
]
}Available Resources
amplitude_events
Access event data for a specific event type and date range.
URI Format:
amplitude://events/{eventType}/{start}/{end}Example:
amplitude://events/user_login/2023-01-01/2023-01-31Development
Project Structure
amplitude-mcp/
├── src/
│ ├── index.ts # Main entry point with MCP server setup
│ ├── services/
│ │ └── amplitude.service.ts # Amplitude API service implementation
│ ├── resources/
│ │ └── events.ts # Event data resources
│ ├── types/
│ │ └── amplitude.ts # Amplitude API types
│ └── utils/
│ └── config.ts # Configuration and credential handling
├── bin/
│ └── cli.js # CLI entry point
├── dist/ # Compiled JavaScript files
├── package.json
└── tsconfig.jsonLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to track events, page views, user signups, set user properties, and track revenue in Amplitude analytics.Last updated137MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides access to the Mixpanel REST API, enabling AI agents to query events, funnels, retention data, and user profiles. It allows users to perform complex analytics tasks and export raw event data through natural language prompts.Last updated1623MIT
- Alicense-qualityDmaintenanceEnables AI assistants to integrate Amplitude analytics for tracking events, page views, user signups, user properties, and revenue.Last updated13MIT
- Alicense-qualityCmaintenanceEnables querying Amplitude analytics data including events, active users, retention, and user profiles through natural language or direct tool calls.Last updated28MIT
Related MCP Connectors
Connect e-commerce and marketing data to AI assistants via MCP.
Talk to your live-events CRM (campaigns, analytics, paid ads, segments) in Claude and ChatGPT.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/silviorodrigues/amplitude-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server