Lago

Lago MCP Connector for Claude

A+

Manage your metering and usage-based billing with Lago — handle customers, subscriptions, plans, and events directly from your AI agent.

12 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect Lago to your AI agent to automate your metering and billing infrastructure. Lago is the open-source alternative to Stripe Billing, designed for complex usage-based pricing models.

What you can do

  • Customer Management — Create and update customer profiles with upsert_customer and retrieve details with get_customer.
  • Subscription Lifecycle — Assign plans to customers using create_subscription and monitor them with get_subscription.
  • Billing Infrastructure — Define billing plans with create_plan and set up create_billable_metric to track consumption.
  • Usage Tracking — Send real-time usage data with send_event or batch_events to trigger accurate billing.
  • Financial Operations — Manage wallets, apply coupons, and list invoices to keep your revenue operations running smoothly.

How it works

  1. Subscribe to this server
  2. Enter your Lago API Key
  3. Start managing your billing logic from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • SaaS Founders — quickly check customer subscription status or update plans without leaving the chat.
  • Growth Engineers — automate the creation of coupons and wallets for promotional campaigns.
  • Finance Teams — list invoices and verify billable metrics through natural language queries.
usage-based-billingmeteringsaas-metricssubscription-managementrevenue-operationsapi-integration

12 tools expose this connector's capabilities to your AI agent.

apply_coupon

Apply a coupon to a customer

batch_events

Send a batch of usage events

create_billable_metric

Create a billable metric

create_coupon

Create a coupon

create_plan

Create a new billing plan

create_subscription

Assign a plan to a customer (create subscription)

create_wallet

Create a wallet for prepaid credits

get_customer

Retrieve a customer by external ID

get_subscription

Retrieve a subscription by external ID

list_invoices

List all invoices

send_event

Send a usage event

upsert_customer

Requires an external_id. Create or update a customer in Lago

See how to talk to your AI agent using Lago.

Create a new customer in Lago with external ID 'user_123' and email 'dev@example.com'.

I've successfully created the customer record for 'user_123'. Their profile is now active in Lago and ready for subscriptions.

Show me the subscription details for ID 'sub_98765'.

Fetching subscription 'sub_98765'... It is currently active on the 'Premium' plan, started on 2023-10-01, and is set for monthly billing.

List all invoices for my Lago account.

I've retrieved the latest invoices. You have 3 pending invoices for this month and 12 paid invoices from the previous quarter. Would you like to see the details for a specific one?

Use the `send_event` tool. You'll need to provide the customer's external ID and the metric code to record the consumption in real-time.

Related Connectors