SmartFetch

io.github.Friezaaaa由 GitHub 账号 Friezaaaa 发布v1.15.0更新于 Nov 20, 2026

HTML/PDF/Markdown, browser render, screenshots, site intel, URL map & batch via Base/Solana x402.

已验证Streamable HTTP可网页运行网页搜索与抓取浏览器自动化金融

概览

AI 生成的概览

远程 MCP 服务器,可抓取、渲染、截图和审计公开网页与 PDF,并提供网页搜索与线索查询,按次以 USDC 通过 x402 付费。

可以做什么
  • 抓取公开网页与 PDF,输出纯文本、Markdown、代码块、表格、元数据和链接
  • 用隐身无头浏览器渲染依赖 JavaScript 或带反爬的页面,并截取桌面或移动端截图
  • 检查站点的 WHOIS、DNS、SSL 与安全响应头、技术栈和联系方式,并从站点地图与链接中梳理最多 500 个站内 URL
  • 并行批量抓取最多五个 URL
  • 搜索网页、Google 新闻与地点,并执行先搜索后抓取的流程
  • 搜索 X 帖子,生成本地商家或 B2B 线索名单
适用场景
适合需要稳定读取公开网页和 PDF(包括 JavaScript 渲染或带反爬保护的站点),或需要在一处完成站点情报、URL 梳理、网页搜索和线索补充的场景。若只需偶尔简单抓取页面,或无法按次付费,则意义不大。
运行要求
使用远程 streamable HTTP 端点,无需本地安装。每次抓取调用都需通过 x402 在 Base 主网或 Solana 主网以 USDC 付费,因此需要已充值的钱包和签名客户端。Apify 托管版本需在 Authorization Bearer 头中提供 Apify API 令牌并使用 Apify 额度。搜索、线索和 X 工具仅在运营方配置了相应服务商密钥时可用。
安装前请注意
调用需要付费,每次约 0.005 至 0.03 USDC,链上结算,让代理自动签名付款前应设置支出上限。支付授权由你自己的钱包签名。服务器会把请求的 URL 发送给第三方渲染与搜索服务;线索工具会从公开网站收集邮箱和电话,涉及隐私与推广合规义务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SmartFetch,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Friezaaaa%2Fsmartfetch/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "smartfetch": {
      "type": "http",
      "url": "https://smartfetch-production-ea53.up.railway.app/mcp"
    }
  }
}

README

SmartFetch V1.15.0 — Production Isolated Browser & x402 Payments

SmartFetch provides reliable, high-performance public webpage retrieval and rendering for AI agents and developer applications with zero-trust browser isolation and x402 micropayment protection.


Live Interactive Playground

Explore SmartFetch directly from your browser without installing anything:

Features:

  • Free Live 402 Inspection: Decode and inspect the live dual-chain Base Mainnet (eip155:8453) and Solana Mainnet (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) x402 challenge header, pricing ($0.005 / $0.01 / $0.015 USDC), seller treasury addresses, and service health without a wallet.
  • Dual-Chain Web3 Wallet Payments (Base + Solana): Sign EIP-712 TransferWithAuthorization authorizations via MetaMask, Coinbase Wallet, or Rabby on Base Mainnet (0x2105 / 8453) OR sign SPL TransferChecked transactions via Solana Wallet Standard (Phantom, Solflare, Backpack, MetaMask Solana) on Solana Mainnet with facilitator-sponsored gas.
  • HTML DOM + Local PDF Support: Interactive previews featuring sandboxed HTML rendering (sandbox="allow-scripts"), formatted Markdown, extracted plain text, and local PDF extraction.
  • Client-Side SSRF Protection: Real-time validation preventing requests to internal IPs, localhost, or cloud metadata endpoints (169.254.169.254).
  • Interactive Code Generator: Ready-to-copy integration code in cURL, Python (x402), TypeScript (viem / @solana/web3.js), and MCP configuration JSON.

Apify Store (Cards, PayPal, Standby MCP)

Prefer traditional cloud billing (credit/debit cards, PayPal, or prepaid Apify credits) instead of on-chain crypto wallets? SmartFetch is available as a self-contained Pay-Per-Event (PPE) Actor and Standby MCP Server on the Apify Store:

  • Public Apify Store Actor: https://apify.com/smartfetch.dev/smartfetch
  • Standby MCP Endpoint: https://smartfetch-dev--smartfetch.apify.actor/mcp (pass Authorization: Bearer <APIFY_API_TOKEN>)
  • Bulk B2B Lead & Tech-Stack Enrichment (bulk_inspect): Supply up to 50 bare domains or URLs (["stripe.com", "linear.app", ...]) to concurrently extract flat, CSV/Excel-ready rows containing domain, url, title, description, emails, phones, github, linkedin, x_twitter, tech_stack, https, has_hsts, and has_csp.
  • Site URL Discovery (map / map_website): Discover up to 500 internal URLs on any website via robots.txt (Sitemap:), /sitemap.xml (including nested <sitemapindex>), and internal <a href> links with optional keyword filtering.
  • Pay-Per-Event Pricing:
    • actor-start: $0.00 (no startup fee; $0.00001 platform minimum)
    • page-fetched: $0.01 per successfully retrieved webpage, PDF, or site map (fetch, batch_fetch, & map)
    • site-inspected: $0.01 per successful structured site intelligence or B2B lead enrichment (inspect & bulk_inspect)
    • screenshot-captured: $0.02 per successful headless Chromium screenshot (screenshot)
    • Zero charge on failed requests.

Architecture Overview

SmartFetch separates the public API/MCP interface from headless browser execution across two isolated tiers:

  1. Railway Public Gateway:

    • Hosts the streamable Model Context Protocol (MCP) server (/mcp) and REST API (/fetch).
    • Serves discovery documents: /.well-known/x402, /openapi.json, /llms.txt, /meta, /docs.
    • Strictly enforces x402 micropayment challenges across all retrieval operations ($0.005 USDC on Base Mainnet).
    • Verifies and settles EIP-712 payment authorizations via Coinbase Developer Platform (CDP) facilitators.
  2. DigitalOcean Isolated Browser Worker (VPS):

    • Dedicated headless browser rendering host communicating with Railway via mutual TLS (mTLS) and HMAC-SHA256 signature verification.
    • Replay protection with 16-byte nonce validation and sliding timestamp window.
    • Renders web pages inside ephemeral Docker containers (--network none, non-root UID 10001:10001).
    • All network traffic is mediated by an isolated Unix IPC policy broker enforcing strict SSRF protections against private IP ranges and cloud metadata endpoints (169.254.169.254).

Production Parameters

  • Service Version: 1.15.0
  • Operating Mode: isolated_browser
  • Supported Networks:
    • Base Mainnet (eip155:8453) — Native USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
    • Solana Mainnet (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) — Native SPL USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v)
  • Price: $0.005 USDC (5000 atomic units) for webpage retrieval, site inspection, and site URL mapping (POST /fetch, POST /inspect, POST /map, retrieval tools, inspect_webpage, and map_website); $0.01 USDC (10000 atomic units) for screenshot capture (POST /screenshot and screenshot_webpage); $0.015 USDC (15000 atomic units) for parallel batch retrieval (POST /batch-fetch and batch_fetch_webpages)
  • Seller Treasury (payTo):
    • Base (EVM): 0xE29Fcb6ef1534d5F138E48a8A71370BE7770A786
    • Solana (SVM): 88hE4EB4yZwb4F2arPXcG7efwQyU5FDN26DuVpVKVk2W
  • MCP Tools:
    • fetch_webpage ($0.005 USDC)
    • webpage_to_markdown ($0.005 USDC)
    • extract_webpage_text ($0.005 USDC)
    • render_webpage ($0.005 USDC)
    • screenshot_webpage ($0.01 USDC)
    • inspect_webpage ($0.005 USDC)
    • batch_fetch_webpages ($0.015 USDC)
    • map_website ($0.005 USDC)
  • Opt-In Endpoints (enabled when provider keys are configured on server):
    • POST /search / search_web ($0.010 USDC; requires SERPER_API_KEY or EXA_API_KEY)
    • POST /search-and-fetch / search_and_fetch ($0.020 USDC; requires SERPER_API_KEY or EXA_API_KEY)
    • POST /leads / search_leads ($0.030 USDC; requires SERPER_API_KEY; also available as search_leads on Apify)
    • POST /x-search / search_x_posts ($0.008 USDC; requires TWITTERAPI_KEY)
    • map_website ($0.005 USDC)
  • REST Endpoints:
    • POST /fetch ($0.005 USDC)
    • POST /screenshot ($0.01 USDC)
    • POST /inspect ($0.005 USDC)
    • POST /batch-fetch ($0.015 USDC)
    • POST /map ($0.005 USDC)

Documentation & Validation


Agent Quickstart & x402 Micropayments

SmartFetch enables autonomous AI agents to pay for web retrievals using off-chain EIP-712 payment authorizations settled on Base Mainnet.

5-Step Agent Workflow

  1. Discover: Query /.well-known/x402 or /.well-known/agent-card.json to verify pricing ($0.005 USDC on Base Mainnet).
  2. Challenge: Submit an unauthenticated POST /fetch request; SmartFetch replies with HTTP 402 Payment Required.
  3. Sign: Agent inspects the PAYMENT-REQUIRED header, checks its spending limit, and signs an EIP-712 TransferWithAuthorization.
  4. Execute: Resubmit POST /fetch with the signature in the PAYMENT-SIGNATURE header.
  5. Retrieve: SmartFetch verifies the authorization, renders the page inside the DigitalOcean isolated container, settles the payment on Base Mainnet, and returns HTTP 200 with the transaction receipt in PAYMENT-RESPONSE.

Discovery Manifests

EndpointStandardDescription
GET /.well-known/x402x402 Manifest v2Machine-readable pricing ($0.005), USDC asset address, and payment scheme
GET /.well-known/agent-card.jsonA2A ProtocolAgent-to-Agent discovery manifest (capabilities, MCP endpoints, contact)
GET /.well-known/owners.jsonVerifyMCP StandardVerified domain and MCP identity proof
GET /mcpModel Context ProtocolStreamable HTTP transport for AI agent tool invocation
GET /openapi.jsonOpenAPI 3.1REST API schema for automated code generation
GET /llms.txtLLMs.txtLLM-readable summary and prompt engineering reference

来源:README.md,提交 a5e1945

工具

12

fetch_webpage

Primary webpage and PDF retrieval tool & document extraction (pdf, pdf-to-markdown, pdf text extraction, pdf ocr alternative, whitepaper, rfc, academic paper). Extracts clean text, Markdown, fenced code blocks, pricing tables, OpenGraph metadata, JSON-LD, and links from any public HTTP/HTTPS webpage or PDF. Uses Chrome TLS fingerprint HTTP first and automatically escalates to stealth Chromium dynamic rendering for JavaScript hydration, SPA shells, Cloudflare bypass, WAF, and anti-bot pages. (Use webpage_to_markdown or extract_webpage_text for token-saving single-format output, or render_webpage when you need raw rendered HTML DOM.)

输入参数url必填scrollwait_msmax_charsforce_browserdismiss_cookiesonly_main_contentwait_for_selector

webpage_to_markdown

Token-efficient PDF & webpage converter returning clean Markdown, fenced code blocks, pricing tables, and metadata from any public URL, PDF, whitepaper, RFC, or SPA.

输入参数url必填max_charsforce_browseronly_main_content

extract_webpage_text

Token-efficient PDF & webpage text extractor (pdf text extraction, pdf ocr alternative) returning clean plain text and metadata from any public webpage, whitepaper, or PDF.

输入参数url必填max_charsforce_browseronly_main_content

render_webpage

Forced stealth headless Chromium renderer for any public webpage URL (JavaScript hydration, SPAs, Cloudflare/WAF anti-bot pages, and dynamic rendering). Returns post-JS rendered HTML DOM, Markdown, fenced code blocks, OpenGraph metadata, JSON-LD, and links.

输入参数url必填scrollwait_msmax_charsdismiss_cookiesonly_main_contentwait_for_selector

screenshot_webpage

Desktop (1280x800) & mobile (390x844, mobile=true) responsive compliance screenshot, visual audit, phishing verification, and full-page webpage URL capture tool using isolated stealth Chromium.

输入参数url必填mobilescrollwait_msviewportfull_pageimage_formatdismiss_cookieswait_for_selector

inspect_webpage

Security audit, WHOIS, RDAP, DNS lookup (MX, SPF, DMARC), SSL/security headers (HSTS, CSP, X-Frame-Options), tech stack (Wappalyzer-style), and B2B company enrichment / email finder for 1 to 5 URLs (url or urls). Supports deep=true sub-crawling of /contact, /about, /pricing, and /team plus Google Workspace / Microsoft 365 detection.

输入参数urldeepurlsrender_modeforce_browser

batch_fetch_webpages

Parallel batch webpage and PDF document extraction tool (pdf, pdf-to-markdown, pdf text extraction, pdf ocr alternative, whitepaper, rfc, academic paper, spa, anti-bot, stealth chromium). Fetches up to 5 public URLs concurrently with Markdown, fenced code blocks, OpenGraph metadata, JSON-LD, pricing tables, and fair settlement (502 if all fail).

输入参数urls必填no_cacherender_modemax_chars_per_url

map_website

Sitemap crawler, robots.txt parser, documentation URL mapper, and internal link discovery tool. Discovers up to 500 internal URLs from robots.txt, XML sitemaps (including nested sitemap indexes), and HTML links, with optional search filtering and subdomain support.

输入参数url必填searchmax_urlsno_cacheinclude_subdomains

search_web

Real-time web search, Google News, and Google Places SERP API powered by Serper (with Exa fallback). Returns ranked titles, URLs, snippets, dates, and Places metadata to corroborate sources.

输入参数query必填countrylanguageno_cacheprovidernum_resultssearch_type

search_and_fetch

End-to-end RAG pipeline: real-time web search (SERP) plus parallel scraping of full article Markdown, fenced code blocks, OpenGraph metadata, and JSON-LD from top matching pages to corroborate sources.

输入参数query必填no_cacheprovidernum_resultsrender_modemax_chars_per_page

search_leads

Local business leads & B2B outbound generator (Google Maps scraper, Google Places, med spa, cosmetic dentist, contractors). Discovers businesses and runs concurrent Deep /inspect to extract emails, phones, ratings, reviews, tech stack (WordPress, Shopify, HubSpot), and mail providers (Google Workspace, Microsoft 365).

输入参数deepquery必填sourcecountrylanguageno_cachemax_leads

search_x_posts

Live Twitter search & X posts API for social sentiment, developer sentiment, crypto alpha, trending topics, micropayments, and latest tweets. Returns engagement metrics, author handles, follower counts, and pagination cursor.

输入参数query必填cursorno_cachemax_tweetsquery_type

版本历史

2
  1. v1.15.0最新Nov 19, 2026
  2. v1.10.6Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分