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 集成