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.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.
Agent Surfaces
Machine-Readable Metadata
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. |