
Mcp Server
Connects Claude to APIHub's paid API marketplace, letting you search, browse, and call metered APIs using prepaid USDC credits instead of managing wallets or gas per request. You get nine tools: search and list services, fetch service details, make paid calls to onboarded or external x402 APIs, read gated web content, and manage your credit balance. Useful when you need to orchestrate calls across multiple paid data sources without wiring up individual provider SDKs or handling per-call blockchain transactions. Authentication is just a bearer token, and debits happen instantly at the edge against your prepaid balance.
- tools
- 9
- transport
- HTTP
- last updated
- Apr 28, 2026
Install
From registry metadata$ npx add-mcp https://mcp.apihub.io/mcp --name apihubioRun in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.
Review the command, arguments and environment values before installing. MCP servers run with your local permissions.
Other ways
Claude Code
$ claude mcp add --transport http apihubio https://mcp.apihub.io/mcpRun in your terminal. Add --scope user to make it available in every project.
Tools
Verified live · 9 toolsVerified live against the running server on Nov 6, 2026.
apihub_searchRead-only. Searches onboarded APIHub services by free-text query, with optional category, price, and type filters. Returns up to 10 matches ranked by uptime and endpoint count, each with slug, description, endpoints array, min price in microdollars, provider name, and quality...4 params
Read-only. Searches onboarded APIHub services by free-text query, with optional category, price, and type filters. Returns up to 10 matches ranked by uptime and endpoint count, each with slug, description, endpoints array, min price in microdollars, provider name, and quality...
categorystringmax_price_microdollarsnumberquery*stringtypestringapi · contentapihub_list_servicesRead-only. Lists onboarded APIHub services alphabetically, returning each service's slug, name, description, category, provider, endpoint count, and lowest per-endpoint price in microdollars. No authentication required. Use this to browse the full onboarded catalog when you do...1 params
Read-only. Lists onboarded APIHub services alphabetically, returning each service's slug, name, description, category, provider, endpoint count, and lowest per-endpoint price in microdollars. No authentication required. Use this to browse the full onboarded catalog when you do...
limitnumberapihub_get_serviceGet full details for a specific API service including all endpoints, schemas, and pricing.1 params
Get full details for a specific API service including all endpoints, schemas, and pricing.
service_slug*stringapihub_callSends payment. Calls a paid endpoint on an onboarded APIHub service. Debits the endpoint's price from your credit balance and forwards the request to the upstream provider. Returns an object with the upstream response body, HTTP status, and credits_charged_microdollars. Requir...4 params
Sends payment. Calls a paid endpoint on an onboarded APIHub service. Debits the endpoint's price from your credit balance and forwards the request to the upstream provider. Returns an object with the upstream response body, HTTP status, and credits_charged_microdollars. Requir...
bodystringendpoint_path*stringmethodstringGET · POST · PUT · DELETEservice_slug*stringapihub_search_externalSearch external x402-protected APIs (not operated by APIHub, but callable via credits). Returns listings with endpoint counts, prices, and tx_count_7d (USDC payments received on Base in the last 7 days), most used first.3 params
Search external x402-protected APIs (not operated by APIHub, but callable via credits). Returns listings with endpoint counts, prices, and tx_count_7d (USDC payments received on Base in the last 7 days), most used first.
categorystringlimitnumberquerystringapihub_call_externalCall an external x402-protected URL (any provider in the marketplace or any x402 API). APIHub pays the provider on your behalf using the platform wallet and debits your credit balance for the exact amount. No wallet or gas required.4 params
Call an external x402-protected URL (any provider in the marketplace or any x402 API). APIHub pays the provider on your behalf using the platform wallet and debits your credit balance for the exact amount. No wallet or gas required.
bodyvalueheadersobjectmethodstringGET · POST · PUT · DELETEurl*stringapihub_read_contentRead web content through a paid content gateway. Returns clean, structured text extracted from the URL. Use this for content services (service_type = 'content').2 params
Read web content through a paid content gateway. Returns clean, structured text extracted from the URL. Use this for content services (service_type = 'content').
service_slug*stringurl*stringapihub_topupPurchase APIHub credits via x402 (USDC on Base). Returns payment instructions including a web URL for browser-based payment, a CLI command, and raw x402 requirements for agents with wallet support. Credits are added to your account instantly once payment confirms on-chain.1 params
Purchase APIHub credits via x402 (USDC on Base). Returns payment instructions including a web URL for browser-based payment, a CLI command, and raw x402 requirements for agents with wallet support. Credits are added to your account instantly once payment confirms on-chain.
amount_dollars*numberapihub_balanceRead-only. Returns your current APIHub credit balance (in microdollars and USD), total lifetime spending (microdollars and USD), and total completed request count. Requires a valid API key. Use before apihub_call or apihub_call_external to confirm sufficient funds for a paid r...
Read-only. Returns your current APIHub credit balance (in microdollars and USD), total lifetime spending (microdollars and USD), and total completed request count. Requires a valid API key. Use before apihub_call or apihub_call_external to confirm sufficient funds for a paid r...
No parameters. Call it with no arguments.
Sponsors
Readme
APIHub MCP Server
MCP server for APIHub — discover and call paid APIs with USDC credits. No wallet, no gas, no per-provider SDKs.
- Hosted endpoint:
https://mcp.apihub.io/mcp - Transport: Streamable HTTP
- Protocol version:
2025-03-26 - Auth: Bearer token (get a free key at apihub.io)
Tools
| Tool | Description |
|---|---|
apihub_search | Search for APIs by capability, category, or price range |
apihub_list_services | List available onboarded API services |
apihub_get_service | Fetch full details for a specific service |
apihub_call | Make a paid API call through the proxy (debits credits) |
apihub_search_external | Search the external x402 catalog |
apihub_call_external | Call any external x402 API via credits |
apihub_read_content | Fetch and parse a web page through a paid content gateway |
apihub_topup | Get payment instructions to top up your credit balance |
apihub_balance | Check your credit balance and spending history |
Quick start
Claude Desktop / Cursor / Codex
Add to your MCP config:
Details
- Repository
- github.com/apihubio/mcp-server
- Transport
- HTTP
- Registry
- MCP registry, active
- Tools verified
- Nov 6, 2026