Polar × Metabase

How to build Polar revenue dashboards in Metabase

Polar is a merchant-of-record billing platform for developers and SaaS — subscriptions, one-time products, and digital benefits, with tax handled for you. Metabase is where you turn that billing activity into shared, trustworthy revenue dashboards. This guide covers two complementary paths: a lightweight MCP + CLI route that pulls live data with the Polar MCP server and loads a CSV into Metabase with the Metabase CLI for quick analysis, and a durable pipeline route that syncs Polar into a database so you can build MRR, net-revenue, and churn dashboards anyone can read.

Heads up: Metabase connects to databases and warehouses — it does not ship a native Polar connector. For dashboards that need history and reliability, you'll sync Polar into a database first (covered below). As merchant of record, gross and net revenue differ — model both.

How do you connect Polar to Metabase?

Most teams combine both routes: use the Polar 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.

1 · MCP + CLI route (AI-assisted)

Live data in, quick analysis out

Pair the official Polar MCP server (to look up live orders, subscriptions, and customers) with the Metabase CLI, whose upload command loads a CSV into Metabase as a ready-to-query table and model.

Best for
  • Quick lookups like "which subscriptions renewed this week?"
  • Loading a Polar CSV export into Metabase in seconds
  • Spot-checks and one-off analyses without a warehouse
Trade-offs
  • Great for exploration, not governed revenue reporting
  • Use a read-only Polar access token so analysis can't trigger writes
  • CSV uploads are snapshots — refresh or move to the pipeline for history
2 · Pipeline route (warehouse-backed)

Durable dashboards with history

Sync Polar via its API and webhooks into a database, then point Metabase at it.

Best for
  • MRR, net-revenue, and churn dashboards the team relies on
  • Product-mix and cohort analysis over quarters
  • Joining billing data with product usage and marketing data
Trade-offs
  • Requires a destination database and a sync to maintain
  • As merchant of record, gross and net differ — model both
  • Reconcile against the Polar dashboard before anyone trusts the numbers

What can you analyze from Polar data in Metabase?

  • MRR and ARR — recurring revenue now and its monthly movement
  • Net revenue — what lands after Polar fees and tax (merchant of record)
  • Churn and retention — customer and revenue churn, gross and net retention
  • Orders and products — subscription vs. one-time revenue by product
  • LTV and ARPU — value per customer and per product
  • Refunds and disputes — their impact on net revenue

Which Polar dashboards should you build in Metabase?

For: Founders, finance

MRR & net revenue

Recurring revenue and what actually lands after fees and tax.

  • MRR and ARR right now (number + trend)
  • Net revenue after Polar fees and tax (line)
  • MRR movement: new, expansion, churn (waterfall)
  • Gross vs. net revenue by month (dual bar)
For: Growth, RevOps

Subscriptions & churn

The active base and where it leaks.

  • Active subscriptions by product (bar)
  • Customer and revenue churn (dual line)
  • New vs. canceled subscriptions per month (bar)
  • Renewals due in the next 30 days (table)
For: Growth, product

Orders & products

One-time and recurring sales across your catalog.

  • Orders and revenue by product (bar)
  • Subscription vs. one-time revenue split (pie)
  • Checkout conversion (line)
  • Discounts redeemed and their revenue impact (table)
For: Finance, leadership

Cohorts & LTV

Does each signup cohort pay back?

  • Revenue retention by signup-month cohort (heatmap)
  • Cumulative LTV by cohort (line)
  • ARPU by product (table)
  • Refunds and disputes by month (bar)

How do you use the Polar MCP server with the Metabase CLI?

Pair the Polar MCP server with the Metabase CLI for fast, hands-on analysis. Polar hosts a first-party remote MCP server that looks up live orders, subscriptions, and customers; the Metabase CLI's upload command loads a CSV into Metabase and creates a ready-to-query table and model. For analysis, scope the Polar access token to read-only.

Example workflow

  • Ask the Polar MCP which subscriptions renewed or canceled this week, or list a customer's recent orders and benefits.
  • Export the customers, subscriptions, and orders you want to keep as CSVs.
  • Run mb upload csv to load them into Metabase as tables and models, then build questions and dashboards on top.

Be honest about the limits

  • The Polar 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.
  • Scope the Polar access token to read-only so analysis can't trigger writes.
  • mb upload csv needs an uploads database configured under Admin → Settings → Uploads.

How do you set up the Polar MCP server and the Metabase CLI?

Polar MCPofficial

Endpoint
https://mcp.polar.sh/mcp/polar-mcp
Sandbox
https://mcp.polar.sh/mcp/polar-sandbox
Transport
Remote (Streamable HTTP)
Auth
OAuth or an access token (Bearer)

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)
ClaudeClaude Code CLI
# Polar (remote, access token) — production
claude mcp add --transport http polar https://mcp.polar.sh/mcp/polar-mcp \
  --header "Authorization: Bearer <YOUR_POLAR_ACCESS_TOKEN>"
Cursor~/.cursor/mcp.json or .cursor/mcp.json
{
  "mcpServers": {
    "polar": {
      "url": "https://mcp.polar.sh/mcp/polar-mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_POLAR_ACCESS_TOKEN>"
      }
    }
  }
}

Use the polar-sandbox endpoint to test against sandbox data first. Create an access token in the Polar dashboard, and scope it to read-only for analysis work.

TerminalLoad a Polar CSV with the Metabase CLI
# 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 Polar CSV export — creates a table AND a model
mb upload csv --file polar-subscriptions.csv --collection root

# Refresh that same table later from a new export
mb upload replace <table-id> --file polar-subscriptions.csv

The Metabase CLI stores its credentials securely after mb auth login.

Verify before shipping: confirm an uploads database is enabled under Admin → Settings → Uploads (Metabase docs) and the current Polar MCP setup in the Polar docs. Scope the Polar access token to read-only for analysis work.

Can you generate a Polar dashboard with AI?

Yes. Use the prompt below with any assistant that can run the Polar MCP server and the Metabase CLI. It works end to end: if Polar tables already exist in Metabase it analyzes those; otherwise it pulls the data over the Polar MCP, loads it with mb upload csv, then builds the dashboard — normalizing MRR and skipping cards it has no data for.

Prompt for creating a Polar Revenue Overview dashboard
Create a polished Metabase dashboard for Polar revenue analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.

Goal: Help founders and finance leaders understand recurring revenue, net
revenue after fees/tax, subscriptions, churn, and product mix from Polar data.

Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for Polar tables and
  models). If durable Polar 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 Polar MCP server using a read-only
  access token: customers, subscriptions, products, prices, orders, and refunds.
  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, Prices,
Orders, Benefits, Discounts, and Refunds. Inspect the actual tables and column
names first.

Important:
- Build on whatever data is present; don't claim Metabase connects natively to
  Polar — it reads a database or CLI-uploaded tables.
- Polar is a merchant of record: separate gross revenue from net (after Polar
  fees and tax). Report net for what the business keeps.
- Compute MRR from active subscriptions, normalizing every price to a monthly
  amount and converting to a single reporting currency.
- Separate subscription revenue from one-time product sales.
- Exclude refunds from net revenue and show their impact separately.
- 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: Polar Revenue Overview

Sections:
1. Executive summary (KPI cards): MRR; ARR; Net revenue this month; Active
   subscriptions; Net new MRR; Revenue churn %.
2. MRR & net revenue: MRR movement by month; Gross vs. net revenue.
3. Subscriptions & churn: Active subscriptions by product; Customer vs. revenue
   churn; New vs. canceled.
4. Orders & products: Orders and revenue by product; Subscription vs. one-time
   split; Checkout conversion.
5. Cohorts & LTV: Revenue retention by cohort; Cumulative LTV; ARPU by product.

Filters: Product, Price, Currency, Country, Date range.

Reuse the models Metabase auto-created from uploaded CSVs, or (for a warehouse)
create reusable models: modeled_polar_subscriptions, modeled_polar_orders, and
modeled_polar_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 the
Polar dashboard. Keep it practical, dense, and executive-readable. Avoid vanity
metrics.

How do you build the Polar → Metabase pipeline?

For dashboards that need history and reliability, land Polar data in a database first, then connect Metabase to that database.

No paid tool required. A fully free stack: a small dlt or hand-written script (extract) → a free Postgres database like Neon or Supabase (load) → a scheduler such as GitHub Actions cron (host) → Metabase (visualize). For hosting and scheduling details, see our data pipeline guide.

Connector options

  • dlt / custom pipeline (free, code) — wrap the Polar API in a Python pipeline when you want full control over shaping and scheduling.
  • Polar API (free, raw) — paginate customers, subscriptions, orders, and products into your own pipeline.
  • Webhooks (free, events) — stream order and subscription lifecycle events into a table for near-real-time dashboards.

Notes

  • Land raw tables first, then build clean models on top.
  • Amounts are typically in the smallest currency unit — divide in a model layer.
  • Separate gross (customer paid) from net (after Polar fees and tax) — they answer different questions.
  • MRR is derived, not stored: build it from active subscriptions and normalized prices.

How should you model Polar data in Metabase?

Core tables

ConceptGrainKey columns
customersone row per customerid, email, created_at, country
subscriptionsone row per subscriptionid, customer_id, product_id, status, current_period_end, canceled_at
ordersone row per orderid, customer_id, product_id, amount, tax_amount, fee_amount, status, created_at
productsone row per productid, name, is_recurring
pricesone row per priceid, product_id, amount, currency, recurring_interval

Modeling advice

  • Build a modeled_polar_mrr table: one row per subscription per month with a normalized monthly amount.
  • Model both gross and net revenue so finance sees what lands after fees/tax.
  • Separate one-time product orders from recurring subscription revenue so they don't inflate MRR.
  • Normalize all prices to a monthly figure and a single reporting currency.
  • Reconcile modeled revenue against the Polar dashboard.

Which Polar metrics should you track in Metabase?

MetricDefinitionNotes
MRRActive subscriptions' normalized monthly amount.Exclude one-time orders.
Net revenueGross − Polar fees − tax.What the business actually keeps (merchant of record).
Revenue churn rateChurned MRR ÷ MRR at period start.Track separately from customer churn.
Net revenue retention(Start + expansion − contraction − churn) ÷ start MRR.Over 100% = expansion beats churn.
ARPUMRR ÷ active customers.Pick a grain and keep it.
Refund rateRefunded orders ÷ paid orders.Shows quality and fraud pressure.

What SQL powers Polar dashboards in Metabase?

These assume the modeled tables above (PostgreSQL dialect, amounts in minor units). Adjust identifiers to match your schema.

Current MRR and ARRPostgreSQL

Sum a monthly per-subscription MRR model.

-- Requires a monthly MRR model built from Polar subscriptions + prices
SELECT
  ROUND(SUM(mrr), 2)       AS mrr,
  ROUND(SUM(mrr) * 12, 2)  AS arr,
  COUNT(*)                 AS active_subscriptions
FROM modeled_polar_mrr
WHERE month = date_trunc('month', CURRENT_DATE);
Gross vs. net revenue by monthPostgreSQL

Net revenue is what lands after Polar fees and tax.

-- Gross vs. net revenue (net = after Polar fees and tax)
SELECT
  date_trunc('month', created_at)                     AS month,
  ROUND(SUM(amount) / 100.0, 2)                       AS gross_revenue,
  ROUND(SUM(amount - tax_amount - fee_amount) / 100.0, 2) AS net_revenue
FROM orders
WHERE status = 'paid'
GROUP BY 1
ORDER BY 1;
Orders and revenue by productPostgreSQL

Where revenue comes from across your catalog.

SELECT
  p.name                                      AS product,
  COUNT(*)                                    AS orders,
  ROUND(SUM(o.amount) / 100.0, 2)             AS gross_revenue,
  COUNT(*) FILTER (WHERE o.is_subscription)   AS recurring_orders
FROM orders o
JOIN products p ON p.id = o.product_id
WHERE o.status = 'paid'
GROUP BY p.name
ORDER BY gross_revenue DESC;

What are common mistakes when analyzing Polar in Metabase?

Treating a live MCP lookup or a one-off CSV as governed revenue reporting.→ Use the Polar MCP and CSV uploads for lookups and triage; build warehouse-backed Metabase dashboards for anything finance depends on.
Reporting gross as if it were net.→ Polar is a merchant of record — subtract fees and tax to see what the business keeps.
Counting one-time orders as MRR.→ MRR is recurring only — keep one-time product sales in a separate line.
Leaving amounts in minor units.→ Divide in a model layer so every chart reads in real money.
Never reconciling with the Polar dashboard.→ Sanity-check modeled MRR and revenue against Polar's own reports before trusting them.

Related analytics

Related metrics

Related integrations

FAQ

Does Metabase connect natively to Polar?
No. Metabase reads SQL databases and warehouses. Sync Polar into a database first (its API and webhooks), then connect Metabase to that database.
How do I quickly analyze Polar data without a warehouse?
Pull the objects you need with the Polar MCP server (use a read-only access token), export them to CSV, and run `mb upload csv --file data.csv` with the Metabase CLI. It creates a table and a model you can build questions on right away. You'll need an uploads database enabled under Admin → Settings → Uploads. Refresh later with `mb upload replace`, or move to the pipeline route when you need history.
What does merchant of record change about my metrics?
Polar collects and remits tax and takes its fee, so gross (what the customer paid) and net (what you keep) differ. Model both and report net for business performance.
Can I test against sandbox data first?
Yes. Polar offers a sandbox environment — point your sync or the polar-sandbox MCP endpoint at it and use a sandbox token to validate your setup before touching production data.