MCP-Server

lago

io.usefulapi/lago
Business & Betrieb Daten & Analytik Payments & Fintech Öffentlich und erreichbar MCP 2026-07-28

Was dieses MCP kann

Manages Lago billing data including customers, plans, subscriptions, usage events, invoices, credit notes, wallets, and revenue and MRR analytics.

lago_analytics_gross_revenue
Analytics: gross revenue
Monthly gross revenue (finalized invoice payments + advance fees, net of tax/discounts). Lago API: GET /analytics/gross_revenue.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'months': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of months to return.', 'exclusiveMinimum': 0}, 'currency': {'type': 'string', 'description': 'Currency filter (ISO 4217, e.g. USD).'}, 'external_customer_id': {'type': 'string', 'description': 'Filter revenue at the customer level.'}}}
lago_analytics_mrr
Analytics: MRR
Monthly recurring revenue (MRR) from subscription fees. Lago API: GET /analytics/mrr.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'months': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of months to return.', 'exclusiveMinimum': 0}, 'currency': {'type': 'string', 'description': 'Currency filter (ISO 4217, e.g. USD).'}}}
lago_create_customer
Create customer
Creates a customer in Lago (additive). Lago API: POST /customers with body { "customer": { ... } }.
Destruktiv
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['external_id'], 'properties': {'url': {'type': 'string', 'description': 'Customer URL.'}, 'name': {'type': 'string', 'description': 'Full name of the customer.'}, 'email': {'type': 'string', 'description': 'Email of the customer.'}, 'phone': {'type': 'string', 'description': 'Phone number.'}, 'country': {'type': 'string', 'description': 'Billing country code (ISO 3166 alpha-2).'}, 'currency': {'type': 'string', 'description': 'Customer currency (ISO 4217).'}, 'metadata': {'type': 'array', 'items': {'type': 'object', 'required': ['key', 'value'], 'properties': {'key': {'type': 'string', 'description': 'Metadata key.'}, 'value': {'type': 'string', 'description': 'Metadata value.'}, 'display_in_invoice': {'type': 'boolean', 'description': "Show this pair on the customer's invoices."}}}, 'description': 'Structured metadata to attach to the customer (Lago expects an array of {key, value, display_in_invoice?} objects).'}, 'timezone': {'type': 'string', 'description': 'Customer timezone, e.g. America/New_York.'}, 'legal_name': {'type': 'string', 'description': 'Legal company name.'}, 'external_id': {'type': 'string', 'description': 'The customer external unique identifier (required, provided by your application).'}, 'legal_number': {'type': 'string', 'description': 'Legal company number.'}, 'tax_identification_number': {'type': 'string', 'description': 'Tax identification number.'}}}
lago_create_event
Create usage event
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": { ... } }.
Destruktiv
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['transaction_id', 'code', 'external_subscription_id'], 'properties': {'code': {'type': 'string', 'description': 'The billable metric code this event targets (required).'}, 'timestamp': {'type': ['string', 'number'], 'description': 'Unix timestamp in seconds (or ISO); defaults to event reception time.'}, 'properties': {'type': 'object', 'description': 'Additional event properties used to compute the fee (required for sum/max/unique aggregations).', 'propertyNames': {'type': 'string'}, 'additionalProperties': {'type': ['string', 'number']}}, 'transaction_id': {'type': 'string', 'description': 'Unique identifier for the event — the idempotency key (required).'}, 'external_subscription_id': {'type': 'string', 'description': 'The subscription external id to link the event to (required).'}, 'precise_total_amount_cents': {'type': 'string', 'description': 'Precise total amount in cents, used by the dynamic pricing model.'}}}
lago_get_billable_metric
Get billable metric
Retrieve a single billable metric by code. Lago API: GET /billable_metrics/{code}.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['code'], 'properties': {'code': {'type': 'string', 'description': "The billable metric's unique code."}}}
lago_get_credit_note
Get credit note
Retrieve a single credit note by its Lago id. Lago API: GET /credit_notes/{lago_id}.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['lago_id'], 'properties': {'lago_id': {'type': 'string', 'description': "The credit note's Lago id (UUID)."}}}
lago_get_customer
Get customer
Retrieve a single customer by external id. Lago API: GET /customers/{external_customer_id}.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['external_customer_id'], 'properties': {'external_customer_id': {'type': 'string', 'description': 'The customer external unique identifier (from your application).'}}}
lago_get_customer_current_usage
Get customer current usage
Retrieve a customer's usage-based billing data for the current period. Lago API: GET /customers/{external_customer_id}/current_usage.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['external_customer_id', 'external_subscription_id'], 'properties': {'apply_taxes': {'type': 'boolean', 'description': 'Whether taxes should be applied. Defaults to true.'}, 'external_customer_id': {'type': 'string', 'description': 'The customer external unique identifier.'}, 'external_subscription_id': {'type': 'string', 'description': "The subscription's external unique identifier (required)."}}}
lago_get_customer_past_usage
Get customer past usage
Retrieve a customer's usage-based billing data for past periods. Lago API: GET /customers/{external_customer_id}/past_usage.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['external_customer_id', 'external_subscription_id'], 'properties': {'periods_count': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of past billing periods to return.', 'exclusiveMinimum': 0}, 'billable_metric_code': {'type': 'string', 'description': 'Filter usage to a specific billable metric code.'}, 'external_customer_id': {'type': 'string', 'description': 'The customer external unique identifier.'}, 'external_subscription_id': {'type': 'string', 'description': "The subscription's external unique identifier (required)."}}}
lago_get_customer_portal_url
Get customer portal URL
Get a customer's billing portal URL. Lago API: GET /customers/{external_customer_id}/portal_url.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['external_customer_id'], 'properties': {'external_customer_id': {'type': 'string', 'description': 'The customer external unique identifier.'}}}
lago_get_invoice
Get invoice
Retrieve a single invoice by its Lago id. Lago API: GET /invoices/{lago_id}.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['lago_id'], 'properties': {'lago_id': {'type': 'string', 'description': "The invoice's Lago id (UUID)."}}}
lago_get_plan
Get plan
Retrieve a single plan by code. Lago API: GET /plans/{code}.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['code'], 'properties': {'code': {'type': 'string', 'description': "The plan's unique code."}}}
lago_get_subscription
Get subscription
Retrieve a single subscription by external id. Lago API: GET /subscriptions/{external_id}.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['external_id'], 'properties': {'external_id': {'type': 'string', 'description': "The subscription's external unique identifier."}}}
lago_list_add_ons
List add-ons
List add-ons, paginated. Lago API: GET /add_ons.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}}}
lago_list_billable_metrics
List billable metrics
List billable metrics, paginated. Lago API: GET /billable_metrics.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}}}
lago_list_coupons
List coupons
List coupons, paginated. Lago API: GET /coupons.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}}}
lago_list_credit_notes
List credit notes
List credit notes, optionally filtered by customer. Lago API: GET /credit_notes.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}, 'external_customer_id': {'type': 'string', 'description': 'Filter by customer external id.'}}}
lago_list_customers
List customers
List customers in Lago, paginated. Lago API: GET /customers.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}}}
lago_list_customer_subscriptions
List customer subscriptions
List a customer's subscriptions. Lago API: GET /customers/{external_customer_id}/subscriptions.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['external_customer_id'], 'properties': {'external_customer_id': {'type': 'string', 'description': 'The customer external unique identifier.'}}}
lago_list_fees
List fees
List fees, optionally filtered by customer, subscription, or fee type. Lago API: GET /fees.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'fee_type': {'type': 'string', 'description': 'Filter by fee type: charge | add_on | subscription | credit | commitment.'}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}, 'external_customer_id': {'type': 'string', 'description': 'Filter by customer external id.'}, 'external_subscription_id': {'type': 'string', 'description': 'Filter by subscription external id.'}}}
lago_list_invoices
List invoices
List invoices, optionally filtered by customer, status, payment status, or issuing date. Lago API: GET /invoices.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'status': {'type': 'string', 'description': 'Filter by a single status: draft | finalized | failed | pending | voided.'}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}, 'payment_status': {'type': 'string', 'description': 'Filter by a single payment status: pending | failed | succeeded.'}, 'issuing_date_to': {'type': 'string', 'description': 'Filter invoices issued on/before this date (yyyy-mm-dd).'}, 'issuing_date_from': {'type': 'string', 'description': 'Filter invoices issued on/after this date (yyyy-mm-dd).'}, 'external_customer_id': {'type': 'string', 'description': 'Filter by customer external id.'}}}
lago_list_plans
List plans
List billing plans, paginated. Lago API: GET /plans.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}}}
lago_list_subscriptions
List subscriptions
List subscriptions, optionally filtered by customer, plan, or status. Lago API: GET /subscriptions.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'status': {'type': 'string', 'description': 'Filter by a single status: active | pending | canceled | terminated. Default active.'}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}, 'plan_code': {'type': 'string', 'description': 'Filter by plan code.'}, 'external_customer_id': {'type': 'string', 'description': 'Filter by customer external id.'}}}
lago_list_wallets
List wallets
List a customer's prepaid credit wallets. Lago API: GET /customers/{external_customer_id}/wallets.
Nur Lesen
Eingabeschema
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['external_customer_id'], 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Page number for pagination.', 'exclusiveMinimum': 0}, 'per_page': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Number of records per page.', 'exclusiveMinimum': 0}, 'external_customer_id': {'type': 'string', 'description': 'The customer external unique identifier.'}}}
Geändert
lago_create_event
1. October 2026 02:42
Geändert
lago_create_customer
1. October 2026 02:42
Geändert
lago_analytics_mrr
1. October 2026 02:42
Geändert
lago_analytics_gross_revenue
1. October 2026 02:42
Geändert
lago_list_fees
1. October 2026 02:42
Geändert
lago_get_credit_note
1. October 2026 02:42
Geändert
lago_list_credit_notes
1. October 2026 02:42
Geändert
lago_list_wallets
1. October 2026 02:42
Geändert
lago_list_add_ons
1. October 2026 02:42
Geändert
lago_list_coupons
1. October 2026 02:42
Geändert
lago_get_billable_metric
1. October 2026 02:42
Geändert
lago_list_billable_metrics
1. October 2026 02:42
Geändert
lago_get_invoice
1. October 2026 02:42
Geändert
lago_list_invoices
1. October 2026 02:42
Geändert
lago_get_plan
1. October 2026 02:42
Geändert
lago_list_plans
1. October 2026 02:42
Geändert
lago_get_subscription
1. October 2026 02:42
Geändert
lago_list_subscriptions
1. October 2026 02:42
Geändert
lago_get_customer_portal_url
1. October 2026 02:42
Geändert
lago_list_customer_subscriptions
1. October 2026 02:42
Geändert
lago_get_customer_past_usage
1. October 2026 02:42
Geändert
lago_get_customer_current_usage
1. October 2026 02:42
Geändert
lago_get_customer
1. October 2026 02:42
Geändert
lago_list_customers
1. October 2026 02:42
Hinzugefügt
lago_create_event
17. September 2026 12:53
Hinzugefügt
lago_create_customer
17. September 2026 12:53
Hinzugefügt
lago_analytics_mrr
17. September 2026 12:53
Hinzugefügt
lago_analytics_gross_revenue
17. September 2026 12:53
Hinzugefügt
lago_list_fees
17. September 2026 12:53
Hinzugefügt
lago_get_credit_note
17. September 2026 12:53