Baremetrics MCP by usefulapi
v1.2.0Read 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date, yyyy-mm-dd. |
start_date * | string | Start 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}.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date, yyyy-mm-dd. |
metric * | string | Metric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics'). |
start_date * | string | Start date, yyyy-mm-dd. |
compare_to | integer | Days 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date, yyyy-mm-dd. |
metric * | string | Metric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics'). |
start_date * | string | Start 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date, yyyy-mm-dd. |
metric * | string | Metric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics'). |
start_date * | string | Start 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.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | Source id from baremetrics_list_sources. |
order | string | Sort direction, e.g. asc or desc. |
search | string | Search text. |
sort | string |
baremetrics_get_customer Get customer
Get one customer by id. Baremetrics API: GET /v1/{source_id}/customers/{oid}.
| Parameter | Type | Description |
|---|---|---|
customer_oid * | string | Customer id (oid). |
source_id * | string | Source 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.
| Parameter | Type | Description |
|---|---|---|
customer_oid * | string | Customer id (oid). |
source_id * | string | Source 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.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | Source id from baremetrics_list_sources. |
customer_oid | string | Only subscriptions of this customer (oid). |
order | string | Sort direction, e.g. asc or desc. |
baremetrics_get_subscription Get subscription
Get one subscription by id. Baremetrics API: GET /v1/{source_id}/subscriptions/{oid}.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | Source id from baremetrics_list_sources. |
subscription_oid * | string | Subscription id (oid). |
baremetrics_list_plans List plans
List or search the plans of one source. Baremetrics API: GET /v1/{source_id}/plans.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | Source id from baremetrics_list_sources. |
search | string | Search text. |
baremetrics_get_plan Get plan
Get one plan by id. Baremetrics API: GET /v1/{source_id}/plans/{oid}.
| Parameter | Type | Description |
|---|---|---|
plan_oid * | string | Plan id (oid). |
source_id * | string | Source 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.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | Source id from baremetrics_list_sources. |
customer_oid | string | |
end | string | Charges up to this date, yyyy-mm-dd. |
start | string | Charges from this date, yyyy-mm-dd. |
subscription_oid | string |
baremetrics_get_charge Get charge
Get one charge by id. Baremetrics API: GET /v1/{source_id}/charges/{oid}.
| Parameter | Type | Description |
|---|---|---|
charge_oid * | string | Charge id (oid). |
source_id * | string | Source 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.
| Parameter | Type | Description |
|---|---|---|
source_id * | string | Source id from baremetrics_list_sources. |
end | string | Events up to this date, yyyy-mm-dd. |
live_stream | string | Live stream filter, as the API documents it. |
start | string | Events 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.
| Parameter | Type | Description |
|---|---|---|
annotation * | string | The note text. |
date * | string | Date of the note, yyyy-mm-dd. |
global * | boolean | true = show on all graphs; false = only on the metric's graph. |
metric * | string | Metric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics'). |
user_id * | string | Id of the user who adds the note (from baremetrics_list_users). |