Webfetch.io
Fetch any URL as markdown, text, HTML or selector-built JSON; search Google, Bing, Yahoo and Brave.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"webfetch": {
"url": "https://webfetch.io/mcp"
}
}
}원격 엔드포인트
https://webfetch.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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
}커뮤니티
증거