
x402 Router
io.github.camerxnduff由 GitHub 帳號 camerxnduff 發布v0.1.0更新於 Nov 1, 2026
Search 20k+ live, probed x402 pay-per-call endpoints and route to the best-scored one.
發布方自己的服務:370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation
概覽
唯讀 MCP 伺服器,可搜尋經探測的 x402 按次付費端點登錄檔,並為助理路由到評分最高的端點。
- 可以做什麼
- 依關鍵字、鏈、類別、價格與評分搜尋即時 x402 端點登錄檔
- 將請求路由到評分最高的端點,並免費回傳前三名預覽
- 讀取登錄檔統計資料,以及依鏈、類別與來源的計數
- 取得付費路由的付款需求
- 在已設定錢包的情況下,可選用付費工具取得完整排名清單或對單一端點做即時探測
- 適用情境
- 當助理需要呼叫 x402 按次付費 API,並希望從數千個經常失效或設定錯誤的端點中挑選一個可用且價格合理的端點時適用。
- 執行需求
- 透過 uvx、Docker 或 Python 原始碼在本機以 stdio 執行;需要連線到託管的 router 服務,因此需要網路。可選環境變數 X402_ROUTER_URL 與 X402_DASHBOARD_URL 可覆寫服務位址。付費工具另需安裝 pay 附加元件並提供 X402_EVM_PRIVATE_KEY,可選 X402_MAX_PAYMENT_USD。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 x402 Router,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
x402 Router: MCP server + free API to find and pay the right x402 endpoint
[MCP] [x402] [Chains] [USDC] [License: MIT] [Docker build]
20,700+ LIVE x402 pay-per-call endpoints across 3,100+ services, probed every 3 hours and scored 0-100 for reliability. Agents don't need to know which x402 API is up. Ask the router.
Keywords: x402, MCP, MCP server, AI agents, agent payments, pay-per-call APIs, USDC, Base, Solana, x402 discovery, x402 router, x402 registry, HTTP 402.
- Live router: https://router-production-ab89.up.railway.app (OpenAPI: /openapi.json · x402 discovery: /.well-known/x402 · health: /health)
- Dashboard / registry: https://router-production-ab89.up.railway.app/dashboard
- For LLMs: https://router-production-ab89.up.railway.app/dashboardllms.txt
Quick start (MCP, 30 seconds)
The server is read-only: it holds no keys and never pays. It exposes four tools:
search_x402_endpoints, route_x402_request, get_registry_stats, get_paid_route_requirements.
Option A: uvx (no clone, no PyPI needed)
Claude Desktop (claude_desktop_config.json) or Cursor (~/.cursor/mcp.json):
Option B: Docker
Or build it yourself: docker build -t x402-router-mcp . and use x402-router-mcp as the image name.
Option C: from source
Streamable HTTP: python server.py --http 8000 serves http://localhost:8000/mcp.
Env overrides: X402_ROUTER_URL, X402_DASHBOARD_URL.
Try it with no install (curl)
Why
Thousands of x402 endpoints exist, and many are dead, misconfigured or slow. The router probes every one, checks that its 402 body is valid (version, scheme, network, payTo, asset, amount), and ranks by uptime and latency, so an agent gets a working endpoint with a known price.
HTTP API
Examples: examples/ (curl, Python, TypeScript).
MCP tools
Paid tools pay inside the tool call. To enable them:
Without a key, the paid tools return the price and the x402 payment requirements instead of paying.
Payments
x402 v2: Base USDC first, Solana USDC as fallback, settled through the PayAI facilitator.
License
MIT
來源:README.md,提交 e0f015b
工具
0版本歷史
1- v0.1.0最新Oct 25, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Router 整合
370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation
ai.router官方發布者
遠端 AI 閘道 MCP 伺服器,讓助理用一組 370.ai API 金鑰呼叫 100 多個聊天模型、生成圖片並將文字轉成語音。

AI Media Router
由 GitHub 帳號 jutsuhq 發布
本機 MCP 伺服器,用你自己的 API 金鑰透過 40 多家供應商生成圖片與影片,支援比價與可搜尋的本機素材庫。

Bike Router
由 GitHub 帳號 JonasHeinickeBio 發布
連接自架 pyBikeRouter API 的 MCP 伺服器,可規劃以 OSM 為基礎的單車路線,並附上天氣、景點與 GeoJSON/GPX 匯出。

Uniswap Universal Router Decoder
由 GitHub 帳號 Elnaril 發布
本機 MCP 伺服器,用來解碼與編碼 Uniswap Universal Router 的 V2、V3、V4 呼叫資料,僅供讀取,不簽章也不送出交易。

GenPark Consistent Hash Ring Router
由 GitHub 帳號 alphaparkinc 發布
一個本機 MCP 伺服器,提供含虛擬節點的一致性雜湊環,用於分散式 LLM 快取路由與代理程式分區。