Payment Router MCP — Stripe for AI Agents
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 |
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file payment_router_mcp-0.3.0.tar.gz.
File metadata
- Download URL: payment_router_mcp-0.3.0.tar.gz
- Upload date:
- Size: 3.3 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a38b8b381963f457ceb4acfb738e755711e1879ee63198450c0e0f3c14263cdb
|
|
| MD5 |
e8bebaddd17f0dbb7a9546fe7478a80a
|
|
| BLAKE2b-256 |
ef45ad2d401bf60295d8f071fde3a150bb4b22da7f0ed4f8398e3d8d04d11e2c
|
File details
Details for the file payment_router_mcp-0.3.0-py3-none-any.whl.
File metadata
- Download URL: payment_router_mcp-0.3.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9586a74b06fa48a011a6ea71115416285d61ced92a59feccfba55779eaa817bf
|
|
| MD5 |
b7ae4f0066a28737ae4fdb668b5dc8f9
|
|
| BLAKE2b-256 |
8fbc9cac72bda0ef533c3e420280d90fe407b1b35d658e5f7856f13c27025c8b
|