6 days ago
Discover and call paid APIs with USDC credits. No wallet, no gas, no per-provider SDKs
Overview
APIHub MCP Server
Discover and call paid APIs with USDC credits. No wallet, no gas, no per-provider SDKs.
APIHub is a marketplace of paid APIs accessible through a single MCP server. Pay once with USDC on Base to top up credits, then every API call is a free database debit at the edge — no signing, no gas, no per-request blockchain transaction.
What you can do
- Discover APIs by capability, category, or price across both APIHub's onboarded catalog and the broader x402 ecosystem
- Call any onboarded service via
apihub_callwith full pricing transparency - Call external x402 APIs via
apihub_call_external— credits cover the on-chain payment so you don't need a wallet - Read web content via
apihub_read_content, which uses a paid content gateway to fetch and parse pages - Top up credits directly from your AI assistant via
apihub_topup(returns browser, CLI, and direct x402 payment paths)
Available tools
apihub_search— Search APIs by capability, category, or price rangeapihub_list_services— List all onboarded servicesapihub_get_service— Fetch full schemas, pricing, and endpoints for a serviceapihub_call— Make a paid call to an onboarded APIapihub_search_external— Search the external x402 catalogapihub_call_external— Call any external x402 URL using your creditsapihub_read_content— Read a web page through a paid content gatewayapihub_topup— Get payment instructions to add creditsapihub_balance— Check current balance and spending history
Quick start
- Sign up at apihub.io for a free API key
- Add the config to your MCP client (Claude Desktop, Cursor, Codex, Claude Code)
- Top up credits with
apihub_topup(or use the CLI) - Search and call APIs
Why credits instead of per-call x402
- Gasless: pay on-chain once when topping up, not per request
- Walletless: no USDC custody, no EIP-3009 signing, no gas math
- Works in any MCP client: just a Bearer token in the header
- Instant: edge-side database debit, no block confirmations per call
Links
- Documentation: https://apihub.io/docs/agents/mcp
- CLI: https://www.npmjs.com/package/@apihubio/cli
- Base x402 protocol: https://x402.org
Server Config
{
"mcpServers": {
"apihub": {
"url": "https://mcp.apihub.io/mcp",
"headers": {
"Authorization": "Bearer ahk_your_api_key"
}
}
}
}