Agent Margin Router

io.github.AgentMarginRouter由 GitHub 帳號 AgentMarginRouter 發布v0.6.0更新於 Oct 24, 2026

38 x402 pay-per-call tools for AI agents (USDC/USDT on Base): web, crypto, on-chain, geo, packages

發布方自己的服務:370.ai — AI Gateway: 100+ Chat Models, Image & Speech Generation

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取金融開發者工具

概覽

AI 產生的概覽

遠端 MCP 伺服器,提供 38 個按次付費工具,涵蓋網頁擷取、加密與鏈上資料、DNS、地理與套件查詢,以 Base 上的 USDC/USDT 計費。

可以做什麼
擷取與轉換網頁內容:乾淨頁面擷取、HTML 轉 Markdown、爬取、網站地圖、中繼資料、URL 健康檢查、PDF 文字、RSS 與 YouTube 字幕,以及網頁與新聞搜尋、Hacker News、Reddit、維基百科和 arXiv 查詢、SEO 稽核、電子郵件驗證、DNS/WHOIS/RDAP 與 IP 地理定位、npm/PyPI 套件資訊與 GitHub 儲存庫摘要,以及加密與鏈上資料:代幣價格、K 線、DEX 價格、價差、Gas 費、錢包與 ERC-20 餘額、交易狀態、ENS、DeFi 收益與 TVL、恐懼貪婪指數和法幣換算。
適用情境
適合助理需要大量零散的小型資料查詢(網頁、加密市場、鏈上狀態、網域、套件)又不想分別管理 API 金鑰時,且可接受按次加密支付。
執行需求
遠端 streamable HTTP 端點,無需 API 金鑰或註冊。每次付費呼叫透過 x402 以 Base 上的 USDC 或 USDT 結算,因此需要能簽署 x402 支付的已儲值錢包;每個錢包有 3 次免費呼叫。
安裝前請注意
多數工具按次以 Base 上的 USDC/USDT 收費,使用會消耗真實資金;best_price 會從節省金額中抽取佣金。工具會抓取任意公開 URL 並向第三方資料來源送出查詢。未宣告身分驗證,付費與呼叫錢包綁定。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.AgentMarginRouter%2Fagent-margin-router/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

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

{
  "mcpServers": {
    "agent-margin-router": {
      "type": "http",
      "url": "https://agent-margin-router-production.up.railway.app/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

53

extract_clean

Extract Clean

Clean page extraction from any public URL: title, meta description, main text, JSON-LD, language. Optional `schema` keeps only the listed top-level keys. Apify (JS-rendered) with direct-fetch fallback. Pay per call with USDC or USDT on Base via x402 – no API key, no signup. 3 free calls per wallet.

輸入參數url必填schemawalletapi_keyx_paymentinstructions

market_spread

Market Spread

Cross-exchange crypto spread from live tickers: gross spread, fees, modelled slippage, transfer cost and net edge in bps for a given trade size. Ticker/volume based (no full order book). Pay per call with USDC or USDT on Base via x402 – no API key, no signup. 3 free calls per wallet.

輸入參數asset必填quotewalletapi_keysize_usdbuy_venue必填x_paymentsell_venue必填max_age_seconds

gas_fees

Gas Fees

Live EIP-1559 gas fees (slow/standard/fast tiers) plus USD cost per transaction type (transfer, ERC-20 transfer, swap, NFT mint) for Base, Ethereum, Arbitrum, Optimism and Polygon. Aggregated from public RPC nodes – no API key. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chainwalletapi_keyx_paymentmax_age_seconds

best_price

Best Price

Best-price router: queries several independent gas-price sources in parallel, returns the cheapest quote and charges a configurable share of the savings (average - best) as commission. Response includes the full breakdown (best_price, average_price, savings_gross, provision, user_pays) for Base, Ethereum, Arbitrum, Optimism and Polygon. No API key. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chainwalletapi_keyx_payment

token_price

Token Price

Multi-venue median spot price for any major crypto asset (Binance, Coinbase, Kraken, CoinGecko) with min/max, deviation and confidence score – one call instead of four. No API key. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數asset必填quotevenueswalletapi_keyx_paymentmax_age_seconds

wallet_balance

Wallet Balance

Native + stablecoin balances (ETH, USDC, USDT, DAI, WETH) of any EVM wallet with USD valuation, read directly from public RPC nodes on Base, Ethereum, Arbitrum, Optimism or Polygon. No API key. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chaintokenswalletaddress必填api_keyx_payment

email_validate

Email Validate

Validate an email address: RFC syntax, MX/A records via DNS-over-HTTPS, disposable and free-provider detection, role-account flag, deliverability score and verdict. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數email必填walletapi_keycheck_mxx_payment

dns_whois

DNS + WHOIS

DNS records (A, AAAA, MX, NS, TXT, CNAME, SOA, CAA) via DNS-over-HTTPS plus RDAP/WHOIS registration data (registrar, created/expires, status, nameservers, DNSSEC). Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數domain必填walletapi_keyx_paymentrecord_typesinclude_whois

pdf_text

PDF Text

Extract clean text (per page + full) and metadata from any public PDF URL up to 25 MB / 200 pages. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填pageswalletapi_keymax_pagesx_payment

seo_check

SEO Check

On-page SEO audit of any URL: title, meta description, canonical, headings, images without alt, links, Open Graph, structured data, robots.txt/sitemap, prioritized issues and a 0-100 score with grade. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填walletapi_keyx_paymentcheck_robots

defi_yields

DeFi Yields

Live DeFi pool yields (APY, TVL, stablecoin flag) across 100+ chains and protocols from DefiLlama. Filter by chain, asset, project, minimum TVL; sorted by APY. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數assetchainlimitwalletapi_keyprojectx_paymentmin_tvl_usdstablecoins_only

currency_convert

Currency Convert

Fiat currency conversion with ECB reference rates (30+ currencies): amount, source currency, one or many targets. Returns rates, converted amounts and rate date. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數to必填from必填amountwalletapi_keyx_payment

geo_ip

Geo IP

IP geolocation for IPv4/IPv6: country, region, city, coordinates, timezone, ASN, ISP/org, EU flag, private-range detection. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數ip必填walletapi_keyx_payment

rss_feed

RSS Feed

Fetch and parse any RSS 2.0 or Atom feed into clean JSON: title, link, published date, author, summary, optional full text content and categories per item. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填walletapi_keymax_itemsx_paymentinclude_content

crypto_ohlcv

Crypto OHLCV

Historical OHLCV candles for any major crypto pair (Binance, Coinbase fallback): intervals 1m-1w, up to 500 candles, with period summary (high, low, volume, change %). Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數limitquotesymbol必填walletapi_keyintervalx_payment

ens_resolve

ENS Resolve

Resolve an ENS name to its Ethereum address plus text records (url, com.twitter, avatar, ...) via on-chain calls. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數name必填walletapi_keytext_keysx_payment

html_to_markdown

HTML to Markdown

Convert any public web page into clean, LLM-ready Markdown: main content only (boilerplate, nav and ads removed), headings, lists, tables and optional links/images preserved. Trafilatura extraction with markdownify fallback, SSRF-guarded fetch, up to 3 MB HTML. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填walletapi_keyx_paymentinclude_linksinclude_images

youtube_transcript

YouTube Transcript

Fetch the transcript of a YouTube video (manual or auto-generated captions) as timestamped segments plus full text, with language preference and English fallback. Accepts a video id or any YouTube URL. No API key, no download. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數walletapi_keylanguagevideo_id必填x_paymentinclude_segments

github_repo_summary

GitHub Repo Summary

One-call overview of any public GitHub repository: description, stars, forks, open issues, primary language and language split (%), topics, license, default branch, README excerpt and the 5 most recent commits. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數repo必填walletapi_keyx_paymentinclude_readmeinclude_commits

dex_price

DEX Price

Live DEX price, 24h change, volume and liquidity for any on-chain token (long-tail tokens not listed on CEXs) by contract address or symbol on Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche or Solana, with the top liquidity pairs per DEX (DexScreener). Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chainsymbolwalletapi_keymax_pairsx_paymenttoken_address

tx_status

Transaction Status

Status of any EVM transaction on Base, Ethereum, BSC, Polygon, Arbitrum or Optimism: success/failed/pending, block number, confirmations, gas used, effective gas price, fee, from/to/value and all ERC-20 Transfer events decoded from the receipt logs (contract, symbol, decimals, amount). Public JSON-RPC nodes with fallback. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chainwalletapi_keytx_hash必填x_paymentmax_age_seconds

erc20_balance

ERC-20 Balance (Multicall)

Balances of up to 20 arbitrary ERC-20 tokens for one wallet in a single Multicall3 round-trip: raw and decimal-formatted balance, decimals and symbol per token, on Base, Ethereum, BSC, Polygon, Arbitrum or Optimism. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chainwalletapi_keyx_paymentwallet_address必填contract_addresses必填

defi_tvl

DeFi TVL

Total value locked of a DeFi protocol (by DefiLlama slug: TVL, 1d/7d change, market cap, mcap/TVL ratio, TVL per chain, category) or of a whole chain (TVL, native token, protocol count, top-10 protocols). Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chainwalletapi_keyprotocolx_payment

fear_greed

Crypto Fear & Greed

Crypto market sentiment: the daily Fear & Greed index (0-100) with classification, 1d/7d change and up to 90 days of history from alternative.me. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數limitwalletapi_keyx_payment

agent_wallet_snapshot

Agent Wallet Snapshot

One-call wallet overview for autonomous agents: native balance, ERC-20 balances (default stablecoins + WETH, or any contracts you pass), current gas price, tx count, contract check and USD values incl. total – bundles what would otherwise be 5+ RPC calls. Base, Ethereum, BSC, Polygon, Arbitrum, Optimism. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chainwalletapi_keyx_paymentwallet_address必填token_contracts

url_status

URL Status

Health check for any public URL: HTTP status, full redirect chain, response time, content type, SSL certificate validity/expiry/issuer and a security-header audit (HSTS, CSP, X-Frame-Options, …) with score. SSRF-guarded (private/internal targets are rejected). Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填walletapi_keyx_payment

web_crawl

Web Crawl

Mini crawler: fetches a start page and follows same-domain links breadth-first (max 10 pages), returning clean LLM-ready Markdown, title, word count and discovered links per page; honours robots.txt by default. SSRF-guarded. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數walletapi_keymax_pagesstart_url必填x_paymentfollow_linksinclude_linksrespect_robots

metadata

Page Metadata

Structured metadata for any public page in one call: title, meta description/keywords, canonical URL, HTML lang, charset, favicon (absolute URL) and the FULL OpenGraph (all og:*) and Twitter-Card (all twitter:*) tag sets. Ideal for link previews / unfurling and agent research. SSRF-guarded. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填walletapi_keyx_payment

sitemap_urls

Sitemap URLs

Parse a sitemap into the real URL list: accepts a direct sitemap.xml, a <sitemapindex> (recursed, bounded) or a site root (robots.txt Sitemap: lines, then /sitemap.xml as fallback). Returns each URL with lastmod, changefreq and priority. SSRF-guarded. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填walletapi_keymax_urlsx_payment

wikipedia_summary

Wikipedia Summary

Clean article summary from Wikipedia in any language: title, short description, extract (capped), canonical URL, thumbnail and coordinates; falls back to search when the title is fuzzy. Content CC BY-SA 4.0. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數title必填walletapi_keylanguagemax_charsx_payment

npm_package

npm Package

npm package intelligence: latest version, license, repository, maintainers, dependency count, publish dates and weekly downloads – ideal for dependency vetting by coding agents. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數name必填walletapi_keyx_payment

pypi_package

PyPI Package

PyPI project intelligence: latest version, summary, license, author, project URLs, Python requirement, declared dependencies, release count and last release date. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數name必填walletapi_keyx_payment

geocode

Geocode

Turn a place name or address into coordinates, bounding box, address parts and OSM type using OpenStreetMap Nominatim (ODbL); cached 24h. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數query必填walletapi_keylanguagex_paymentmax_resultscountry_codes

domain_rdap

Domain RDAP

Domain registration data via RDAP (the WHOIS successor): registered flag, registrar, status, registration/expiry events, nameservers and DNSSEC – for availability checks and due diligence. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數domain必填walletapi_keyx_payment

dns_lookup

DNS Lookup

Resolve any DNS record type (A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, CAA, PTR) over DNS-over-HTTPS with TTLs and DNSSEC validation flag. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數name必填walletapi_keyx_paymentrecord_type

contract_info

Contract Info

Smart-contract metadata from Blockscout for Base, Ethereum, Optimism or Arbitrum: verification status, name, compiler, proxy/implementation, creator, creation tx, token details and function/event names. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數chainwalletaddress必填api_keyx_payment

weather

Weather

Current conditions plus a daily forecast (up to 16 days) for any place name or lat/lon via Open-Meteo (key-less, CC BY 4.0); temperature in °C or °F, cached 30 min. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數walletapi_keylatitudelocationlongitudex_paymentforecast_daystemperature_unit

holidays

Public Holidays

Official public holidays for a country and year via Nager.Date (key-less): date, local + English name, whether it is nationwide, and sub-region counties. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數year必填walletapi_keyx_paymentcountry_code必填

robots_check

Robots.txt Check

Answer 'may this user-agent crawl this URL?' by fetching and parsing the site's robots.txt: allowed flag, crawl-delay, request-rate and declared sitemaps. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填walletapi_keyx_paymentuser_agent

feed_discover

Feed Discover

Find the RSS/Atom feed URLs for a website from its HTML link tags, with a common-path fallback (/feed, /rss.xml, ...). Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數url必填walletapi_keyx_payment

text_stats

Text Stats

Readability and text statistics for raw text or a fetched page: word/sentence/syllable counts, Flesch Reading Ease, Flesch-Kincaid grade, and reading/speaking time. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數urltextwalletapi_keyx_payment

timezone

Timezone & Local Time

Current local time, UTC offset, DST status and abbreviation for any IANA timezone name, or resolve a place name to its timezone and local time. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數walletapi_keylocationtimezonex_payment

qr_generate

QR Code Generator

Generate a QR code from any text or URL and return it as a scalable SVG image plus a data-URI. Pure key-less generation, no third-party service. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數data必填scaleborderwalletapi_keyx_paymenterror_correction

uuid

UUID Generator

Generate one or more RFC 4122 UUIDs (random v4, or deterministic v5 from a namespace and name). Key-less, local generation. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數namecountwalletapi_keyversionnamespacex_payment

hash

Hash Generator

Compute cryptographic hash digests (MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512) of any text. Key-less, local computation. Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.

輸入參數text必填walletapi_keyx_paymentalgorithms

media_convert

Media Convert

Convert or transcode a public audio/video/image file via a self-hosted FFmpeg container: pass a source URL and a target format (mp3, mp4, webm, wav, png, …) and receive a public output URL. Pay per call with USDC or USDT on Base via x402 – no API key, no signup. 3 free calls per wallet.

輸入參數url必填walletapi_keyoperationx_paymenttarget_format必填

health

Service health

Free. Returns AMR service status, provider health and cache metrics.

無需輸入參數。

payment_info

Payment requirements

Free. Returns the x402 payment requirements (price, USDC/USDT contract, pay-to wallet, network) for a given tool so an agent can construct an x402 payment.

輸入參數tool必填

版本歷史

1
  1. v0.6.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Router 整合