Skip to main content
Glama

Lago MCP by usefulapi

Server Details

Read Lago customers, subscriptions, invoices, usage and revenue analytics; write events.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
80.4% over 57 days
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
m190/usefulapi-mcp
GitHub Stars
0

TDQS

A3.6/5.0

Scored across 24 tools

Disambiguation5/5

Each tool targets a distinct entity and action (e.g., lago_get_customer vs. lago_create_customer, lago_list_invoices vs. lago_get_invoice), with no overlapping purposes. The separation between analytics, customer, invoice, subscription, and other resource types is clear.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with lower_snake_case and the 'lago_' prefix. Actions like 'get', 'list', 'create', and 'retrieve-related' (e.g., lago_get_customer_current_usage) are uniform, making the naming predictable.

Tool Count4/5

With 24 tools, the server covers a broad range of billing/analytics operations. While slightly high, each tool serves a distinct purpose for reading or creating core entities and analytics. The count is well-scoped for its domain.

Completeness2/5

The server overwhelmingly focuses on read operations (list/get) with only two write tools (create_customer, create_event). Missing CRUD for invoices, subscriptions, plans, add-ons, coupons, credit notes, and wallets limits agents to mostly read-only workflows, creating significant gaps for managing billing lifecycles.

Available Tools

24 tools
lago_analytics_gross_revenueAnalytics: gross revenue
Read-only
Inspect

Monthly gross revenue (finalized invoice payments + advance fees, net of tax/discounts). Lago API: GET /analytics/gross_revenue.

ParametersJSON Schema
NameRequiredDescriptionDefault
monthsNoNumber of months to return.
currencyNoCurrency filter (ISO 4217, e.g. USD).
external_customer_idNoFilter revenue at the customer level.
lago_analytics_mrrAnalytics: MRR
Read-only
Inspect

Monthly recurring revenue (MRR) from subscription fees. Lago API: GET /analytics/mrr.

ParametersJSON Schema
NameRequiredDescriptionDefault
monthsNoNumber of months to return.
currencyNoCurrency filter (ISO 4217, e.g. USD).
lago_create_customerCreate customer
Destructive
Inspect

Creates a customer in Lago (additive). Lago API: POST /customers with body { "customer": { ... } }.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNoCustomer URL.
nameNoFull name of the customer.
emailNoEmail of the customer.
phoneNoPhone number.
countryNoBilling country code (ISO 3166 alpha-2).
currencyNoCustomer currency (ISO 4217).
metadataNoStructured metadata to attach to the customer (Lago expects an array of {key, value, display_in_invoice?} objects).
timezoneNoCustomer timezone, e.g. America/New_York.
legal_nameNoLegal company name.
external_idYesThe customer external unique identifier (required, provided by your application).
legal_numberNoLegal company number.
tax_identification_numberNoTax identification number.
lago_create_eventCreate usage event
Destructive
Inspect

Records a usage/metering event in Lago. This WILL be counted toward the customer's usage and affects billing. Idempotent via transaction_id. Lago API: POST /events with body { "event": { ... } }.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesThe billable metric code this event targets (required).
timestampNoUnix timestamp in seconds (or ISO); defaults to event reception time.
propertiesNoAdditional event properties used to compute the fee (required for sum/max/unique aggregations).
transaction_idYesUnique identifier for the event — the idempotency key (required).
external_subscription_idYesThe subscription external id to link the event to (required).
precise_total_amount_centsNoPrecise total amount in cents, used by the dynamic pricing model.
lago_get_billable_metricGet billable metric
Read-only
Inspect

Retrieve a single billable metric by code. Lago API: GET /billable_metrics/{code}.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesThe billable metric's unique code.
lago_get_credit_noteGet credit note
Read-only
Inspect

Retrieve a single credit note by its Lago id. Lago API: GET /credit_notes/{lago_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
lago_idYesThe credit note's Lago id (UUID).
lago_get_customerGet customer
Read-only
Inspect

Retrieve a single customer by external id. Lago API: GET /customers/{external_customer_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
external_customer_idYesThe customer external unique identifier (from your application).
lago_get_customer_current_usageGet customer current usage
Read-only
Inspect

Retrieve a customer's usage-based billing data for the current period. Lago API: GET /customers/{external_customer_id}/current_usage.

ParametersJSON Schema
NameRequiredDescriptionDefault
apply_taxesNoWhether taxes should be applied. Defaults to true.
external_customer_idYesThe customer external unique identifier.
external_subscription_idYesThe subscription's external unique identifier (required).
lago_get_customer_past_usageGet customer past usage
Read-only
Inspect

Retrieve a customer's usage-based billing data for past periods. Lago API: GET /customers/{external_customer_id}/past_usage.

ParametersJSON Schema
NameRequiredDescriptionDefault
periods_countNoNumber of past billing periods to return.
billable_metric_codeNoFilter usage to a specific billable metric code.
external_customer_idYesThe customer external unique identifier.
external_subscription_idYesThe subscription's external unique identifier (required).
lago_get_customer_portal_urlGet customer portal URL
Read-only
Inspect

Get a customer's billing portal URL. Lago API: GET /customers/{external_customer_id}/portal_url.

ParametersJSON Schema
NameRequiredDescriptionDefault
external_customer_idYesThe customer external unique identifier.
lago_get_invoiceGet invoice
Read-only
Inspect

Retrieve a single invoice by its Lago id. Lago API: GET /invoices/{lago_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
lago_idYesThe invoice's Lago id (UUID).
lago_get_planGet plan
Read-only
Inspect

Retrieve a single plan by code. Lago API: GET /plans/{code}.

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesThe plan's unique code.
lago_get_subscriptionGet subscription
Read-only
Inspect

Retrieve a single subscription by external id. Lago API: GET /subscriptions/{external_id}.

ParametersJSON Schema
NameRequiredDescriptionDefault
external_idYesThe subscription's external unique identifier.
lago_list_add_onsList add-ons
Read-only
Inspect

List add-ons, paginated. Lago API: GET /add_ons.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_billable_metricsList billable metrics
Read-only
Inspect

List billable metrics, paginated. Lago API: GET /billable_metrics.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_couponsList coupons
Read-only
Inspect

List coupons, paginated. Lago API: GET /coupons.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_credit_notesList credit notes
Read-only
Inspect

List credit notes, optionally filtered by customer. Lago API: GET /credit_notes.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
external_customer_idNoFilter by customer external id.
lago_list_customersList customers
Read-only
Inspect

List customers in Lago, paginated. Lago API: GET /customers.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_customer_subscriptionsList customer subscriptions
Read-only
Inspect

List a customer's subscriptions. Lago API: GET /customers/{external_customer_id}/subscriptions.

ParametersJSON Schema
NameRequiredDescriptionDefault
external_customer_idYesThe customer external unique identifier.
lago_list_feesList fees
Read-only
Inspect

List fees, optionally filtered by customer, subscription, or fee type. Lago API: GET /fees.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
fee_typeNoFilter by fee type: charge | add_on | subscription | credit | commitment.
per_pageNoNumber of records per page.
external_customer_idNoFilter by customer external id.
external_subscription_idNoFilter by subscription external id.
lago_list_invoicesList invoices
Read-only
Inspect

List invoices, optionally filtered by customer, status, payment status, or issuing date. Lago API: GET /invoices.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
statusNoFilter by a single status: draft | finalized | failed | pending | voided.
per_pageNoNumber of records per page.
payment_statusNoFilter by a single payment status: pending | failed | succeeded.
issuing_date_toNoFilter invoices issued on/before this date (yyyy-mm-dd).
issuing_date_fromNoFilter invoices issued on/after this date (yyyy-mm-dd).
external_customer_idNoFilter by customer external id.
lago_list_plansList plans
Read-only
Inspect

List billing plans, paginated. Lago API: GET /plans.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
lago_list_subscriptionsList subscriptions
Read-only
Inspect

List subscriptions, optionally filtered by customer, plan, or status. Lago API: GET /subscriptions.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
statusNoFilter by a single status: active | pending | canceled | terminated. Default active.
per_pageNoNumber of records per page.
plan_codeNoFilter by plan code.
external_customer_idNoFilter by customer external id.
lago_list_walletsList wallets
Read-only
Inspect

List a customer's prepaid credit wallets. Lago API: GET /customers/{external_customer_id}/wallets.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination.
per_pageNoNumber of records per page.
external_customer_idYesThe customer external unique identifier.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 24 tool updates
    • Changedlago_analytics_gross_revenue1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_analytics_mrr1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_create_customer1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_create_event5 fields changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
      • removedInput schema / properties / properties / additionalProperties / anyOf
        Removed value: -[
        -  {
        -    "type": "string"
        -  },
        -  {
        -    "type": "number"
        -  }
        -]
      • addedInput schema / properties / properties / additionalProperties / type
        Added value: +[
        +  "string",
        +  "number"
        +]
      • removedInput schema / properties / timestamp / anyOf
        Removed value: -[
        -  {
        -    "type": "string"
        -  },
        -  {
        -    "type": "number"
        -  }
        -]
      • addedInput schema / properties / timestamp / type
        Added value: +[
        +  "string",
        +  "number"
        +]
    • Changedlago_get_billable_metric1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_get_credit_note1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_get_customer1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_get_customer_current_usage1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_get_customer_past_usage1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_get_customer_portal_url1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_get_invoice1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_get_plan1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_get_subscription1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_add_ons1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_billable_metrics1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_coupons1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_credit_notes1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_customer_subscriptions1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_customers1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_fees1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_invoices1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_plans1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_subscriptions1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlago_list_wallets1 field changed
      • changedInput schema / $schema
        Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. 24 tool updates
    • First observedlago_analytics_gross_revenue
    • First observedlago_analytics_mrr
    • First observedlago_create_customer
    • First observedlago_create_event
    • First observedlago_get_billable_metric
    • First observedlago_get_credit_note
    • First observedlago_get_customer
    • First observedlago_get_customer_current_usage
    • First observedlago_get_customer_past_usage
    • First observedlago_get_customer_portal_url
    • First observedlago_get_invoice
    • First observedlago_get_plan
    • First observedlago_get_subscription
    • First observedlago_list_add_ons
    • First observedlago_list_billable_metrics
    • First observedlago_list_coupons
    • First observedlago_list_credit_notes
    • First observedlago_list_customer_subscriptions
    • First observedlago_list_customers
    • First observedlago_list_fees
    • First observedlago_list_invoices
    • First observedlago_list_plans
    • First observedlago_list_subscriptions
    • First observedlago_list_wallets

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables diagnosing Metronome usage-billing issues by inspecting events, running deterministic checks, and drafting customer replies through natural language in Claude Code.
    45 npm
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants such as Claude, ChatGPT and Cursor to manage an open-source subscription backend: setting up products, entitlements, offerings and packages, looking up customers, granting or revoking access, adding webhooks, and tracking RevenueCat imports. Tool names mirror RevenueCat's MCP tools, so existing prompts work unchanged.
    38
    17 npm
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    Provides real-time Stripe subscription analytics including MRR, churn, failed payments, and expiring trials. Enables AI assistants to answer business health questions like 'How's my business doing?'
    8
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.