Skip to main content

Announcing StackOne Defender: leading open-source prompt injection guard for your agent Read More

Amplitude MCP Server
for AI Agents

Production-ready Amplitude MCP server with 53 extensible actions — plus built-in authentication, security, and optimized execution.

Amplitude logo
Amplitude MCP Server
Built by StackOne StackOne

Coverage

53 Agent Actions

Create, read, update, and delete across Amplitude — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your Amplitude MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every Amplitude tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Amplitude call.

Tools Discovery →

What is the Amplitude MCP Server?

A Amplitude MCP server lets AI agents read and write Amplitude data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Amplitude MCP server ships with 53 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All Amplitude MCP Tools and Actions

Every action from Amplitude's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Events

  • Send Events

    Send one or more events to Amplitude using the HTTP V2 API for real-time event tracking and user behavior analysis.

  • Get Events

    Retrieve all event types in the project with current week totals and metrics.

  • Export Events

    Export event data from Amplitude for a specified date range. Returns a gzip-compressed archive of JSON files.

  • Batch Upload Events

    Upload multiple events to Amplitude in a single request for efficient bulk event processing.

Cohorts

  • Upload Cohort

    Create a new cohort or update an existing one by uploading a set of user IDs or Amplitude IDs.

  • List Cohorts

    Retrieve a list of all cohorts in your Amplitude project for audience segmentation and behavioral analysis.

  • Get Cohort

    Retrieve detailed information about a specific cohort including its definition, size, and metadata.

  • Download Cohort

    Download the list of users in a specific cohort after the async request has completed. Returns user IDs and associated data for audience analysis.

Event Categorys

  • Create Event Category

    Create a new event category for organizing event types in your Amplitude project.

  • Get Event Category

    Retrieve a specific event category by name.

  • Update Event Category

    Rename an existing event category.

  • Delete Event Category

    Remove an event category from your Amplitude project.

Event Types

  • Create Event Type

    Create a new event type in your Amplitude project's taxonomy for tracking and categorization.

  • Get Event Types

    Retrieve all event types in your Amplitude project with their metadata, categories, and configuration.

  • Get Event Type

    Retrieve details of a specific event type including its properties, category, and configuration.

  • Update Event Type

    Update an existing event type's metadata, category, visibility, or other configuration.

  • Delete Event Type

    Delete an event type from your Amplitude project's taxonomy.

Event Propertys

  • Create Event Property

    Create a new event property in your Amplitude taxonomy for a specific event type.

  • Get Event Property

    Retrieve details of a specific event property.

  • Update Event Property

    Update an existing event property's metadata, type, or configuration.

  • Delete Event Property

    Delete an event property from your Amplitude taxonomy.

User Properties

  • Get User Properties

    Retrieve all user properties defined in your Amplitude project's taxonomy.

  • Update User Properties

    Update user properties or associate a device ID with a user ID without sending an event, using the Identify API.

User Propertys

  • Create User Property

    Create a new user property in your Amplitude project's taxonomy for user data governance.

  • Get User Property

    Retrieve details of a specific user property from your Amplitude taxonomy.

  • Update User Property

    Update an existing user property's metadata, type, or configuration.

  • Delete User Property

    Delete a user property from your Amplitude project's taxonomy.

Group Propertys

  • Create Group Property

    Create a new group property in your Amplitude taxonomy for a specific group type.

  • Get Group Property

    Retrieve details of a specific group property from your Amplitude taxonomy.

  • Update Group Property

    Update an existing group property's metadata, type, or configuration.

Other (23)

  • Get Chart Data

    Retrieve data from Amplitude dashboard charts in JSON format for custom reporting and analysis.

  • Get Active And New User Counts

    Retrieve counts of active or new users over a specified date range with optional segmentation.

  • Get Real-Time Active Users

    Retrieve active user counts with 5-minute granularity for the past 2 days.

  • Get Funnel Analysis

    Retrieve funnel conversion and drop-off rates for a sequence of up to 4 events.

  • Get Retention Analysis

    Retrieve user retention metrics for starting and returning actions over a date range.

  • Get Revenue LTV

    Retrieve lifetime value metrics for new users including ARPU, ARPPU, total revenue, and paying user counts.

  • Get Average Session Length

    Retrieve average session length in seconds for each day in a specified date range.

  • Get Session Length Distribution

    Retrieve session count distribution across time buckets for a specified date range.

  • Get Average Sessions Per User

    Retrieve the average number of sessions per user for each day in a specified date range.

  • Get User Composition

    Retrieve the distribution of users across values of a user property in a specified date range.

  • Get Cohort Request Status

    Check the status of an asynchronous cohort download request to determine if the cohort data is ready for download.

  • Get Event Categories

    Retrieve all event categories in your Amplitude project for organizing event types.

  • Get Event Properties

    Retrieve all properties for a specific event type in your Amplitude taxonomy.

  • List Group Properties

    Retrieve all group properties for a specific group type in your Amplitude taxonomy.

  • Get User Profile

    Retrieve user profile data including properties, cohort memberships, recommendations, computations, and prediction propensities. This API isn't supported for customers in Amplitude's EU data processing region.

  • Search Users

    Search for a user by Amplitude ID, device ID, or user ID and retrieve their summary information.

  • Get User Activity

    Retrieve a user's summary and recent or earliest events by their Amplitude ID.

  • Update Cohort Membership

    Add or remove users from an existing cohort by incrementally updating its membership.

  • Event Segmentation

    Perform event segmentation analysis to understand how different user segments interact with specific events over time.

  • Group Identify

    Set or update group properties without sending an event, using the Group Identify API for B2B and account-level analytics.

  • Restore Event Type

    Restore a previously deleted event type in your Amplitude project's taxonomy.

  • Restore Event Property

    Restore a previously deleted event property in your Amplitude taxonomy.

  • Restore User Property

    Restore a previously deleted user property in your Amplitude project's taxonomy.

Set Up Your Amplitude MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to Amplitude in under 10 lines of code.

MCP Clients

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

More Data & Analytics MCP Servers

Tableau

114+ actions

SurveyMonkey

104+ actions

Microsoft Excel

101+ actions

Qlik

100+ actions

Snowflake

80+ actions

PostHog

63+ actions

Gong

34+ actions

Amplitude MCP Server FAQ

Amplitude MCP server vs direct API integration — what's the difference?
A Amplitude MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling Amplitude. A Amplitude MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling Amplitude at runtime. StackOne provides both.
How does Amplitude authentication work for AI agents?
Amplitude authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own Amplitude account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are Amplitude MCP tools vulnerable to prompt injection?
Yes — Amplitude MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a Amplitude agent and how do I avoid it?
Context bloat happens when Amplitude tool schemas and API responses eat your Amplitude agent's memory, preventing it from reasoning effectively. A single Amplitude query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my Amplitude agent can access?
Yes — you can limit which actions your Amplitude agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my Amplitude MCP server?
Yes — you can create custom agent actions for your Amplitude MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research Amplitude's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a Amplitude MCP server?
Skip a Amplitude MCP server if your integration is purely software-to-software — direct Amplitude API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call Amplitude actions at runtime.
What AI frameworks and AI clients does the StackOne Amplitude MCP server support?
The StackOne Amplitude MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.