Skip to content
FunCoding

mcp-iugu

Listed in the official MCP Registry

MCP server for iugu — invoices, subscriptions, customers, payment methods

Star
278
Category
Finance
Version
v0.2.2
License
MIT
Last commit
Nov 13, 2026

@codespar/mcp-iugu

MCP server for iugu — invoices, subscriptions, and payment management

npm License: MIT

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "iugu": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-iugu"],
      "env": {
        "IUGU_API_TOKEN": "your-token"
      }
    }
  }
}

Claude Code

claude mcp add iugu -- npx @codespar/mcp-iugu

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "iugu": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-iugu"],
      "env": {
        "IUGU_API_TOKEN": "your-token"
      }
    }
  }
}

Tools (23)

ToolPurpose
create_invoiceCreate an invoice in iugu (Pix, boleto, or credit card)
get_invoiceGet invoice details by ID
list_invoicesList invoices with optional filters
cancel_invoiceCancel (delete) an invoice.
refund_invoiceRefund a paid invoice (full or partial).
duplicate_invoiceDuplicate an existing invoice with a new due date.
create_customerCreate a customer in iugu
update_customerUpdate a customer.
list_customersList customers with optional filters
create_planCreate a subscription plan (recurring template).
update_planUpdate an existing plan.
list_plansList subscription plans.
create_subscriptionCreate a recurring subscription in iugu
suspend_subscriptionSuspend a subscription.
activate_subscriptionReactivate a suspended subscription.
cancel_subscriptionCancel (delete) a subscription.
create_payment_tokenTokenize a credit card server-side.
create_payment_methodAttach a payment method (credit card token) to a customer.
create_subaccountCreate a marketplace sub-account.
create_transferTransfer funds between iugu accounts (marketplace).
request_withdrawRequest a bank withdrawal (saque) from a sub-account.
create_webhookRegister a webhook (gatilho) for an iugu event.
get_account_infoGet account information, configuration, and balance

Authentication

iugu uses Basic Auth with the API token as username and an empty password.

Sandbox / Testing

iugu provides test mode via the dashboard. Use a test-mode API token to avoid real charges.

Get your credentials

  1. Go to iugu Developer Portal
  2. Create an account and access the dashboard
  3. Toggle to test mode and generate an API token
  4. Set the IUGU_API_TOKEN environment variable

Environment Variables

VariableRequiredDescription
IUGU_API_TOKENYesAPI token from iugu dashboard
IUGU_SANDBOXNoSet to "true" for test mode

Roadmap

v0.3 (planned)

  • create_split — Create split payment rules
  • list_transfers — List marketplace transfers
  • get_financial_report — Financial summary report
  • batch_invoices — Create multiple invoices in a single request
  • list_payment_methods — List saved payment methods for a customer

Want to contribute? Open a PR or request a tool.

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Similar MCP servers

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k222 new stars in the last 7 days

Featured

CCXT

Connect to 100+ exchanges and prediction markets, fetch market data, manage orders and accounts.

CCccxt/ccxt45k68 new stars in the last 7 days

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k138 new stars in the last 7 days

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k25 new stars in the last 7 days

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k74 new stars in the last 7 days

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k13 new stars in the last 7 days