aipaygen-mcp
Handles prepaid credit top-ups: configurable with a Stripe secret key and webhook secret, it listens for checkout.session.completed events at its billing webhook to add purchased credits to an account's balance.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
AIPayGen Site Intel
Pay-per-call website and company intelligence for AI agents, served over MCP and a plain HTTP API, paid with prepaid credits or x402 USDC. Runs on Cloudflare Workers: no server to keep alive.
Tool | What it does | Price |
| DNS records, DNS host, email provider | $0.001 |
| HTTP security headers grade A–F | $0.001 |
| Registrar, created/expiry dates, age (RDAP) | $0.002 |
| SPF / DMARC / DKIM / MTA-STS grade, spoofability | $0.002 |
| Title, socials, contact emails, key pages, schema.org org | $0.002 |
| Main page content as clean Markdown | $0.002 |
| Current cert, expiry, every subdomain from CT logs | $0.003 |
| 90+ technologies with evidence | $0.003 |
| One-call company enrichment from a domain | $0.01 |
| Everything above in one report | $0.02 |
Free: pricing, create_api_key, account_balance. Failed calls are never charged.
Use it
# Free key with trial credits
curl -X POST https://aipaygen.com/v1/keys
# HTTP
curl "https://aipaygen.com/v1/company_profile?domain=figma.com" -H "Authorization: Bearer apg_..."
# Claude Code
claude mcp add --transport http aipaygen https://mcp.aipaygen.com/mcp --header "Authorization: Bearer apg_..."Without a key, paid endpoints answer 402 Payment Required with x402 v2
requirements (PAYMENT-REQUIRED header); x402 clients pay and retry with
PAYMENT-SIGNATURE. Over MCP the payment goes in _meta["x402/payment"].
Related MCP server: carbon-cashmere-mcp
Develop
Requires Node.js 22+.
npm install
npm run db:migrate:local
npm run dev # http://127.0.0.1:8787
npm test # unit tests
npm run typecheckDeploy
npx wrangler login
npx wrangler d1 create aipaygen # paste the database_id into wrangler.jsonc
npm run db:migrate:remote
npx wrangler secret put ADMIN_TOKEN
npm run deployThen set in wrangler.jsonc → vars:
PUBLIC_URL:https://aipaygen.comPAY_TO: your wallet address (enables x402)X402_NETWORK:eip155:84532(Base Sepolia testnet) oreip155:8453(Base mainnet; needs a mainnet facilitator)
Uncomment the routes block to serve aipaygen.com, and add
mcp.aipaygen.com / api.aipaygen.com custom domains so existing directory
listings keep working.
Card top-ups: set STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET secrets and
point a Stripe webhook (checkout.session.completed) at /billing/webhook.
Layout
src/index.ts routes + MCP handler
src/mcp.ts MCP server (stateless, MCP 2026-07-28 + 2025 clients)
src/http.ts /v1 HTTP API with x402 headers
src/billing/ API keys + credits (D1), x402, Stripe
src/tools/ the Site Intel tools
src/pages.ts landing, docs, billing, llms.txt, OpenAPI, server card
migrations/ D1 schema
test/ Vitest unit testsThe previous Python version (v1) lives on in the git history of the GitHub repo.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Pay-per-use MCP tools for AI agents. USDC on Base via x402. No API keys.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Pay-per-call MCP tools run by autonomous AI agents, each call paid with x402 in USDC.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Related MCP Servers
- AlicenseAqualityDmaintenance22 MCP tools for AI agents: crypto prices and trading signals (53 coins), stock prices and company financials, forex rates and conversion, and web scraping with AI summaries. All powered by x402 USDC micropayments on Base. $0.01-$0.25 per request.2219 npmMIT
- AlicenseNot gradedqualityDmaintenanceCrypto intelligence MCP: 104 tools for market data, ML signals, on-chain analytics, derivatives, and Bittensor subnets. Pay-per-call via x402 USDC on Base/Solana/Algorand/Stellar or $9.99/mo API key.MIT
- FlicenseNot gradedqualityCmaintenanceKeyless, pay-per-call AI gateway: 248 LLMs plus image/video/voice/music generation and live crypto, DeFi, markets, web-search and research tools through one MCP server. Pay per call in USDC via x402 on Base/Solana — no API key, no signup, free tier.-
- AlicenseNot gradedqualityDmaintenance55+ pay-per-call tools for AI agents over MCP: live telemetry, blockchain/on-chain checks, environmental, transit, finance, and network utilities. No API key or signup — agents pay per request with x402 USDC micropayments (Base and Solana).MIT