Lago MCP by usefulapi

io.usefulapi由 usefulapi.io 发布官方发布者v1.36.5更新于 Nov 8, 2026

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

发布方自己的服务:Ably MCP by usefulapi

已验证Streamable HTTP可网页运行金融数据与分析商业与电商

概览

AI 生成的概览

面向 Lago 计费的托管 MCP 服务器:读取客户、订阅、发票、用量与收入分析,并可写入用量事件。

可以做什么
  • 列出并查询客户、其订阅、当前与历史用量以及账单门户链接
  • 列出并查询订阅、套餐、计费指标、优惠券、附加项、钱包与费用
  • 列出并查询发票与贷项通知,可按客户、状态或日期筛选
  • 提供月度经常性收入与总收入分析
  • 创建客户,并记录会计入账单的用量/计量事件
  • 查看每月调用额度、提交功能请求、升级或取消付费方案
适用场景
适合用自然语言查询 Lago 账单数据,例如收入趋势、未付发票、某客户当前用量,或在不打开 Lago 后台的情况下记录计量事件。
运行要求
远程 streamable HTTP 端点,无需本地安装。只需填写服务器地址,通过 OAuth 登录,首次连接时粘贴 Lago API 密钥,密钥会被校验并按用户存储。免费方案每月 50 次工具调用,另有付费方案。
安装前请注意
需要提供 Lago API 密钥,并由第三方托管方按用户存储。有两个写入工具:创建客户和记录用量事件,后者会影响账单,且仅在提供 transaction_id 时才幂等。付费方案通过 Stripe 结账链接付款,取消后当期不退款。免费额度每月仅 50 次调用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Lago MCP by usefulapi,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.usefulapi%2Flago/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "lago-by-usefulapi": {
      "type": "http",
      "url": "https://lago.usefulapi.io/mcp"
    }
  }
}

README

Lago MCP by usefulapi

Query your Lago billing — customers, subscriptions, invoices, usage, and revenue analytics — and log usage events, from Claude, Cursor, or any MCP client. Hosted, no local install — connect with your Lago API key.

Live endpoint: https://lago.usefulapi.io/mcp · Homepage: https://usefulapi.io/lago

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://lago.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http lago https://lago.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "lago": {      "url": "https://lago.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Lago credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/lago/

On first connect you'll paste your Lago API key. It's validated, stored per-user, and scoped to you.

Tools

ToolTypeWhat it does
lago_list_customersreadList customers
lago_get_customerreadGet customer
lago_get_customer_current_usagereadGet customer current usage
lago_get_customer_past_usagereadGet customer past usage
lago_list_customer_subscriptionsreadList customer subscriptions
lago_get_customer_portal_urlreadGet customer portal URL
lago_list_subscriptionsreadList subscriptions
lago_get_subscriptionreadGet subscription
lago_list_plansreadList plans
lago_get_planreadGet plan
lago_list_invoicesreadList invoices
lago_get_invoicereadGet invoice
lago_list_billable_metricsreadList billable metrics
lago_get_billable_metricreadGet billable metric
lago_list_couponsreadList coupons
lago_list_add_onsreadList add-ons
lago_list_walletsreadList wallets
lago_list_credit_notesreadList credit notes
lago_get_credit_notereadGet credit note
lago_list_feesreadList fees
lago_analytics_gross_revenuereadAnalytics: gross revenue
lago_analytics_mrrreadAnalytics: MRR
lago_create_customerwriteCreate customer
lago_create_eventwriteCreate usage event
lago_usage_statusmetaUsage status (free-tier meter)
lago_request_featuremetaRequest a missing feature
lago_upgrademetaUpgrade to Pro or Pro+
lago_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with lago_upgrade (it returns a Stripe Checkout link). Cancel any time with lago_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running lago_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT — see LICENSE. Documentation only; the server is hosted.

来源:servers/lago/README.md,提交 4046075

工具

24

lago_list_customers

List customers

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

输入参数pageper_page

lago_get_customer

Get customer

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

输入参数external_customer_id必填

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.

输入参数apply_taxesexternal_customer_id必填external_subscription_id必填

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.

输入参数periods_countbillable_metric_codeexternal_customer_id必填external_subscription_id必填

lago_list_customer_subscriptions

List customer subscriptions

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

输入参数external_customer_id必填

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.

输入参数external_customer_id必填

lago_list_subscriptions

List subscriptions

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

输入参数pagestatusper_pageplan_codeexternal_customer_id

lago_get_subscription

Get subscription

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

输入参数external_id必填

lago_list_plans

List plans

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

输入参数pageper_page

lago_get_plan

Get plan

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

输入参数code必填

lago_list_invoices

List invoices

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

输入参数pagestatusper_pagepayment_statusissuing_date_toissuing_date_fromexternal_customer_id

lago_get_invoice

Get invoice

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

输入参数lago_id必填

lago_list_billable_metrics

List billable metrics

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

输入参数pageper_page

lago_get_billable_metric

Get billable metric

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

输入参数code必填

lago_list_coupons

List coupons

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

输入参数pageper_page

lago_list_add_ons

List add-ons

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

输入参数pageper_page

lago_list_wallets

List wallets

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

输入参数pageper_pageexternal_customer_id必填

lago_list_credit_notes

List credit notes

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

输入参数pageper_pageexternal_customer_id

lago_get_credit_note

Get credit note

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

输入参数lago_id必填

lago_list_fees

List fees

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

输入参数pagefee_typeper_pageexternal_customer_idexternal_subscription_id

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.

输入参数monthscurrencyexternal_customer_id

lago_analytics_mrr

Analytics: MRR

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

输入参数monthscurrency

lago_create_customer

Create customer

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

输入参数urlnameemailphonecountrycurrencymetadatatimezonelegal_nameexternal_id必填legal_numbertax_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": { ... } }.

输入参数code必填timestamppropertiestransaction_id必填external_subscription_id必填precise_total_amount_cents

版本历史

22
  1. v1.36.5最新Nov 8, 2026
  2. v1.36.4Nov 7, 2026
  3. v1.35.3Nov 5, 2026
  4. v1.35.2Nov 5, 2026
  5. v1.35.1Nov 4, 2026
  6. v1.35.0Nov 3, 2026
  7. v1.34.1Nov 3, 2026
  8. v1.33.0Nov 1, 2026
  9. v1.31.0Oct 31, 2026
  10. v1.30.0Oct 31, 2026
  11. v1.29.2Oct 30, 2026
  12. v1.29.0Oct 30, 2026
  13. v1.24.0Oct 26, 2026
  14. v1.21.3Oct 25, 2026
  15. v1.21.0Oct 25, 2026
  16. v1.20.0Oct 24, 2026
  17. v1.17.0Oct 23, 2026
  18. v1.16.4Oct 22, 2026
  19. v1.16.3Oct 21, 2026
  20. v1.11.1Oct 9, 2026
  21. v1.10.0Oct 9, 2026
  22. v1.0.1Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Usefulapi 集成