analytics
Amplitude Analytics MCP, CLI, and Lua Integration for AI Agents
Amplitude Analytics integration docs for AI agents: MCP gateway setup, Amplitude Analytics CLI commands, Lua API reference, credentials, and function schemas.
7 functions 7 read 0 write API key auth
Amplitude Analytics for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
amplitude- route_slug
amplitude- package
amplitude- auth_strategy
api_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Amplitude Analytics CLIHeadless setup and direct function calls. Amplitude Analytics MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Amplitude Analytics MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Amplitude Analytics.
Claude Code Amplitude Analytics MCP setup for Claude Code. Cursor Amplitude Analytics MCP setup for Cursor. Codex Amplitude Analytics MCP setup for Codex. OpenAI Agents Amplitude Analytics MCP setup for OpenAI Agents SDK. Claude Agent SDK Amplitude Analytics MCP setup for Claude Agent SDK. Vercel AI SDK Amplitude Analytics MCP setup for Vercel AI SDK. LangChain Amplitude Analytics MCP setup for LangChain. LangGraph Amplitude Analytics MCP setup for LangGraph. CrewAI Amplitude Analytics MCP setup for CrewAI. MCP clients Amplitude Analytics MCP setup for Generic MCP Clients.
Amplitude Analytics CLI Matrix
Use these pages for direct Amplitude Analytics CLI workflows in scripts, CI, cron, and agent wrappers.
CI Amplitude Analytics CLI for CI. Cron Jobs Amplitude Analytics CLI for cron jobs. Shell Scripts Amplitude Analytics CLI for shell scripts. Headless Automation Amplitude Analytics CLI for headless automation. Coding Agents Amplitude Analytics CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
amplitude.amplitude_list_events | Read read | 5 | List events from Amplitude Analytics. Optionally filter by user ID, device ID, or time range. Returns the most recent events matching the criteria. |
amplitude.amplitude_get_event | Read read | 1 | Retrieve a single Amplitude event by its ID. Returns full event details including all event properties and metadata. |
amplitude.amplitude_list_funnels | Read read | 2 | List funnels configured in Amplitude. Optionally filter by project ID. Returns funnel names, IDs, and summary conversion metrics. |
amplitude.amplitude_get_funnel | Read read | 1 | Retrieve a single Amplitude funnel by its ID. Returns the full funnel definition including steps, conversion rates, and drop-off metrics. |
amplitude.amplitude_list_cohorts | Read read | 2 | List behavioral cohorts in Amplitude. Optionally filter by project ID. Returns cohort names, IDs, and membership counts. |
amplitude.amplitude_get_cohort | Read read | 1 | Retrieve a single Amplitude cohort by its ID. Returns the full cohort definition including behavioral criteria and membership size. |
amplitude.amplitude_get_current_user | Read read | 0 | Get the currently authenticated Amplitude user. Returns account details for the API key owner — useful for verifying credentials and checking permissions. |