Webfetch.io
Fetch any URL as markdown, text, HTML or selector-built JSON; search Google, Bing, Yahoo and Brave.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"webfetch": {
"url": "https://webfetch.io/mcp"
}
}
}Remote-Endpunkte
https://webfetch.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (3)
🟢fetch_page(url, render_js, return_format)
Fetch one URL and return the page as markdown, plain text or raw HTML. Use it to read a page whose URL you have; use extract_data instead for specific fields as JSON, and search_web when you have no URL yet. JavaScript is rendered by default (5 credits); render_js false is a plain HTTP fetch (1 credit). The result is a summary line (host, credits charged) and then the content, cut at 100,000 characters, which the summary notes. A failed fetch returns isError with the HTTP status and reason, and costs nothing.
Eingabe-Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Absolute http:// or https:// URL of the page, e.g. https://example.com/pricing."
},
"render_js": {
"type": "boolean",
"default": true,
"description": "true runs the page in a browser, so content drawn by JavaScript is included (5 credits). false is a plain HTTP fetch (1 credit): faster, and enough for static pages such as articles and docs."
},
"return_format": {
"type": "string",
"enum": [
"markdown",
"text",
"html"
],
"default": "markdown",
"description": "markdown keeps headings, links and lists and drops the page chrome, which suits reading. text is the same content without markup. html is the document unchanged, for attributes or markup you need to inspect."
}
},
"required": [
"url"
],
"additionalProperties": false
}🟢extract_data(url, extract_rules, render_js)
Fetch one URL and return JSON built from CSS or XPath selectors: named fields instead of a whole page. Use it when you know which elements hold the data (prices, titles, links, tables); read the page with fetch_page first if you do not. It costs what fetch_page costs. A rule that matches nothing returns null (item) or [] (list) and the call still succeeds, so check for nulls. An invalid rule or a failed fetch returns isError with the reason, and costs nothing. Output is cut at 100,000 characters.
Eingabe-Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Absolute http:// or https:// URL of the page, e.g. https://example.com/pricing."
},
"extract_rules": {
"type": "object",
"minProperties": 1,
"description": "Map each output name to a selector; the result has the same keys. A string is shorthand for the text of the first match, and \"a@href\" takes an attribute. An object may set selector, selector_type (auto, css, xpath), type (item or list), and output (text, html, @attr, table_json, table_array, or a nested object of further rules). Example: {\"title\": \"h1\", \"links\": {\"selector\": \"a\", \"type\": \"list\", \"output\": \"@href\"}}"
},
"render_js": {
"type": "boolean",
"default": true,
"description": "true runs the page in a browser before extracting (5 credits). false parses the raw HTML (1 credit) and misses elements drawn by JavaScript."
}
},
"required": [
"url",
"extract_rules"
],
"additionalProperties": false
}🟢search_web(query, engine, country_code, page, search_type, ...)
Search Google, Bing, Yahoo and Brave (one engine per call) and return one results page as JSON: organic_results (position, title, url, description, date), top_ads, bottom_ads, related_searches, questions and number_of_results. Use it to find pages when you have no URL; then read a result with fetch_page or pull fields from it with extract_data. 10 credits per page. Needs search access on the key: paid plans turn on the robots.txt opt-out in the key portal, and free accounts request it there. Without it, or on any failure, the call returns isError with the reason, and costs nothing.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"description": "The search terms as typed in the search box. Quotes and operators such as site: work as they do on the engine."
},
"engine": {
"type": "string",
"enum": [
"google",
"bing",
"yahoo",
"brave"
],
"default": "google",
"description": "Which engine to search. Each has its own index, so results differ."
},
"country_code": {
"type": "string",
"default": "us",
"pattern": "^[A-Za-z]{2}$",
"description": "Two-letter ISO 3166-1 code of the country to search from, e.g. us, gb, de. A country that cannot be served returns isError and costs nothing; omit it to search from the US."
},
"page": {
"type": "integer",
"default": 1,
"minimum": 1,
"maximum": 50,
"description": "Results page, 1 to 50. Each page is a separate call, charged separately."
},
"search_type": {
"type": "string",
"enum": [
"classic",
"ads"
],
"default": "classic",
"description": "classic returns the whole results page; ads returns only the ads, at the same price."
},
"light_request": {
"type": "boolean",
"default": true,
"description": "false loads the page in a browser, which on Bing includes the ads, at 15 credits instead of 10."
}
},
"required": [
"query"
],
"additionalProperties": false
}Community
Nachweis