Apihubio

io.github.apihubioPublished by GitHub account apihubiov1.0.0Updated Oct 24, 2026

Discover and pay for APIs with USDC credits. No wallet, no gas, MCP-native marketplace.

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingFinanceDeveloper Tools

Overview

AI-generated overview

A hosted MCP marketplace that lets an assistant search for APIs, call paid endpoints with prepaid USDC credits, and check its balance.

What you can do
Search and browse onboarded API services by capability, category, price or type, and fetch full endpoint details and schemas for one service. Call paid endpoints through the proxy, which debits credits and returns the upstream response with the amount charged. Search and call external x402-protected APIs, with APIHub paying the provider on your behalf. Fetch and parse web page content through a paid content gateway. Check credit balance, lifetime spending and request count, and get top-up payment instructions.
When to use it
Useful when an assistant needs to reach third-party APIs or x402 services without per-provider SDKs or a wallet, and when you are willing to fund a prepaid credit balance. Also handy for paid web content extraction and for checking spend before making calls.
Requirements
Remote Streamable HTTP endpoint; no local runtime. A Bearer API key in the Authorization header (a free key can be registered). A funded credit balance for paid calls and content reads; top-ups are paid in USDC on Base.
Before you install
Calls spend real money: apihub_call, apihub_call_external and apihub_read_content debit your credit balance, and apihub_topup involves on-chain USDC payment. The API key is a billing credential and should be kept secret. Requests are forwarded to upstream providers, so data you send goes to third parties.

Installation

In SourceWeft

  1. Open Apihubio in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.apihubio%2Fmcp-server/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "apihubio": {
      "type": "http",
      "url": "https://mcp.apihub.io/mcp"
    }
  }
}

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

ToolDescription
apihub_searchSearch for APIs by capability, category, or price range
apihub_list_servicesList available onboarded API services
apihub_get_serviceFetch full details for a specific service
apihub_callMake a paid API call through the proxy (debits credits)
apihub_search_externalSearch the external x402 catalog
apihub_call_externalCall any external x402 API via credits
apihub_read_contentFetch and parse a web page through a paid content gateway
apihub_topupGet payment instructions to top up your credit balance
apihub_balanceCheck your credit balance and spending history

Quick start

Claude Desktop / Cursor / Codex

Add to your MCP config:

json
{  "mcpServers": {    "apihub": {      "url": "https://mcp.apihub.io/mcp",      "headers": {        "Authorization": "Bearer ahk_your_api_key"      }    }  }}

APIHub CLI

bash
npx @apihubio/cli install    # writes the MCP config for younpx @apihubio/cli register   # get an API keynpx @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

License

The hosted service is operated by APIHub. This repository contains integration documentation only.

Source: README.md at commit eb58e21

Tools

9

apihub_list_services

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 don't have a specific capability in mind; prefer apihub_search when filtering by query, category, or price. Does not include external x402 APIs (use apihub_search_external for those) and does not return endpoint-level details (use apihub_get_service for that).

Parameterslimit

apihub_get_service

Get full details for a specific API service including all endpoints, schemas, and pricing.

Parametersservice_slugrequired

apihub_call

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. Requires a valid API key and sufficient credit balance; if balance is insufficient the call returns a 402 with payment requirements (use apihub_topup to add credits, apihub_balance to check). Use this for services already onboarded to APIHub (find slugs via apihub_search or apihub_list_services); use apihub_call_external for arbitrary x402 URLs not onboarded here, or apihub_read_content for content gateways.

Parametersbodymethodservice_slugrequiredendpoint_pathrequired

apihub_search_external

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.

Parameterslimitquerycategory

apihub_call_external

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.

Parametersurlrequiredbodymethodheaders

apihub_read_content

Read web content through a paid content gateway. Returns clean, structured text extracted from the URL. Use this for content services (service_type = 'content').

Parametersurlrequiredservice_slugrequired

apihub_topup

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.

Parametersamount_dollarsrequired

apihub_balance

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 request, or periodically to audit usage. Does not modify state, send payments, or call upstream APIs; for top-ups use apihub_topup.

Takes no parameters.

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.