How to build Maxio revenue dashboards in Metabase
Maxio (the combination of Chargify and SaaSOptics) handles subscription billing and SaaS financial operations — subscriptions, components, invoices, and revenue recognition. Metabase is where you turn that into shared dashboards for MRR, churn, retention, and billings. This guide covers two complementary paths: a lightweight MCP + CLI route that pulls live data with the Maxio MCP server and loads a CSV into Metabase with the Metabase CLI for quick analysis, and a durable pipeline route that syncs Maxio into a database so you can build MRR, churn, and retention dashboards anyone can read.
How do you connect Maxio to Metabase?
Most teams combine both routes: use the Maxio MCP server and Metabase CLI route to pull live data and stand up a quick analysis, and the pipeline route for the revenue dashboards finance depends on.
Live data in, quick analysis out
Pair Maxio's official MCP server (to look up live customers, subscriptions, and invoices) with the Metabase CLI, whose upload command loads a CSV into Metabase as a ready-to-query table and model.
- Quick lookups like "which subscriptions are past due?"
- Loading a Maxio CSV export into Metabase in seconds
- Spot-checks and one-off analyses without a warehouse
- Great for exploration, not governed revenue reporting
- Uses scoped tokens/OAuth — set up per Maxio's docs
- CSV uploads are snapshots — refresh or move to the pipeline for history
Durable dashboards with history
Sync Maxio via its APIs, exports, or a managed connector into a database, then point Metabase at it.
- MRR/ARR, churn, and SaaS-metric dashboards finance relies on
- Cohort, retention, and revenue-recognition analysis
- Joining billing data with CRM, usage, and support data
- Requires a destination database and a sync to maintain
- Metered components need documented rating logic
- Reconcile against Maxio before anyone trusts the numbers
What can you analyze from Maxio data in Metabase?
- MRR and ARR — recurring revenue now and its monthly movement
- Churn and retention — logo and revenue churn, gross and net retention
- Billings and AR — invoiced revenue, accounts receivable, and DSO
- Usage and components — metered and add-on revenue
- Revenue recognition — recognized vs. deferred revenue
- Failed payments and dunning — involuntary churn and recovery
Which Maxio dashboards should you build in Metabase?
MRR & ARR
Recurring revenue and its monthly movement.
- MRR and ARR right now (number + trend)
- MRR movement: new, expansion, contraction, churn (waterfall)
- ARR by product and price point (bar)
- New vs. renewal bookings (bar)
Churn & retention
Where recurring revenue leaks and how well you keep it.
- Gross and net revenue retention (line)
- Logo vs. revenue churn (dual line)
- Cancellations and downgrades by month (bar)
- Renewal rate by cohort (heatmap)
Billings, AR & dunning
Invoiced amounts, collections, and failed payments.
- Invoiced revenue (billings) by month (bar)
- Accounts receivable and DSO (number + line)
- Failed payments and dunning recovery (line)
- AR aging buckets (table)
Usage & components
What drives metered and add-on revenue.
- Metered component usage over time (line)
- Component/add-on attach rate (table)
- Overage revenue by component (bar)
- Usage per account vs. plan (scatter/table)
How do you use the Maxio MCP server with the Metabase CLI?
Pair the Maxio MCP server with the Metabase CLI for fast, hands-on analysis. Maxio offers a native MCP server that looks up live customers, subscriptions, and invoices; the Metabase CLI's upload command loads a CSV into Metabase and creates a ready-to-query table and model. For analysis, scope the Maxio credentials to read-only.
Example workflow
- Ask the Maxio MCP which subscriptions are past due, or pull a customer's components and invoices.
- Export the customers, subscriptions, components, and invoices you want to keep as CSVs.
- Run
mb upload csvto load them into Metabase as tables and models, then build questions and dashboards on top.
Be honest about the limits
- The Maxio MCP is great for live lookups — not for scheduled or audited revenue reporting.
- A CSV upload is a point-in-time snapshot; MRR movement and cohorts still need a warehouse sync, or refresh with
mb upload replace. - Maxio's MCP uses scoped tokens/OAuth — set it up per Maxio's docs.
mb upload csvneeds an uploads database configured under Admin → Settings → Uploads.
How do you set up the Maxio MCP server and the Metabase CLI?
Maxio MCP official
- Endpoint
- Generated in Maxio's MCP connector setup
- Transport
- Remote (no stable public URL)
- Auth
- Scoped tokens or OAuth
- Extras
- Audit logging on server calls
Metabase CLIofficial
- Install
npm install -g @metabase/cli- Auth
mb auth login(browser OAuth on v62+, or an API key)- Load data
mb upload csv --file data.csv- Requires
- An uploads database (Admin → Settings → Uploads)
{
"mcpServers": {
"maxio": {
"url": "https://<your-maxio-mcp-endpoint>",
"headers": {
"Authorization": "Bearer <MAXIO_SCOPED_TOKEN>"
}
}
}
}# Install the Metabase CLI
npm install -g @metabase/cli
# Log in (opens your browser; requires Metabase v62+)
mb auth login --url https://your-metabase.example.com
# Load a Maxio CSV export — creates a table AND a model
mb upload csv --file maxio-subscriptions.csv --collection root
# Refresh that same table later from a new export
mb upload replace <table-id> --file maxio-subscriptions.csvThe Metabase CLI stores its credentials securely after mb auth login. Scope the Maxio credentials to read-only for analysis work.
Can you generate a Maxio dashboard with AI?
Yes. Use the prompt below with any assistant that can run the Maxio MCP server and the Metabase CLI. It works end to end: if Maxio tables already exist in Metabase it analyzes those; otherwise it pulls the data over the Maxio MCP, loads it with mb upload csv, then builds the dashboard — normalizing MRR and skipping cards it has no data for.
Create a polished Metabase dashboard for Maxio subscription and SaaS-metric
analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.
Goal: Help finance and RevOps leaders understand recurring revenue (MRR/ARR),
churn, retention, billings, and usage/component revenue from Maxio (Chargify +
SaaSOptics) data.
Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for Maxio tables and
models). If durable Maxio data is already present — synced from a warehouse or
uploaded earlier — use it and skip to Step 2.
- If nothing is there, pull it with the Maxio MCP server using scoped, read-only
credentials: customers, subscriptions, products/price points, components,
invoices, and transactions. Write each result to a CSV, then load it with the
Metabase CLI — run "mb upload csv --file <export>.csv" so each upload creates a
table and a ready-to-query model. Use "mb upload replace <table-id> --file
<export>.csv" to refresh an existing table instead of creating duplicates.
Step 2 — Inspect before querying:
Do not assume exact table names. Map the available raw tables into these
analytical concepts where possible: Customers, Subscriptions, Products/Price
points, Components (metered / add-on), Invoices, Transactions, and (if present)
Revenue schedules. Inspect the actual tables and column names first.
Important:
- Build on whatever data is present; don't claim Metabase connects natively to
Maxio — it reads a database or CLI-uploaded tables.
- Compute MRR from active recurring subscription revenue, normalizing to a
monthly amount; keep metered/usage and one-time revenue separate.
- Separate voluntary churn from failed-payment (dunning) churn.
- For revenue recognition, use recognized/deferred schedules, not billings.
- Report in a single reporting currency.
- Only build a card if its underlying column/metric exists in the data.
- A single CSV is a point-in-time snapshot: MRR movement and cohorts need
history, so build trend cards only if a warehouse sync or multiple uploads
provide it.
Dashboard title: Maxio Revenue Overview
Sections:
1. Executive summary (KPI cards): MRR; ARR; Net new MRR; Gross revenue churn %;
Net revenue retention; Accounts receivable.
2. MRR & ARR: MRR movement by month; ARR by product/price point; New vs. renewal.
3. Churn & retention: Logo vs. revenue churn; Gross vs. net retention; Renewal
rate by cohort.
4. Billings, AR & dunning: Invoiced revenue; AR aging; Failed payments and
recovery.
5. Usage & components: Metered usage; Component attach rate; Overage revenue.
Filters: Product, Price point, Component, Currency, Date range.
Reuse the models Metabase auto-created from uploaded CSVs, or (for a warehouse)
create reusable models: modeled_maxio_subscriptions, modeled_maxio_components,
modeled_maxio_invoices, and modeled_maxio_mrr (a monthly per-subscription MRR
model).
Output: Build the dashboard if you have permission; otherwise provide the exact
questions, SQL, model definitions, and layout. Include caveats for any metric
that cannot be calculated from the available data. Reconcile totals against
Maxio. Keep it practical, dense, and executive-readable. Avoid vanity metrics.How do you build the Maxio → Metabase pipeline?
For dashboards that need history and reliability, land Maxio data in a database first, then connect Metabase to that database.
Connector options
- dlt (free, code) — wrap the Maxio APIs in a small Python pipeline for incremental, no-vendor loads. The lightest path to a maintainable sync.
- Maxio APIs (first-party) — the Advanced Billing (Chargify) APIs for subscriptions, components, and invoices.
- Exports — scheduled CSV/data exports for subscriptions, invoices, and transactions.
- Managed ETL (paid, managed) — connectors and reverse-ETL tools can pull Maxio billing objects into your warehouse on a schedule with zero maintenance.
Notes
- Land raw tables first, then build clean models on top.
- Amounts are often in cents — divide in a model layer.
- Keep metered/usage components separate from recurring MRR.
- Use revenue schedules (not billings) for recognized/deferred revenue.
How should you model Maxio data in Metabase?
Core tables
| Concept | Grain | Key columns |
|---|---|---|
customers | one row per customer | id, organization, created_at, reference |
subscriptions | one row per subscription | id, customer_id, product_id, state, current_period_ends_at, canceled_at |
components | one row per component | id, name, kind (metered/quantity/on-off) |
component_usages | usage records | subscription_id, component_id, quantity, amount, period_ended_at |
invoices | one row per invoice | id, customer_id, total_amount, due_amount, status, issue_date, due_date |
transactions | one row per transaction | id, subscription_id, amount, type, success, created_at |
Modeling advice
- Build a
modeled_maxio_mrrtable from active recurring subscription revenue, excluding metered/usage. - Define subscription state once (trialing/active/past_due/canceled).
- Keep component usage in its own model for usage-revenue analysis.
- Separate voluntary cancellations from failed-payment churn.
- Reconcile modeled MRR and AR against Maxio before trusting the numbers.
Which Maxio metrics should you track in Metabase?
| Metric | Definition | Notes |
|---|---|---|
| MRR / ARR | Active recurring revenue, normalized monthly. | Exclude metered/usage and one-time. |
| Net new MRR | New + expansion − contraction − churn. | Best as a monthly waterfall. |
| Revenue churn rate | Churned MRR ÷ MRR at period start. | Split voluntary vs. dunning. |
| Net revenue retention | (Start + expansion − contraction − churn) ÷ start. | Over 100% = expansion beats churn. |
| Component / usage revenue | Rated metered + add-on revenue. | Keep separate from MRR. |
| DSO | Avg days to collect an invoice. | Compute from open invoices. |
What SQL powers Maxio dashboards in Metabase?
These assume the modeled tables above (PostgreSQL dialect). Adjust identifiers to match your schema.
Sum a monthly MRR model built from active recurring subscriptions.
-- Requires a monthly MRR model built from active Maxio subscriptions
SELECT
ROUND(SUM(mrr), 2) AS mrr,
ROUND(SUM(mrr) * 12, 2) AS arr,
COUNT(*) AS active_subscriptions
FROM modeled_maxio_mrr
WHERE month = date_trunc('month', CURRENT_DATE);Cancellations and the recurring revenue lost with them.
SELECT
date_trunc('month', canceled_at) AS month,
COUNT(*) AS churned_subscriptions,
ROUND(SUM(mrr_at_cancel), 2) AS churned_mrr
FROM subscriptions
WHERE state = 'canceled'
AND canceled_at >= CURRENT_DATE - INTERVAL '12 months'
GROUP BY 1
ORDER BY 1;Metered and add-on revenue, kept separate from MRR.
-- Metered / add-on component revenue by month
SELECT
date_trunc('month', period_ended_at) AS month,
c.name AS component,
ROUND(SUM(cu.amount) / 100.0, 2) AS component_revenue
FROM component_usages cu
JOIN components c ON c.id = cu.component_id
GROUP BY 1, c.name
ORDER BY 1, component_revenue DESC;