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

@gideondevrel/madhousewallet-mcp

v1.0.1

Published

MCP server for the Madhouse Wallet payout API — quote, transfer, and recipient management via Claude or any MCP-compatible client.

Readme

Madhouse Wallet MCP Server

An MCP (Model Context Protocol) server that exposes the Madhouse Wallet payout API as tools for Claude Desktop, Claude Code, and any MCP-compatible client.

Tools

| Tool | Description | |---|---| | madhouse_get_limits | Get your account's min/max USD transfer limits | | madhouse_get_quote | Get a live USD → target currency quote (required before creating a transfer) | | madhouse_create_transfer | Initiate a USDC payout to a bank recipient | | madhouse_get_transfer | Poll transfer status by ID | | madhouse_cancel_transfer | Cancel a pending transfer (or all pending transfers) | | madhouse_list_recipients | List your saved bank recipients | | madhouse_get_recipient | Get details of a single recipient | | madhouse_create_recipient | Add a new bank recipient | | madhouse_update_recipient | Update name or bank details of a recipient | | madhouse_delete_recipient | Delete a recipient | | madhouse_get_account_requirements | Get required fields for a target currency | | madhouse_refresh_account_requirements | Refresh requirements after filling in a dynamic field |

Prerequisites

  • Node.js 18+
  • A Madhouse Wallet API key (mw_live_…) — get one from Dashboard → Developers → API Keys

Setup

# From the mcp/ directory
npm install
npm run build

Usage

Claude Desktop (stdio — recommended)

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "madhouse-wallet": {
      "command": "node",
      "args": ["/absolute/path/to/stripe-direct-debit/mcp/dist/index.js"],
      "env": {
        "MADHOUSE_API_KEY": "mw_live_your_key_here"
      }
    }
  }
}

Restart Claude Desktop. You should see the Madhouse Wallet tools available.

Claude Code (CLI)

# Add the MCP server to this project
MADHOUSE_API_KEY=mw_live_your_key_here claude mcp add madhouse-wallet \
  node /absolute/path/to/stripe-direct-debit/mcp/dist/index.js

Or in your project's .mcp.json:

{
  "mcpServers": {
    "madhouse-wallet": {
      "command": "node",
      "args": ["./mcp/dist/index.js"],
      "env": {
        "MADHOUSE_API_KEY": "mw_live_your_key_here"
      }
    }
  }
}

HTTP transport (optional)

For remote hosting or multi-client scenarios:

MADHOUSE_API_KEY=mw_live_your_key_here TRANSPORT=http PORT=3100 node dist/index.js

The server will accept POST requests at http://localhost:3100/mcp and respond to GET http://localhost:3100/health.

Environment variables

| Variable | Required | Default | Description | |---|---|---|---| | MADHOUSE_API_KEY | Yes | — | API key from Madhouse Wallet dashboard | | MADHOUSE_BASE_URL | No | https://app.madhousewallet.com | Override API base URL (for self-hosted instances) | | TRANSPORT | No | stdio | stdio or http | | PORT | No | 3100 | HTTP port (only when TRANSPORT=http) |

Payout workflow

  1. Check limitsmadhouse_get_limits to confirm your amount is within bounds
  2. Get requirementsmadhouse_get_account_requirements with the target currency
  3. Create recipientmadhouse_create_recipient with the bank details
  4. Get a quotemadhouse_get_quote with the USD amount and target currency (valid 5 min)
  5. Create transfermadhouse_create_transfer with the quote ID and recipient ID
  6. Send USDC — send USDC to the deposit_address returned in step 5
  7. Monitor — poll madhouse_get_transfer until status is completed or failed

Development

# Watch mode
npm run dev

# Type-check without emitting
npx tsc --noEmit