Skip to main content

Payment Router MCP — Stripe for AI Agents

PyPI Python License

A universal payment bridge for AI agents. Install once, buy credits, call 334+ utility tools. No manual billing. No API key management.


Quick Start

uvx payment-router-mcp

Your MCP client now has 8 tools to manage payments and call services.

How It Works

1. Buy Credits

payment_router_buy_link(tier="500")

Returns a Stripe checkout link. Pay $5 for 500 credits or $20 for 2,500 credits. Your API key is emailed to you automatically after payment.

2. Call Tools

payment_router_call(
    api_key="gh_YOUR_KEY",
    service="api-hub",
    tool="qr",
    params='{"text": "https://example.com"}'
)

Each call deducts 1 credit ($0.01). Supports 334+ tools:

Category Tools
QR Codes Generate PNG, SVG, GIF codes
Passwords Secure random passwords, PINs
UUIDs v4 UUIDs, Nano IDs, ULIDs
Hashing MD5, SHA1, SHA256, SHA512
Encoding Base64, Base32, Base85, URL encode
Weather Current conditions, 7-day forecast
DNS Lookup, WHOIS, DNSSEC, reverse DNS
Colors Convert hex/RGB/HSL/HSV, palettes
Text Word count, readability, summarize, translate
Finance Loan calc, mortgage, currency convert
Security Password strength, JWT decode, SSL check
And 320+ more

3. Check Balance

payment_router_balance(api_key="gh_YOUR_KEY")

Pricing

Pack Price Credits Cost/Call
Starter $5 500 credits $0.01
Pro 🔥 $20 2,500 credits $0.008
Monthly $15/mo 1,500/mo recurring $0.01

👉 Buy Credits

Try It Free

# Get a demo key with 100 free credits
result = payment_router_demo_key()

Features

  • ✅ Stripe checkout built in — no manual billing
  • ✅ Email delivery — API key sent after purchase
  • ✅ 334+ tools — QR, passwords, hashes, weather, DNS, colors, finance, text, security, and more
  • ✅ x402 micropayments — agent-to-agent payments via USDC
  • ✅ Subscriptions — recurring monthly credits
  • ✅ Admin dashboard — view sales, revenue, active keys
  • ✅ Refund on error — credits returned if a call fails

For MCP Server Builders

Want to add payments to your own MCP server? Fork this repo, add your tools, and you immediately have:

  • Stripe billing infrastructure
  • Webhook auto-crediting
  • Email delivery of API keys
  • Admin dashboard
  • x402 micropayment support

The payment infrastructure is the hard part. We've solved it.


Built with: Cloudflare Workers · KV · Stripe · MailChannels · PyPI

Homepage: https://api.gadgethumans.com/buy-credits

Admin: https://api.gadgethumans.com/admin

Metadata

Release files for payment-router-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for payment-router-mcp 0.3.0
File Size Uploaded Provenance
payment_router_mcp-0.3.0.tar.gz 3.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for payment-router-mcp 0.3.0
File Interpreter ABI Platform
payment_router_mcp-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / payment_router_mcp-0.3.0.tar.gz

Download URL payment_router_mcp-0.3.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a38b8b381963f457ceb4acfb738e755711e1879ee63198450c0e0f3c14263cdb
BLAKE2b-256 checksum
How to use checksums
ef45ad2d401bf60295d8f071fde3a150bb4b22da7f0ed4f8398e3d8d04d11e2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / payment_router_mcp-0.3.0-py3-none-any.whl

Download URL payment_router_mcp-0.3.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9586a74b06fa48a011a6ea71115416285d61ced92a59feccfba55779eaa817bf
BLAKE2b-256 checksum
How to use checksums
8fbc9cac72bda0ef533c3e420280d90fe407b1b35d658e5f7856f13c27025c8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for payment-router-mcp 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page