Mcp Server

io.github.apihubiov1.0.0更新於 Oct 9, 2026

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

已驗證Streamable HTTP可網頁執行Developer ToolsFinanceWeb Search & Scraping

概覽

AI 產生的概覽

讓助理搜尋付費 API 市集,並透過託管代理使用預付 USDC 額度呼叫這些 API。

功能
APIHub 提供依能力、類別或價格區間搜尋 API、列出已上架服務、取得特定服務詳情的工具。它也能搜尋並呼叫外部 x402 目錄,透過付費內容閘道抓取並解析網頁,以及查詢額度餘額與消費紀錄。付費呼叫經代理執行並扣除預付額度。
適用情境
適合助理需要存取尚未整合的第三方 API 的情境,或以單一額度與一個 Bearer 權杖取代多家供應商的 SDK 與金鑰。也適合透過付費閘道取得網頁內容。
執行需求
需要遠端 Streamable HTTP 端點 Authorization 標頭中的 Bearer 權杖,可向供應商取得免費金鑰。付費呼叫前需先儲值額度。需要網路連線。
安裝前請注意
apihub_call、apihub_call_external、apihub_read_content 等付費工具會扣除額度,使用即產生費用。Authorization 中的 Bearer 權杖屬於憑證,應妥善保密。儲值說明涉及鏈上 USDC 付款。請求與抓取內容都會經過供應商代理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "mcp-server": {
      "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.

來源:README.md,提交 eb58e21

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026