Baremetrics MCP by usefulapi
Read MRR, churn, customers, plans and events; add chart annotations in Baremetrics.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- LOWen baremetrics_get_metrics_summary
- LOWen baremetrics_get_metric_customers
- LOWen baremetrics_list_customer_events
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"baremetrics": {
"url": "https://baremetrics.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://baremetrics.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (20)
🟢baremetrics_get_account
Get the Baremetrics account: company name, default currency and creation date. Baremetrics API: GET /v1/account.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_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.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_metrics_summary(start_date, end_date)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End date, yyyy-mm-dd."
}
},
"required": [
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_metric(metric, start_date, end_date, compare_to)
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}.
Esquema de entrada
{
"type": "object",
"properties": {
"metric": {
"type": "string",
"minLength": 1,
"description": "Metric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics')."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End date, yyyy-mm-dd."
},
"compare_to": {
"description": "Days ago to compare with, e.g. 30.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"metric",
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_metric_customers(metric, start_date, end_date)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"metric": {
"type": "string",
"minLength": 1,
"description": "Metric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics')."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End date, yyyy-mm-dd."
}
},
"required": [
"metric",
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_metric_plans(metric, start_date, end_date)
Break one metric down by plan for a date range (for example MRR per plan). Baremetrics API: GET /v1/metrics/{metric}/plans.
Esquema de entrada
{
"type": "object",
"properties": {
"metric": {
"type": "string",
"minLength": 1,
"description": "Metric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics')."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End date, yyyy-mm-dd."
}
},
"required": [
"metric",
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_cohorts
Get cohort analysis (customer retention by signup month). Baremetrics API: GET /v1/metrics/cohorts.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_list_customers(source_id, search, sort, order)
List or search the customers of one source. Baremetrics API: GET /v1/{source_id}/customers.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"search": {
"description": "Search text.",
"type": "string"
},
"sort": {
"type": "string"
},
"order": {
"description": "Sort direction, e.g. asc or desc.",
"type": "string"
}
},
"required": [
"source_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_customer(source_id, customer_oid)
Get one customer by id. Baremetrics API: GET /v1/{source_id}/customers/{oid}.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"customer_oid": {
"type": "string",
"minLength": 1,
"description": "Customer id (oid)."
}
},
"required": [
"source_id",
"customer_oid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_list_customer_events(source_id, customer_oid)
List the event history of one customer (signups, upgrades, cancellations). Baremetrics API: GET /v1/{source_id}/customers/{oid}/events.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"customer_oid": {
"type": "string",
"minLength": 1,
"description": "Customer id (oid)."
}
},
"required": [
"source_id",
"customer_oid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_list_subscriptions(source_id, customer_oid, order)
List subscriptions of one source, optionally for one customer. Baremetrics API: GET /v1/{source_id}/subscriptions.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"customer_oid": {
"description": "Only subscriptions of this customer (oid).",
"type": "string"
},
"order": {
"description": "Sort direction, e.g. asc or desc.",
"type": "string"
}
},
"required": [
"source_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_subscription(source_id, subscription_oid)
Get one subscription by id. Baremetrics API: GET /v1/{source_id}/subscriptions/{oid}.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"subscription_oid": {
"type": "string",
"minLength": 1,
"description": "Subscription id (oid)."
}
},
"required": [
"source_id",
"subscription_oid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_list_plans(source_id, search)
List or search the plans of one source. Baremetrics API: GET /v1/{source_id}/plans.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"search": {
"description": "Search text.",
"type": "string"
}
},
"required": [
"source_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_plan(source_id, plan_oid)
Get one plan by id. Baremetrics API: GET /v1/{source_id}/plans/{oid}.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"plan_oid": {
"type": "string",
"minLength": 1,
"description": "Plan id (oid)."
}
},
"required": [
"source_id",
"plan_oid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_list_charges(source_id, start, end, subscription_oid, customer_oid)
List charges of one source, optionally filtered by date range, subscription or customer. Baremetrics API: GET /v1/{source_id}/charges.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"start": {
"description": "Charges from this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end": {
"description": "Charges up to this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"subscription_oid": {
"type": "string"
},
"customer_oid": {
"type": "string"
}
},
"required": [
"source_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_get_charge(source_id, charge_oid)
Get one charge by id. Baremetrics API: GET /v1/{source_id}/charges/{oid}.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"charge_oid": {
"type": "string",
"minLength": 1,
"description": "Charge id (oid)."
}
},
"required": [
"source_id",
"charge_oid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_list_events(source_id, live_stream, start, end)
List subscription events of one source (new, upgrade, downgrade, cancel and more), optionally by date range. Baremetrics API: GET /v1/{source_id}/events.
Esquema de entrada
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"description": "Source id from baremetrics_list_sources."
},
"live_stream": {
"description": "Live stream filter, as the API documents it.",
"type": "string"
},
"start": {
"description": "Events from this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"end": {
"description": "Events up to this date, yyyy-mm-dd.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"source_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_list_annotations
List the chart annotations (notes on metric dates). Baremetrics API: GET /v1/annotations.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baremetrics_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.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴baremetrics_create_annotation(metric, annotation, date, global, user_id)
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.
Esquema de entrada
{
"type": "object",
"properties": {
"metric": {
"type": "string",
"minLength": 1,
"description": "Metric name, e.g. mrr, arr, active_customers, churn (see Baremetrics 'Available Metrics')."
},
"annotation": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The note text."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date of the note, yyyy-mm-dd."
},
"global": {
"type": "boolean",
"description": "true = show on all graphs; false = only on the metric's graph."
},
"user_id": {
"type": "string",
"minLength": 1,
"description": "Id of the user who adds the note (from baremetrics_list_users)."
}
},
"required": [
"metric",
"annotation",
"date",
"global",
"user_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia