About apihubio
APIHub MCP Server lets agents find and call paid APIs using USDC credits, without per-provider SDKs or wallet handling. It also provides service details, balance checks, and credit top-ups.
Key features
- 01Search APIs by capability and price
- 02List and inspect API services
- 03Call paid APIs through a proxy
- 04Search and call external x402 APIs
- 05Check balance and top up credits
Use cases
- 01Find an API matching a capability and budget
- 02Call paid APIs from an MCP client
- 03Review credit balance and spending
MCP support
A hosted Streamable HTTP MCP server exposing API discovery, paid API calls, credit management, and web-content retrieval tools. Access uses a Bearer token.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.apihub.io/mcpclaude mcp add --transport http apihubio https://mcp.apihub.io/mcp{"mcpServers":{"apihubio":{"type":"http","url":"https://mcp.apihub.io/mcp"}}}Open in Cursor{"servers":{"apihubio":{"type":"http","url":"https://mcp.apihub.io/mcp"}}}Open in VS Code{"mcpServers":{"apihubio":{"type":"http","url":"https://mcp.apihub.io/mcp"}}}{"mcpServers":{"apihubio":{"serverUrl":"https://mcp.apihub.io/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
9| Parameter | Type | Required | Description |
|---|---|---|---|
| type | enum | No | Optional filter. 'api' = standard REST APIs, 'content' = content gateways that proxy a fixed upstream URL.api | content |
| query | string | Yes | Required free-text query matched against service name and description (case-insensitive substring match). Use 1-3 keywords describing the capability you want, e.g. 'weather' or 'stock price'. |
| category | string | No | Optional exact-match filter. Valid values: ai, data, search, finance, media, infra, communication, content, travel. |
| max_price_microdollars | number | No | Optional upper bound on price per request in microdollars (1 USD = 1,000,000 microdollars, so 10000 = $0.01). Services whose cheapest endpoint exceeds this are excluded. |
Details
From the project READMEAPIHub 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:
{
"mcpServers": {
"apihub": {
"url": "https://mcp.apihub.io/mcp",
"headers": {
"Authorization": "Bearer ahk_your_api_key"
}
}
}
}
APIHub CLI
npx @apihubio/cli install # writes the MCP config for you
npx @apihubio/cli register # get an API key
npx @apihubio/cli topup 10 # fund with $10 USDC
Why credits instead of per-call x402
- Gasless: pay on-chain once when topping up, not per request
- Walletless: no USDC, no EIP-3009 signing, no gas
- Works in any MCP client: just a Bearer token header
- Instant: D1 debit at the edge, no block confirmations per call
Learn more
- MCP documentation: https://apihub.io/docs/agents/mcp
- CLI documentation: https://apihub.io/docs/agents/cli
- Full docs: https://apihub.io/docs
- Provider onboarding: https://apihub.io/docs/providers/onboarding
- Base x402 protocol: https://x402.org
License
The hosted service is operated by APIHub. This repository contains integration documentation only.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.