Skip to navigation

analytics

Read-only queries on dashboard data (revenue, MRR, churn, usage)

Live server: available on mcp.solvimon.com as well as on the test server.

Read-only queries over dashboard data: revenue (by product, plan, currency, month), MRR/ARR, churn and customer movement, usage, deferred and recognised revenue, and growth. Use the three actions in sequence:

  1. list_datasets returns available datasets and their datasetId
  2. list_fields returns each model’s dimensions and measures in model.field form
  3. query runs the query: {datasetId, measures[], dimensions[], filters[], timeDimensions[], order[][], limit}

The optional customer_id parameter scopes results to one or more customers (comma-separated).

Query invoiced revenue by product
{
"action": "query",
"query": {
"datasetId": "dast_Vc7wPx3TnR8mKq5YbJd92",
"measures": ["invoice_v2.invoice_line_base_rep_amount_sum"],
"dimensions": ["invoice_v2.product_names"]
}
}

Example prompts

  • “What’s our current MRR and ARR run-rate, split by pricing plan?”
  • “What was our net revenue retention over the last 12 months?”
  • “Show recurring versus usage revenue per month for the last 12 months”
  • “Which customers had the most overdue invoices last quarter?”
  • “How many usage events did each meter record over the last 30 days?”

Example output

Prompt: “What’s our current MRR and ARR run-rate, split by pricing plan?”

Tool call:

{
"action": "query",
"query": {
"datasetId": "a608f2d5-9608-487e-99a0-6a0906a2fbc6",
"measures": ["summit_revenue_ch.mrr_last_month", "summit_revenue_ch.arr_run_rate"],
"dimensions": ["summit_revenue_ch.pricing_plan_name"]
}
}

Response (trimmed):

{
"data": [
{
"summit_revenue_ch.pricing_plan_name": "Growth Plan",
"summit_revenue_ch.mrr_last_month": "21000",
"summit_revenue_ch.arr_run_rate": "252000"
},
{
"summit_revenue_ch.pricing_plan_name": "Solvimon for AI",
"summit_revenue_ch.mrr_last_month": "0",
"summit_revenue_ch.arr_run_rate": "0"
}
]
}

Claude’s answer: MRR for the last full month is 21,000 in your reporting currency, all from the Growth Plan, which gives an ARR run-rate of 252,000. The other plans had no recurring revenue last month.