Get recurring revenue (MRR)
get_mrrA site's monthly recurring revenue (MRR) from its Stripe subscriptions: today's amount and number of paying subscriptions, the amount at the start of the period and its change, the curve over the period (the first day, each day it moved, and the last), today's MRR by the source or campaign of each subscriber's first payment, today's MRR by plan (by_plan: each product and its billing interval), and what moved it over the period: the subscriptions that began to pay and those that stopped, in all and by that same source or campaign (which source brought the new subscribers). The history goes back before the site was measured: Stripe dates every subscription. Needs the site's Stripe connected with a key that can read Subscriptions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>"
},
"name": "get_mrr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date YYYY-MM-DD (site timezone), included. | |
| from | No | Start date YYYY-MM-DD (site timezone), with `to`. | |
| site | Yes | The site: its domain (example.com), its id, or its public id. See list_sites. | |
| period | No | A preset period ending today: today, 7d, 30d, 90d, 1y (one year) or all (everything since the site's first visit, five years at most). Default 30d. Ignored when from/to are given. | |
| dimension | No | Default source. |