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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

payment_router_mcp-0.2.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

payment_router_mcp-0.2.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file payment_router_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: payment_router_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for payment_router_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2184f693e025f8ae92e43fb40dac7dfd62a8f31f0e2f50809f15dcf89b81509f
MD5 879a04528801f46f41b555fd4b827a93
BLAKE2b-256 8d0846d525414ee5a0fc506ce9f1eaf985737ec972d565729bae0c8dc59b6619

See more details on using hashes here.

File details

Details for the file payment_router_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: payment_router_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for payment_router_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bae0ffbb8dba4f7dc095dc07ef539ef717183d7e7284e13881daf49f1a7b6f3
MD5 5605a298b9bc6ea87b75e1d21b433592
BLAKE2b-256 b4d079ca6f83c241a0dfcc64c17b6f31a960da5d967f4c3351470c6922095921

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.0

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

1 file

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