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

@billium/mcp

v0.1.3

Published

Official Billium MCP server — manage crypto invoices and webhooks from Claude, Cursor, and any MCP host.

Readme

@billium/mcp

The official Billium MCP server — manage non-custodial crypto invoices and webhooks from any Model Context Protocol host: Claude Code, Claude Desktop, Cursor, and others.

Once connected, you can just ask:

"Create a $49.99 invoice for order #1234 and give me the checkout link." "List my last 10 invoices and tell me which are still awaiting payment." "Add a webhook to https://api.myshop.com/billium that fires on invoice.paid."

…and the agent calls Billium directly.

Requirements

  • Node.js ≥ 18
  • A Billium secret API key (sk_...) and your merchant ID (mer_...), from the dashboard under Settings → Developer → API keys.

Configuration

The server reads three environment variables:

| Variable | Required | Description | | --- | --- | --- | | BILLIUM_API_KEY | ✅ | Secret API key (sk_...) | | BILLIUM_MERCHANT_ID | ✅ | Merchant ID (mer_...) | | BILLIUM_BASE_URL | — | Override the API base URL (self-hosted / testing) |

Claude Code

claude mcp add billium \
  --env BILLIUM_API_KEY=sk_your_key \
  --env BILLIUM_MERCHANT_ID=mer_your_id \
  -- npx -y @billium/mcp

Claude Desktop / Cursor

Add to your MCP config (claude_desktop_config.json, or Cursor's mcp.json):

{
  "mcpServers": {
    "billium": {
      "command": "npx",
      "args": ["-y", "@billium/mcp"],
      "env": {
        "BILLIUM_API_KEY": "sk_your_key",
        "BILLIUM_MERCHANT_ID": "mer_your_id"
      }
    }
  }
}

Tools

23 tools across invoices, webhooks, customers, products, and wallets.

Invoices

| Tool | Description | | --- | --- | | create_invoice | Create a crypto payment invoice (auto idempotency key) | | get_invoice | Fetch an invoice by ID with status, payments, and timeline | | list_invoices | List invoices with pagination and search | | cancel_invoice | Cancel an unpaid invoice |

Webhooks

| Tool | Description | | --- | --- | | create_webhook | Register a webhook endpoint for invoice/payment events | | list_webhooks | List configured webhook endpoints | | update_webhook | Update a webhook's URL, events, or settings | | delete_webhook | Delete a webhook endpoint | | ping_webhook | Send a test event to a webhook endpoint |

Customers

| Tool | Description | | --- | --- | | list_customers | List customers with pagination and search | | get_customer | Fetch a customer by ID | | get_customer_stats | Revenue and invoice stats for a customer | | update_customer | Update a customer's name/address/phone |

Products

| Tool | Description | | --- | --- | | create_product | Create a product for hosted checkout | | get_product | Fetch a product by ID | | list_products | List products with pagination and search | | update_product | Update a product | | delete_product | Delete a product |

Wallets

| Tool | Description | | --- | --- | | list_wallets | List wallet configurations (public config only) | | get_wallet | Fetch a wallet by ID | | create_wallet | Add a DIRECT_WALLET (address) or XPUB_WALLET (xpub) | | update_wallet | Update a wallet's config | | delete_wallet | Delete a wallet |

Security

  • Your secret key never leaves your machine — the server runs locally and talks directly to the Billium API over HTTPS.
  • Settlement is non-custodial: payments go straight to your wallet; Billium never holds funds.
  • create_invoice always sends an idempotency key (generated if you don't pass one), so a retried call never creates a duplicate invoice.

How it works

This server is a thin MCP wrapper over the @billium/node SDK, exposed over stdio. Each tool validates its input with zod and forwards it to the SDK.

License

MIT