New advertisers: 50% off your first month with code FIRSTMONTHSee slots
tuxxin avatar

Webfetch.io

tuxxin/webfetch-sdk

Fetch web pages and run search engine queries over Webfetch.io's hosted API.

tools
3
auth
Secret needed
transport
HTTP
last updated
Nov 22, 2026
View on GitHub

What it does

  • Reads pages with fetch_page as markdown, text, or HTML, and pulls structured fields with extract_data using CSS or XPath selectors
  • Runs search_web against Google, Bing, Yahoo, or Brave, returning organic results, ads, related searches, and questions as JSON
  • Requires a Webfetch.io API key sent as a bearer token; JavaScript rendering costs 5 credits per fetch, while plain fetches cost 1 and failed calls cost nothing
  • Designed for research, scraping, and live web lookups where the assistant needs current page content or search results

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

fetch_pageA URL as markdown, plain text or raw HTML. JavaScript is rendered by default (5 credits); render_js false is a plain fetch (1 credit).

A URL as markdown, plain text or raw HTML. JavaScript is rendered by default (5 credits); render_js false is a plain fetch (1 credit).

No parameter schema in public metadata yet.

extract_dataJSON built from CSS or XPath selectors, so the model gets fields instead of a whole page.

JSON built from CSS or XPath selectors, so the model gets fields instead of a whole page.

No parameter schema in public metadata yet.

search_webOne page of Google, Bing, Yahoo or Brave results as JSON: organic results, ads, related searches and questions. 10 credits a page; needs search access on the key.

One page of Google, Bing, Yahoo or Brave results as JSON: organic results, ads, related searches and questions. 10 credits a page; needs search access on the key.

No parameter schema in public metadata yet.

Readme

Webfetch SDKs

Official clients for the webfetch.io scraping and search API, in JavaScript, Python and PHP. MIT licensed.

Each one wraps GET https://api.webfetch.io/v1/ and the search endpoints (/v1/google, /v1/bing, /v1/yahoo, /v1/brave). The API is ScrapingBee-compatible, so parameter names, defaults and credit costs match.

LanguageInstallRequires
JavaScriptnpm install @tuxxin/webfetchNode 18+, no runtime dependencies
Pythonpip install webfetch-io (imports as webfetch)Python 3.9+, httpx
PHPcomposer require tuxxin/webfetchPHP 8.1+, ext-curl

The shape is the same in all three

client = Webfetch(api_key)
result = client.fetch(url, render_js=True, ...)

result.content     the page, as bytes or a string
result.credits     what this call cost, from the Wf-Cost header
result.status      the status the target returned
result.resolved_url  where it ended up after redirects

Search


View the full README on GitHub

Details

Repository
github.com/tuxxin/webfetch-sdk
Website
webfetch.io
Categories
Browser Automation & Scraping, Web Search
Transport
HTTP
Auth
Required
Registry
MCP registry, active

More from tuxxin

All 3