Baremetrics MCP by usefulapi

v1.2.0
io.usefulapi/baremetrics Checked 1 day ago Published 12 hours ago

Read MRR, churn, customers, plans and events; add chart annotations in Baremetrics.

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

baremetrics_get_account Get account

Get the Baremetrics account: company name, default currency and creation date. Baremetrics API: GET /v1/account.

baremetrics_list_sources List sources

List the connected data sources (for example Stripe, Recurly, or Baremetrics-managed data). Each source id scopes the customer, plan, subscription, charge and event tools. Baremetrics API: GET /v1/sources.

baremetrics_get_metrics_summary Get metrics summary

Get all key SaaS metrics (MRR, ARR, ARPU, LTV, churn, new customers and more) per day for a date range. Baremetrics API: GET /v1/metrics.

ParameterTypeDescription
end_date *stringEnd date, yyyy-mm-dd.
start_date *stringStart date, yyyy-mm-dd.

baremetrics_get_metric Get metric time series

Get the daily time series of one metric for a date range, with an optional comparison to N days earlier. Baremetrics API: GET /v1/metrics/{metric}.

ParameterTypeDescription
end_date *stringEnd date, yyyy-mm-dd.
metric *stringMetric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics').
start_date *stringStart date, yyyy-mm-dd.
compare_tointegerDays ago to compare with, e.g. 30.

baremetrics_get_metric_customers Get customers for a metric

List the customers that contribute to one metric for a date range (for example who drove MRR changes). Baremetrics API: GET /v1/metrics/{metric}/customers.

ParameterTypeDescription
end_date *stringEnd date, yyyy-mm-dd.
metric *stringMetric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics').
start_date *stringStart date, yyyy-mm-dd.

baremetrics_get_metric_plans Get plan breakout for a metric

Break one metric down by plan for a date range (for example MRR per plan). Baremetrics API: GET /v1/metrics/{metric}/plans.

ParameterTypeDescription
end_date *stringEnd date, yyyy-mm-dd.
metric *stringMetric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics').
start_date *stringStart date, yyyy-mm-dd.

baremetrics_get_cohorts Get cohort retention

Get cohort analysis (customer retention by signup month). Baremetrics API: GET /v1/metrics/cohorts.

baremetrics_list_customers List customers

List or search the customers of one source. Baremetrics API: GET /v1/{source_id}/customers.

ParameterTypeDescription
source_id *stringSource id from baremetrics_list_sources.
orderstringSort direction, e.g. asc or desc.
searchstringSearch text.
sortstring

baremetrics_get_customer Get customer

Get one customer by id. Baremetrics API: GET /v1/{source_id}/customers/{oid}.

ParameterTypeDescription
customer_oid *stringCustomer id (oid).
source_id *stringSource id from baremetrics_list_sources.

baremetrics_list_customer_events List customer events

List the event history of one customer (signups, upgrades, cancellations). Baremetrics API: GET /v1/{source_id}/customers/{oid}/events.

ParameterTypeDescription
customer_oid *stringCustomer id (oid).
source_id *stringSource id from baremetrics_list_sources.

baremetrics_list_subscriptions List subscriptions

List subscriptions of one source, optionally for one customer. Baremetrics API: GET /v1/{source_id}/subscriptions.

ParameterTypeDescription
source_id *stringSource id from baremetrics_list_sources.
customer_oidstringOnly subscriptions of this customer (oid).
orderstringSort direction, e.g. asc or desc.

baremetrics_get_subscription Get subscription

Get one subscription by id. Baremetrics API: GET /v1/{source_id}/subscriptions/{oid}.

ParameterTypeDescription
source_id *stringSource id from baremetrics_list_sources.
subscription_oid *stringSubscription id (oid).

baremetrics_list_plans List plans

List or search the plans of one source. Baremetrics API: GET /v1/{source_id}/plans.

ParameterTypeDescription
source_id *stringSource id from baremetrics_list_sources.
searchstringSearch text.

baremetrics_get_plan Get plan

Get one plan by id. Baremetrics API: GET /v1/{source_id}/plans/{oid}.

ParameterTypeDescription
plan_oid *stringPlan id (oid).
source_id *stringSource id from baremetrics_list_sources.

baremetrics_list_charges List charges

List charges of one source, optionally filtered by date range, subscription or customer. Baremetrics API: GET /v1/{source_id}/charges.

ParameterTypeDescription
source_id *stringSource id from baremetrics_list_sources.
customer_oidstring
endstringCharges up to this date, yyyy-mm-dd.
startstringCharges from this date, yyyy-mm-dd.
subscription_oidstring

baremetrics_get_charge Get charge

Get one charge by id. Baremetrics API: GET /v1/{source_id}/charges/{oid}.

ParameterTypeDescription
charge_oid *stringCharge id (oid).
source_id *stringSource id from baremetrics_list_sources.

baremetrics_list_events List events

List subscription events of one source (new, upgrade, downgrade, cancel and more), optionally by date range. Baremetrics API: GET /v1/{source_id}/events.

ParameterTypeDescription
source_id *stringSource id from baremetrics_list_sources.
endstringEvents up to this date, yyyy-mm-dd.
live_streamstringLive stream filter, as the API documents it.
startstringEvents from this date, yyyy-mm-dd.

baremetrics_list_annotations List annotations

List the chart annotations (notes on metric dates). Baremetrics API: GET /v1/annotations.

baremetrics_list_users List users

List the users of the Baremetrics account (use an id from here as user_id for an annotation). Baremetrics API: GET /v1/users.

baremetrics_create_annotation Create annotation

Add a note to a metric on one date, shown on the Baremetrics charts (for example 'Price change'). Adds one record; it does not change metrics or customers. Baremetrics API: POST /v1/annotations.

ParameterTypeDescription
annotation *stringThe note text.
date *stringDate of the note, yyyy-mm-dd.
global *booleantrue = show on all graphs; false = only on the metric's graph.
metric *stringMetric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics').
user_id *stringId of the user who adds the note (from baremetrics_list_users).