npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@codespar/mcp-iugu

v0.2.1

Published

MCP server for iugu — invoices, subscriptions, plans, customers, payment methods, marketplace sub-accounts, transfers, webhooks

Readme

@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)

| Tool | Purpose | |---|---| | create_invoice | Create an invoice in iugu (Pix, boleto, or credit card) | | get_invoice | Get invoice details by ID | | list_invoices | List invoices with optional filters | | cancel_invoice | Cancel (delete) an invoice. | | refund_invoice | Refund a paid invoice (full or partial). | | duplicate_invoice | Duplicate an existing invoice with a new due date. | | create_customer | Create a customer in iugu | | update_customer | Update a customer. | | list_customers | List customers with optional filters | | create_plan | Create a subscription plan (recurring template). | | update_plan | Update an existing plan. | | list_plans | List subscription plans. | | create_subscription | Create a recurring subscription in iugu | | suspend_subscription | Suspend a subscription. | | activate_subscription | Reactivate a suspended subscription. | | cancel_subscription | Cancel (delete) a subscription. | | create_payment_token | Tokenize a credit card server-side. | | create_payment_method | Attach a payment method (credit card token) to a customer. | | create_subaccount | Create a marketplace sub-account. | | create_transfer | Transfer funds between iugu accounts (marketplace). | | request_withdraw | Request a bank withdrawal (saque) from a sub-account. | | create_webhook | Register a webhook (gatilho) for an iugu event. | | get_account_info | Get 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

| Variable | Required | Description | |----------|----------|-------------| | IUGU_API_TOKEN | Yes | API token from iugu dashboard | | IUGU_SANDBOX | No | Set 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.

Links

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