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

@nirholas/x402-deploy

v0.1.0

Published

1-click deployment and monetization for MCP servers and APIs with x402 payments

Readme

x402-deploy

npm version

1-click deployment for monetized APIs & MCP servers

Turn any API or MCP server into a paid service in 5 minutes. No code changes required.


🌎 Choose Your Site Template


✨ Features

  • 💰 Instant Monetization - Charge per API call with crypto (USDC on Base)
  • 🥳 1-Click Deploy - Railway, Fly.io, Vercel, or Docker
  • 📊 Live Dashboard - Real-time earnings and analytics
  • 🔍 Auto-Discovery - Automatic listing on x402scan.com
  • 🛡️ Zero Trust - Payment verification before API access
  • 🎨 Beautiful CLI - Stunning terminal UI with live updates

🐎 Quick Start

# Install globally
npm install -g @nirholas/x402-deploy

# Navigate to your API/MCP server
cd my-awesome-api

# Initialize (detects project automatically)
x402-deploy init

# Deploy (creates wallet, deploys, registers)
x402-deploy deploy

# Watch earnings
x402-deploy dashboard

That's it! Your API is now live and earning money. 💸


📦 What Gets Deployed?

x402-deploy wraps your existing API with a payment gateway:

┌─────────────────────────────────────┐
│   Your API (unchanged)              │
│   ↓                                 │
│   x402 Gateway (automatic)          │
│   ↓                                 │
│   Payment Verification              │
│   ↓                                 │
│   Analytics & Rate Limiting         │
│   ↓                                 │
│   Deployed to Cloud                 │
└─────────────────────────────────────┘

💡 Use Cases

  • MCP Servers - Monetize Claude Desktop tools
  • AI APIs - Charge for GPT wrappers, embeddings
  • Trading Bots - Sell API access to strategies
  • Data APIs - Weather, crypto prices, analytics
  • Web Services - Any REST/HTTP API

📚 Documentation


🎯 Supported Platforms

| Platform | Status | Deploy Time | Free Tier | |----------|--------|-------------|-----------| | Railway | ✅ | ~2 min | $5/month | | Fly.io | ✅ | ~3 min | Yes | | Vercel | ✅ | ~1 min | Yes | | Docker | ✅ | ~30 sec | Self-hosted |


🏗️ Project Types

Automatically detects and configures:

  • ✅ MCP Servers (@modelcontextprotocol/sdk)
  • ✅ Express APIs
  • ✅ Fastify
  • ✅ FastAPI (Python)
  • ✅ Next.js
  • ✅ Generic Node.js/Python

💰 Pricing Models

{
  "pricing": {
    "model": "per-call",
    "default": { "price": "$0.01" },
    "routes": {
      "GET /api/*": "$0.0001",
      "POST /api/trade": "$0.10",
      "GET /api/free": "$0"
    }
  }
}

📊 Dashboard

Beautiful terminal dashboard with live updates:

x402-deploy dashboard
╔═══════════════════════════════════════════╗
║   Earnings Summary                        ║
╠═══════════════════════════════════════════╣
║  Today:     $12.45  (1,245 calls)         ║
║  This Week: $87.32  (8,732 calls)         ║
║  All Time:  $1,547  (154,718 calls)       ║
╚═══════════════════════════════════════════╝

🔧 CLI Commands

x402-deploy init              # Initialize project
x402-deploy deploy            # Deploy to cloud
x402-deploy deploy --dry-run  # Preview deployment
x402-deploy dashboard         # Live earnings dashboard
x402-deploy pricing           # Manage pricing
x402-deploy status            # Check deployment status
x402-deploy logs              # View deployment logs
x402-deploy withdraw          # Withdraw earnings
x402-deploy export --csv      # Export analytics

🤝 Contributing

We love contributions! See CONTRIBUTING.md


📄 License

MIT © nirholas


🌟 Star History

(Original Repo, Universal Crypto MCP) Star History Chart


As with most of my repos, I spend a lot of time building then find something interesting or have a need for something and i start on the next. I hope this at the very least is a good resource you can use to monetize your APIs and MCP Servers. What I truly hope to build is a community of developers, I love shipping alone but i wouldn't mind collaborating here and there. Please, always feel free to PR and throw an issue down. I am waiting.