Amplitude MCP by usefulapi

v1.2.1
io.usefulapi/amplitude Checked 1 day ago Published 40 minutes ago

Read events, funnels, retention, users and revenue from one project in Amplitude.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

amplitude_list_events List events

List the event types of the project, with whether each is marked inactive. Good first call to find event names for the other tools. Dashboard REST API: GET /api/2/events/list.

amplitude_event_segmentation Event segmentation

Count an event (or compare two events) over a date range, optionally segmented and grouped. Metrics: uniques, totals, pct_dau, average, histogram, sums, value_avg. Dashboard REST API: GET /api/2/events/segmentation.

ParameterTypeDescription
e *objectOne event: its type, optional property filters and up to two group-by properties.
end *stringLast date included, formatted YYYYMMDD (for example 20261031).
start *stringFirst date included, formatted YYYYMMDD (for example 20261001).
e2objectOptional second event to compare.
garrayUp to two properties to group by.
iCount interval: -300000 = real-time, -3600000 = hourly, 1 = daily, 7 = weekly, 30 = monthly (default 1).
mstringMetric (default uniques). histogram, sums and value_avg need a group by on e.
nstringWhich users to count: any or active (default any).
sarraySegment definitions: {prop, op, values} for a property, or {type: 'event', op, event_type, ...} for a 'who performed' filter.

amplitude_funnel_analysis Funnel analysis

Conversion through an ordered list of events (2 or more steps) over a date range. mode: ordered, unordered or sequential. Dashboard REST API: GET /api/2/funnels.

ParameterTypeDescription
e *arrayThe funnel steps, in order: one event per step.
end *stringLast date included, formatted YYYYMMDD (for example 20261031).
start *stringFirst date included, formatted YYYYMMDD (for example 20261001).
modestringFunnel mode (default ordered).
nstringWhich users to count: new or active (default active).

amplitude_retention_analysis Retention analysis

Share of users who return after a start action (for example first use). Use _new or _active as the start, _all or _active as the return. rm: nday, rolling, bracket or nday_or_before. Dashboard REST API: GET /api/2/retention.

ParameterTypeDescription
end *stringLast date included, formatted YYYYMMDD (for example 20261031).
re *Return action: _all (any event), _active (any active event), or one event.
se *Start action: _new (new users), _active (all active users), or one event.
start *stringFirst date included, formatted YYYYMMDD (for example 20261001).
rbstringRequired when rm is bracket: the day ranges, formatted [[start,end]] (for example [[1,1],[2,7]]).
rmstringRetention type (default nday).

amplitude_active_user_counts Active or new user counts

Number of active or new users per day, week or month over a date range, optionally segmented and grouped by one property. Dashboard REST API: GET /api/2/users.

ParameterTypeDescription
end *stringLast date included, formatted YYYYMMDD (for example 20261031).
start *stringFirst date included, formatted YYYYMMDD (for example 20261001).
gstringProperty to group by (for example country or gp:plan).
iCount interval: 1 = daily, 7 = weekly, 30 = monthly (default 1).
mstringWhich users to count: new or active (default active).
sarraySegment definitions: {prop, op, values} for a property, or {type: 'event', op, event_type, ...} for a 'who performed' filter.

amplitude_session_length_distribution Session length distribution

Number of sessions per length bucket over a date range. Custom buckets: set the time unit (seconds, minutes, hours, days), min, max and size. Dashboard REST API: GET /api/2/sessions/length.

ParameterTypeDescription
end *stringLast date included, formatted YYYYMMDD (for example 20261031).
start *stringFirst date included, formatted YYYYMMDD (for example 20261001).
timeHistogramConfigBinMaxnumberHighest bucket value, in the time unit (for example 600).
timeHistogramConfigBinMinnumberLowest bucket value, in the time unit (for example 0).
timeHistogramConfigBinSizenumberBucket size, in the time unit (for example 60).
timeHistogramConfigBinTimeUnitstringTime unit of the buckets.

amplitude_average_session_length Average session length

Average session length per day over a date range. Dashboard REST API: GET /api/2/sessions/average.

ParameterTypeDescription
end *stringLast date included, formatted YYYYMMDD (for example 20261031).
start *stringFirst date included, formatted YYYYMMDD (for example 20261001).

amplitude_revenue_ltv Revenue LTV

Revenue per user (ARPU), revenue per paying user (ARPPU), total revenue or paying users over a date range. m: 0 = ARPU, 1 = ARPPU, 2 = total revenue, 3 = paying users. Dashboard REST API: GET /api/2/revenue/ltv.

ParameterTypeDescription
end *stringLast date included, formatted YYYYMMDD (for example 20261031).
start *stringFirst date included, formatted YYYYMMDD (for example 20261001).
gstringProperty to group by (for example country or gp:plan).
iCount interval: 1 = daily, 7 = weekly, 30 = monthly (default 1).
mMetric: 0 ARPU (default), 1 ARPPU, 2 total revenue, 3 paying users.
sarraySegment definitions: {prop, op, values} for a property, or {type: 'event', op, event_type, ...} for a 'who performed' filter.

amplitude_property_composition Property composition

Breakdown of users by one property (for example country, platform, version or gp:plan) over a date range. Dashboard REST API: GET /api/2/composition.

ParameterTypeDescription
end *stringLast date included, formatted YYYYMMDD (for example 20261031).
p *stringProperty to break down by (for example country, platform, or gp:plan).
start *stringFirst date included, formatted YYYYMMDD (for example 20261001).

amplitude_search_users Search users

Find users by Amplitude ID, device ID, user ID, or a user ID prefix. Returns matching user summaries. Dashboard REST API: GET /api/2/usersearch.

ParameterTypeDescription
user *stringAmplitude ID, device ID, user ID, or a user ID prefix.

amplitude_user_activity User activity

Event stream of one user, newest first by default. Use offset and limit to page. Dashboard REST API: GET /api/2/useractivity.

ParameterTypeDescription
user *stringAmplitude ID of the user (from amplitude_search_users).
directionstringStart from the earliest or the latest event (default latest).
limitintegerNumber of events to return, up to 1000 (default 100).
offsetintegerZero-indexed offset from the most recent event (default 0).

amplitude_get_chart_results Get saved chart results

Results of a saved chart in the project, by chart ID (the ID in the chart's web address). Dashboard REST API: GET /api/3/chart/:chart_id/query.

ParameterTypeDescription
chart_id *stringChart ID from the chart's web address (for example abc123).