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-moonpay

v0.2.1

Published

MCP server for MoonPay — fiat-to-crypto on/off-ramp covering 100+ crypto assets, multi-geography, Pix supported for Brazil

Readme

@codespar/mcp-moonpay

MCP server for MoonPay — fiat-to-crypto on/off-ramp.

MoonPay spans 100+ crypto assets and many geographies, with both buy (fiat → crypto) and sell (crypto → fiat) flows. Pix is supported as a Brazil onramp rail.

Positioning vs the rest of the catalog

| Server | Coverage | Direction | |--------|----------|-----------| | @codespar/mcp-unblockpay | BRL / MXN ↔ USDC | Onramp + offramp, stablecoin only | | @codespar/mcp-moonpay | 100+ crypto assets, multi-geo, Pix for BR | Onramp + offramp | | @codespar/mcp-mercado-bitcoin, @codespar/mcp-bitso | Exchange order books | Trade | | @codespar/mcp-circle | USDC native rails | Stablecoin infra |

Use MoonPay when an agent needs broader crypto coverage (beyond USDC), longer-tail geographies, or a sell-side flow that pays out to local fiat.

Tools (20)

| Tool | Purpose | |---|---| | get_buy_quote | Preview a fiat -> crypto buy quote in real time. | | create_buy_transaction | Create a buy transaction (fiat -> crypto). | | get_buy_transaction | Retrieve a buy transaction (fiat -> crypto) by its MoonPay id. | | list_buy_transactions | List buy transactions with optional filters. | | get_sell_quote | Preview a crypto -> fiat sell quote in real time. | | create_sell_transaction | Create a sell transaction (crypto -> fiat). | | get_sell_transaction | Retrieve a sell transaction (crypto -> fiat) by its MoonPay id. | | refund_sell_transaction | Request a refund on an off-ramp (sell) transaction. | | create_customer | Create a MoonPay customer (KYC'd end user). | | get_customer | Retrieve a MoonPay customer by id. | | get_customer_kyc_status | Fetch KYC verification status (and any pending document requirements) for a MoonPay customer. | | list_customer_transactions | List all transactions (buy + sell) tied to a single MoonPay customer. | | get_transaction_receipt | Fetch a tax-/audit-grade receipt for a completed buy or sell transaction. | | list_currencies | List supported currencies (fiat + crypto). | | get_currency | Retrieve metadata for a single currency (fiat or crypto) by its MoonPay code. | | list_countries | List countries supported by MoonPay along with which flows (buy / sell / NFT) are allowed per geography. | | list_payment_methods | List payment methods supported for a given fiat currency / country combination (e.g. | | get_user_country | Resolve the caller's (or a given IP's) country via MoonPay's IP-address geolocation endpoint. | | sign_buy_url | Build and HMAC-SHA256 sign a MoonPay buy widget URL (buy.moonpay.com). | | sign_sell_url | Build and HMAC-SHA256 sign a MoonPay sell widget URL (sell.moonpay.com). |

Install

npm install @codespar/mcp-moonpay

Environment

MOONPAY_API_KEY="..."     # API key (sandbox or production — the key selects the environment)
MOONPAY_BASE_URL="..."    # Optional. Defaults to https://api.moonpay.com.

Authentication

Every request uses a simple header:

Authorization: Api-Key <MOONPAY_API_KEY>

Sandbox vs production is selected by the key itself — the base URL stays the same.

Run

# stdio (default — for Claude Desktop, Cursor, etc)
npx @codespar/mcp-moonpay

# HTTP (for server-to-server testing)
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-moonpay

License

MIT