# Lago Billing Reporting Tool & MCP Connector | Datapipe

> See every Lago subscription and invoice in one report. Review subscriptions and invoices, look up customers and compare billing intervals across plans.

Page: https://trydatapipe.com/integrations/lago
Site index: https://trydatapipe.com/llms.txt

## What Datapipe reads from Lago

- Reads: 67 report fields across 4 datasets
- Setup: Paste a key or token
- Refresh: daily to every 15 minutes
- Changes: 1 change action

### Reports

- **Subscriptions**: Current Lago subscriptions in every status, not filtered by report dates, with plan amount, billing period and end dates in the plan currency. Monthly plan amount spreads an active subscription's base plan amount over its plan interval; usage charges are billed on top.
- **Invoices**: Lago invoices issued in the report period with status, payment status, fees, taxes, discounts, credits, and amounts paid and due in each invoice's currency. Billed invoices are finalized invoices; average invoice value and collection rate count only those. Collected counts payments and credit notes that settle an invoice.
- **Lago customers**: Billing customers in Lago with external ID, name, email, currency, and creation date.
- **Lago plans**: Billing plans in Lago with code, name, interval, amount, currency, and creation date.

### Metrics and fields

Plan Code, Status, Billing Time, Started At, Subscription Name, Currency, Plan Amount, Created At, Ends At, Canceled At, Terminated At, Trial Ended At.

## Changes your assistant can make in Lago

- **Create a customer**: Creates one customer record in Lago without starting a subscription or issuing an invoice.

Changes stay off until the owner, an admin or a project manager allows them for this data source. Allowed changes apply right away unless you set them to wait for approval. Every change is recorded with who made it and the values before and after. Assistants cannot widen their own access.

## Set up the Lago MCP connector

1. Add Lago as a data source in Datapipe.
2. Add the MCP connector address `https://trydatapipe.com/mcp` in ChatGPT or Claude under Plugins, or in Grok under Connectors.
3. Sign in to Datapipe and choose the project your assistant can use.

Lago subscriptions with plan code, status, plan amount and billing period, invoices with fees, taxes, coupon discounts, credits, payment status and amounts paid and due, plus customers and plans. It can also make the Lago changes you allow.

Assistant setup guide: https://trydatapipe.com/docs?guide=ai-and-mcp

## Every way to use Lago data

Add Lago once as a data source in a project. Every option below uses the same connection.

### Spreadsheets and BI tools (every plan)

- Google Sheets: a sheet with your Lago report that refreshes on its own.
- Excel: a live web query (.iqy) that refreshes the report in Excel.
- Power BI: a live data source file (.pbids) that loads the report.
- Data Studio: charts that read the Google Sheet Datapipe keeps up to date, or a ready-made report template.
- Google Drive: CSV, Excel and optional JSON files in a Drive folder you pick, hourly, daily or weekly.
- CSV and JSON downloads straight from the report.

### Client reports with Report Studio (add-on, free for 30 days)

- Report Studio: build a branded report from Lago and your other data sources with drag and drop.
- Export the report as PDF or PowerPoint, with your logo on each report.
- Publish it to your white-label client portal.
- Email it on a schedule: after each refresh, weekly or monthly.
- Approve an edition to keep that period's figures fixed.
- Gemini Enterprise: read the data feeds you publish from Report Studio.

### AI assistants (every plan)

- ChatGPT, Claude and Grok: add the MCP connector at https://trydatapipe.com/mcp and ask about Lago in a sentence, next to your other data sources.
- Your assistant can make the Lago changes you allow, and those changes can wait for approval.
- With Report Studio, your assistant can draft a report for you to publish.

### Developers (paid plans, from Starter)

- Signed webhooks (HMAC) that send each refresh to your own endpoint.
- The Project API (/api/v1) with scoped project keys to query reports.

### Warehouses and storage (Pro, Agency and Agency Plus)

- BigQuery: A warehouse table for the same columns.
- ClickHouse: Push report rows straight into a ClickHouse table over HTTPS with an API key or user credentials.
- AWS S3: Write fresh report files (NDJSON or CSV) straight into your S3 bucket using IAM access keys.
- Amazon Redshift: Load report rows into Amazon Redshift over HTTPS via the Redshift Data API with IAM access keys.
- Firebolt: Push report rows straight into a Firebolt database over HTTPS using a Service Account ID and secret.
- PostgreSQL: Write fresh report rows straight into a PostgreSQL table using standard database credentials.
- MySQL: Write fresh report rows straight into a MySQL table using standard database credentials.
- Snowflake: Push report rows into Snowflake over HTTPS using a Programmatic Access Token (no OAuth required).
- Databricks SQL: Deliver report rows into Databricks SQL tables using a Personal Access Token and SQL Warehouse ID.
- Cloudflare R2: Write NDJSON or CSV exports directly to your Cloudflare R2 bucket with S3-compatible access keys.

## Works well with Lago

- [Stripe](https://trydatapipe.com/integrations/stripe.md): Do Lago invoice totals by issuing date match the Stripe charges collected that week?
- [HubSpot](https://trydatapipe.com/integrations/hubspot.md): Did new Lago subscriptions per plan code rise in the months HubSpot closed more deals?
- [ChartMogul](https://trydatapipe.com/integrations/chartmogul.md): Does ChartMogul’s MRR trend follow the Lago invoice totals issued each month?
- [Intercom](https://trydatapipe.com/integrations/intercom.md): Do Lago customers with failed invoices open more Intercom conversations that month?

## Questions

### What does this Lago connector include?

Datapipe reads subscriptions with plan amount and billing period, invoices with fees, taxes, credits and payment status, customers and billing plans.

### Can I change Lago from ChatGPT or Claude?

Yes, when the change is allowed for you in Datapipe. You can add a customer from your own customer ID, name and email, and you can require approval before it applies.

### Are invoice totals shown in cents?

No. Lago stores amounts in the currency’s smallest unit, and Datapipe converts each total into the invoice currency, so 124000 cents shows as 1,240.00.

### Which subscriptions are included?

All of them: active, pending, incomplete, canceled and terminated. Filter by status in your report to focus on live plans or on churn.

### Why does collection rate leave out some invoices?

It counts finalized invoices only, as the amount collected over the amount billed. Payments and credit notes that settle an invoice count as collected, and Report Studio divides the summed amounts so totals stay right.

### Does Datapipe have a Lago MCP server?

Yes. Add the Datapipe MCP connector in ChatGPT as a custom MCP plugin, or add it as a custom connector in Claude or Grok. Lago subscriptions with plan code, status, plan amount and billing period, invoices with fees, taxes, coupon discounts, credits, payment status and amounts paid and due, plus customers and plans. It can also make the Lago changes you allow.

### Why use Datapipe if my assistant can already connect to Lago?

Datapipe puts Lago in the same project as your other data sources, so one question can compare them over the same dates. You choose which Lago changes your assistant can make and which ones wait for approval, and every change is recorded. When you want the answer every week, your assistant can draft a Report Studio report. Once you publish it, Datapipe refreshes and emails it on your schedule.

### How do I connect Lago to Data Studio?

Add Lago as a data source in Datapipe, create a report and choose Data Studio (formerly Looker Studio) as the destination. It is included on every plan, there is nothing extra to install, and the report refreshes on its own.

### How much does it cost?

Free to start. Paid plans add more data sources and refresh faster.

### How fresh is the data?

Free and Starter refresh once a day. Pro refreshes every hour. Agency refreshes every 15 minutes on any 50 data sources you pick, Agency Plus on any 100, and hourly on the rest.

### Who can turn changes on or off?

The workspace owner, workspace admins and project managers. Changes start off. They choose which changes are allowed for each data source and who can make them: project operators and managers, selected teammates, and the AI tools those people connect. They can change this at any time.

### Can changes need approval first?

Yes, if you want. For each data source, approval can cover risky changes only (deleting, sending, publishing, refunds and price changes) or every change. You can also switch it on for one person, such as an intern. Those changes wait on the Changes page until the owner, an admin or a project manager approves them. Nobody but the owner approves their own change.

### How many data sources does this use?

One for each Lago account you add to a project. Adding the same account to another project counts again. Reports and destinations do not use extra data sources.

## Links

- [Lago page](https://trydatapipe.com/integrations/lago)
- [Start free](https://trydatapipe.com/signup)
- [Pricing](https://trydatapipe.com/pricing)
- [Datapipe facts](https://trydatapipe.com/facts.md)
- [All data sources](https://trydatapipe.com/integrations)
