readfetch
Stdio MCP proxy: free probe, then x402-paid ReadFetch tools; for hosts that cannot sign x402.
사용해야 할까요
품질 및 안전성
발견 사항 (1)
- LOWreadfetch_feedback에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"mcp-x402-proxy": {
"command": "npx",
"args": [
"@readfetch/mcp-x402-proxy"
]
}
}
}실행 가능한 패키지
0.1.26stdio원격 엔드포인트
https://readfetch.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (15)
🟢readfetch_text(accept_language, format, max_bytes, timeout_s, url)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Fetch a public URL and return its main readable content as Markdown or plain text, plus title, author, published date and site name. Strips navigation, ads and boilerplate. No JavaScript rendering by default (cheaper than readfetch_scrape); one Chromium fallback when plain HTTP is blocked. Prefer readfetch_fetch when you need raw status, headers, or non-HTML bytes; readfetch_scrape when the article only appears after JavaScript runs.
입력 스키마
{
"type": "object",
"properties": {
"accept_language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Accept-Language header, e.g. 'de-DE,de;q=0.9'. Defaults to en-US.",
"title": "Accept Language"
},
"format": {
"default": "markdown",
"description": "Output flavour: Markdown keeps headings, lists and tables.",
"enum": [
"markdown",
"text"
],
"title": "Format",
"type": "string"
},
"max_bytes": {
"default": 5000000,
"description": "Abort if the response body exceeds this many bytes.",
"maximum": 20000000,
"minimum": 1024,
"title": "Max Bytes",
"type": "integer"
},
"timeout_s": {
"default": 30,
"description": "Total budget for the whole call in seconds: DNS, redirects, the render fallback and any retry share it.",
"maximum": 60,
"minimum": 1,
"title": "Timeout S",
"type": "number"
},
"url": {
"description": "Public http(s) URL to read.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "TextRequest"
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"format": {
"type": "string"
},
"metadata": {
"properties": {
"author": {
"type": "string"
},
"date": {
"type": "string"
},
"sitename": {
"type": "string"
}
},
"type": "object"
},
"redirected": {
"type": "boolean"
},
"requested_url": {
"format": "uri",
"type": "string"
},
"size": {
"type": "integer"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
}
}🟢readfetch_map(limit, max_bytes, timeout_s, url)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Discover a site's crawlable surface without crawling it: parse robots.txt allow/disallow rules, collect URLs from sitemap.xml and sitemap indexes, find RSS, Atom and JSON feeds, and count internal and external links on the homepage. Use the returned URLs to plan readfetch_scrape, readfetch_batch, or readfetch_crawl — not readfetch_map again on each URL. Prefer readfetch_probe on one URL before paying for bodies.
입력 스키마
{
"type": "object",
"properties": {
"limit": {
"default": 200,
"description": "Maximum number of URLs to return (1-1000).",
"maximum": 1000,
"minimum": 1,
"title": "Limit",
"type": "integer"
},
"max_bytes": {
"default": 5000000,
"description": "Abort if any single document exceeds this many bytes.",
"maximum": 20000000,
"minimum": 1024,
"title": "Max Bytes",
"type": "integer"
},
"timeout_s": {
"default": 60,
"description": "Total budget for the whole call in seconds; every sitemap fetch and the browser fallback share it. 95 s is the edge ceiling (Cloudflare closes at 100 s).",
"maximum": 95,
"minimum": 1,
"title": "Timeout S",
"type": "number"
},
"url": {
"description": "Public http(s) URL of the site to map.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "MapRequest"
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"feeds": {
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"host": {
"type": "string"
},
"links": {
"properties": {
"external": {
"type": "integer"
},
"internal": {
"type": "integer"
}
},
"type": "object"
},
"robots": {
"properties": {
"allow": {
"items": {},
"type": "array"
},
"crawl_delay": {
"type": [
"string",
"null"
]
},
"disallow": {
"items": {
"type": "string"
},
"type": "array"
},
"sitemaps": {
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"sitemaps": {
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"total_found": {
"type": "integer"
},
"url": {
"format": "uri",
"type": "string"
},
"url_count": {
"type": "integer"
},
"urls": {
"items": {
"format": "uri",
"type": "string"
},
"type": "array"
}
}
}🟢readfetch_scrape(advanced, auth, format, mode, options, ...)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Load a public URL in headless Chromium and return Markdown, plain text, or HTML (`format`, plus status_code, title, billed; optional links via `advanced.include_links`). `mode` sets latency and depth: fast (15 s, minimal render), render (30 s, default, full JS), full (60 s, scroll the page). Put scroll, wait_for, js_code, headers, cookies, and auth in `advanced` (`options` is deprecated, same shape). Prefer readfetch_text when JavaScript is not required; readfetch_fetch for raw HTTP/API bytes; readfetch_residential when the site blocks datacentre IPs; readfetch_screenshot for a PNG/JPEG. Bot-check or empty extractions may return `billed: false` with a hint.
입력 스키마
{
"type": "object",
"properties": {
"advanced": {
"anyOf": [
{
"$ref": "#/$defs/ScrapeOptions"
},
{
"type": "null"
}
],
"default": null,
"description": "Browser interactions: scroll, wait_for selector, js_code, headers, cookies, locale, include_links, etc."
},
"auth": {
"anyOf": [
{
"$ref": "#/$defs/Auth"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional cookie, bearer, or basic auth for the page load."
},
"format": {
"default": "markdown",
"description": "Primary body field returned: markdown (default), plain text, or raw HTML.",
"enum": [
"markdown",
"text",
"html"
],
"title": "Format",
"type": "string"
},
"mode": {
"default": "render",
"description": "Whole-call budget and render depth: fast (15 s), render (30 s, default), or full (60 s with page scroll).",
"enum": [
"fast",
"render",
"full"
],
"title": "Mode",
"type": "string"
},
"options": {
"anyOf": [
{
"$ref": "#/$defs/ScrapeOptions"
},
{
"type": "null"
}
],
"default": null,
"deprecated": true,
"description": "Deprecated — use `advanced` instead (same ScrapeOptions shape). Scheduled for removal in a future API semver bump."
},
"url": {
"description": "Public http(s) URL to load in Chromium.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"$defs": {
"Auth": {
"description": "Agent-friendly authentication: cookie, bearer token, or basic auth.",
"properties": {
"cookies": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Cookie"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Cookie jar when `type` is cookie; ignored for bearer/basic.",
"title": "Cookies"
},
"password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Basic-auth password when `type` is basic.",
"title": "Password"
},
"token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Bearer token when `type` is bearer (Authorization: Bearer …).",
"title": "Token"
},
"type": {
"description": "Authentication mode: `cookie` (set `cookies`), `bearer` (set `token`), or `basic` (set `username` and `password`).",
"enum": [
"cookie",
"bearer",
"basic"
],
"title": "Type",
"type": "string"
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Basic-auth username when `type` is basic.",
"title": "Username"
}
},
"required": [
"type"
],
"title": "Auth",
"type": "object"
},
"Cookie": {
"properties": {
"domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional domain scope, e.g. `.example.com`.",
"title": "Domain"
},
"name": {
"description": "Cookie name.",
"title": "Name",
"type": "string"
},
"path": {
"default": "/",
"description": "Path scope within the domain (default `/`).",
"title": "Path",
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional full URL scope for the cookie; alternative to `domain`/`path`.",
"title": "Url"
},
"value": {
"description": "Cookie value.",
"title": "Value",
"type": "string"
}
},
"required": [
"name",
"value"
],
"title": "Cookie",
"type": "object"
},
"ScrapeOptions": {
"description": "Advanced browser/interaction controls (the `advanced` object).",
"properties": {
"cookies": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Cookie"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Inject cookies without `auth`; same shape as auth cookies.",
"title": "Cookies"
},
"delay_before_return_ms": {
"default": 0,
"description": "Pause after navigation before snapshot (0–60000, default 0); use for short post-load animations.",
"maximum": 60000,
"minimum": 0,
"title": "Delay Before Return Ms",
"type": "integer"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Extra HTTP request headers for the navigation (merged with defaults).",
"title": "Headers"
},
"include_html": {
"default": false,
"description": "When true, include raw HTML in the response in addition to the primary `format` field.",
"title": "Include Html",
"type": "boolean"
},
"include_links": {
"default": false,
"description": "When true, add a `links` array (href/text) alongside the main body.",
"title": "Include Links",
"type": "boolean"
},
"js_code": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "JavaScript executed in the page before extraction; one string or an array run in order. Disables shared-browser cache for this call.",
"title": "Js Code"
},
"locale": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Browser locale, e.g. 'en-US'. Sets Accept-Language inside the render.",
"title": "Locale"
},
"max_scroll_steps": {
"anyOf": [
{
"maximum": 200,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Cap scroll iterations when `scan_full_page` is true (1–200); omit for engine default.",
"title": "Max Scroll Steps"
},
"scan_full_page": {
"default": false,
"description": "Scroll the page to trigger lazy-loaded content; combine with `mode=full` or `max_scroll_steps`.",
"title": "Scan Full Page",
"type": "boolean"
},
"sticky_session": {
"default": false,
"description": "Pin one outbound address for the whole call instead of one per connection. A render already runs under one egress session, so the page load never spreads across exits; accepted for compatibility with callers that set it.",
"title": "Sticky Session",
"type": "boolean"
},
"timezone_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Browser timezone, e.g. 'America/New_York'.",
"title": "Timezone Id"
},
"user_agent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Override the default browser User-Agent for this render only.",
"title": "User Agent"
},
"wait_for": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "CSS selector that must appear before capture; pairs with `wait_for_timeout_ms`.",
"title": "Wait For"
},
"wait_for_timeout_ms": {
"default": 10000,
"description": "Max milliseconds to wait for `wait_for` (0–120000, default 10000).",
"maximum": 120000,
"minimum": 0,
"title": "Wait For Timeout Ms",
"type": "integer"
}
},
"title": "ScrapeOptions",
"type": "object"
}
},
"title": "ScrapeRequest"
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"markdown": {
"type": "string"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"title": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
}
}🟢readfetch_residential(advanced, auth, format, mode, options, ...)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Identical request and response to /v1/scrape, but the render leaves through a residential address instead of the datacentre. For targets that block by IP reputation (DataDome, PerimeterX, Cloudflare, AWS WAF). One attempt, no retries: residential bandwidth is the cost, and four times the scrape price is what it takes to cover it honestly. Prefer readfetch_scrape when datacentre egress works; use readfetch_residential only after readfetch_scrape fails or readfetch_probe reports a persistent challenge.
입력 스키마
{
"type": "object",
"properties": {
"advanced": {
"anyOf": [
{
"$ref": "#/$defs/ScrapeOptions"
},
{
"type": "null"
}
],
"default": null,
"description": "Browser interactions: scroll, wait_for selector, js_code, headers, cookies, locale, include_links, etc."
},
"auth": {
"anyOf": [
{
"$ref": "#/$defs/Auth"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional cookie, bearer, or basic auth for the page load."
},
"format": {
"default": "markdown",
"description": "Primary body field returned: markdown (default), plain text, or raw HTML.",
"enum": [
"markdown",
"text",
"html"
],
"title": "Format",
"type": "string"
},
"mode": {
"default": "render",
"description": "Whole-call budget and render depth: fast (15 s), render (30 s, default), or full (60 s with page scroll).",
"enum": [
"fast",
"render",
"full"
],
"title": "Mode",
"type": "string"
},
"options": {
"anyOf": [
{
"$ref": "#/$defs/ScrapeOptions"
},
{
"type": "null"
}
],
"default": null,
"deprecated": true,
"description": "Deprecated — use `advanced` instead (same ScrapeOptions shape). Scheduled for removal in a future API semver bump."
},
"url": {
"description": "Public http(s) URL to load in Chromium.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"$defs": {
"Auth": {
"description": "Agent-friendly authentication: cookie, bearer token, or basic auth.",
"properties": {
"cookies": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Cookie"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Cookie jar when `type` is cookie; ignored for bearer/basic.",
"title": "Cookies"
},
"password": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Basic-auth password when `type` is basic.",
"title": "Password"
},
"token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Bearer token when `type` is bearer (Authorization: Bearer …).",
"title": "Token"
},
"type": {
"description": "Authentication mode: `cookie` (set `cookies`), `bearer` (set `token`), or `basic` (set `username` and `password`).",
"enum": [
"cookie",
"bearer",
"basic"
],
"title": "Type",
"type": "string"
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Basic-auth username when `type` is basic.",
"title": "Username"
}
},
"required": [
"type"
],
"title": "Auth",
"type": "object"
},
"Cookie": {
"properties": {
"domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional domain scope, e.g. `.example.com`.",
"title": "Domain"
},
"name": {
"description": "Cookie name.",
"title": "Name",
"type": "string"
},
"path": {
"default": "/",
"description": "Path scope within the domain (default `/`).",
"title": "Path",
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional full URL scope for the cookie; alternative to `domain`/`path`.",
"title": "Url"
},
"value": {
"description": "Cookie value.",
"title": "Value",
"type": "string"
}
},
"required": [
"name",
"value"
],
"title": "Cookie",
"type": "object"
},
"ScrapeOptions": {
"description": "Advanced browser/interaction controls (the `advanced` object).",
"properties": {
"cookies": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Cookie"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Inject cookies without `auth`; same shape as auth cookies.",
"title": "Cookies"
},
"delay_before_return_ms": {
"default": 0,
"description": "Pause after navigation before snapshot (0–60000, default 0); use for short post-load animations.",
"maximum": 60000,
"minimum": 0,
"title": "Delay Before Return Ms",
"type": "integer"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Extra HTTP request headers for the navigation (merged with defaults).",
"title": "Headers"
},
"include_html": {
"default": false,
"description": "When true, include raw HTML in the response in addition to the primary `format` field.",
"title": "Include Html",
"type": "boolean"
},
"include_links": {
"default": false,
"description": "When true, add a `links` array (href/text) alongside the main body.",
"title": "Include Links",
"type": "boolean"
},
"js_code": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "JavaScript executed in the page before extraction; one string or an array run in order. Disables shared-browser cache for this call.",
"title": "Js Code"
},
"locale": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Browser locale, e.g. 'en-US'. Sets Accept-Language inside the render.",
"title": "Locale"
},
"max_scroll_steps": {
"anyOf": [
{
"maximum": 200,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Cap scroll iterations when `scan_full_page` is true (1–200); omit for engine default.",
"title": "Max Scroll Steps"
},
"scan_full_page": {
"default": false,
"description": "Scroll the page to trigger lazy-loaded content; combine with `mode=full` or `max_scroll_steps`.",
"title": "Scan Full Page",
"type": "boolean"
},
"sticky_session": {
"default": false,
"description": "Pin one outbound address for the whole call instead of one per connection. A render already runs under one egress session, so the page load never spreads across exits; accepted for compatibility with callers that set it.",
"title": "Sticky Session",
"type": "boolean"
},
"timezone_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Browser timezone, e.g. 'America/New_York'.",
"title": "Timezone Id"
},
"user_agent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Override the default browser User-Agent for this render only.",
"title": "User Agent"
},
"wait_for": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "CSS selector that must appear before capture; pairs with `wait_for_timeout_ms`.",
"title": "Wait For"
},
"wait_for_timeout_ms": {
"default": 10000,
"description": "Max milliseconds to wait for `wait_for` (0–120000, default 10000).",
"maximum": 120000,
"minimum": 0,
"title": "Wait For Timeout Ms",
"type": "integer"
}
},
"title": "ScrapeOptions",
"type": "object"
}
},
"title": "ScrapeRequest"
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"markdown": {
"type": "string"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"title": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
}
}🟢readfetch_fetch(binary, body, follow_redirects, headers, json_body, ...)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Send an HTTP request (GET, POST, PUT, PATCH, DELETE, HEAD) through egress and return status_code, response headers, and body as text or base64 (`binary: true`). `max_bytes` caps the stored body; `follow_redirects` (default true) and `timeout_s` (95 s ceiling) apply to the full redirect chain. Use `json_body` for JSON POST/PUT payloads; use `body` for raw bytes or strings. Prefer readfetch_text for readable HTML articles; readfetch_pdf to extract PDF text (not raw bytes alone). POST/PUT/DELETE can change remote state despite readOnlyHint.
입력 스키마
{
"type": "object",
"properties": {
"binary": {
"default": false,
"description": "When true, return body as base64 instead of UTF-8 text.",
"title": "Binary",
"type": "boolean"
},
"body": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Raw request body string for POST/PUT/PATCH (mutually exclusive with json_body).",
"title": "Body"
},
"follow_redirects": {
"default": true,
"description": "Follow 3xx redirects (default true).",
"title": "Follow Redirects",
"type": "boolean"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional request headers, e.g. Authorization or Accept.",
"title": "Headers"
},
"json_body": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "JSON object serialized as the request body (Content-Type application/json).",
"title": "Json Body"
},
"max_bytes": {
"default": 10000000,
"description": "Stop reading and truncate once the response body exceeds this size (bytes).",
"maximum": 50000000,
"minimum": 1024,
"title": "Max Bytes",
"type": "integer"
},
"method": {
"default": "GET",
"description": "HTTP method (GET default).",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD"
],
"title": "Method",
"type": "string"
},
"timeout_s": {
"default": 95,
"description": "Total budget for the whole call in seconds, redirect hops included.",
"maximum": 95,
"minimum": 1,
"title": "Timeout S",
"type": "number"
},
"url": {
"description": "Request URL (http or https).",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"url"
],
"title": "FetchRequest"
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"content_type": {
"type": "string"
},
"size": {
"type": "integer"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"text": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
}
}🟢readfetch_batch(accept_language, format, pipeline, timeout_s, urls)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Read a fixed list of public HTML pages in one call—the same article extraction as POST /v1/text for each URL (Markdown or plain text plus title and metadata). One x402 payment covers the batch (minimum 3 pages quoted; URLs deduped, max 50). Returns results in input order: each item has url, status_code, text, billed, and hint when undelivered, plus batch-level delivered, failed, billed_pages, and optional credit for unused pages. Undelivered pages are not billed. Use readfetch_text for one URL, readfetch_map then readfetch_crawl to discover and walk a site, readfetch_scrape when JavaScript is required. Read-only; 402 without PAYMENT-SIGNATURE like other paid tools.
입력 스키마
{
"type": "object",
"properties": {
"accept_language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Accept-Language header for every item, e.g. 'de-DE,de;q=0.9'. Defaults to en-US when omitted."
},
"format": {
"default": "markdown",
"description": "Per-item output flavour, same as /v1/text: markdown (default) or plain text.",
"enum": [
"markdown",
"text"
],
"type": "string"
},
"pipeline": {
"default": "text",
"description": "text (default) = HTTP-first per URL, same as readfetch_text; use render when probe reported challenge:true or items need JavaScript — bills like scrape per undelivered page, not like plain text.",
"enum": [
"text",
"render"
],
"type": "string"
},
"timeout_s": {
"default": 95,
"description": "Total budget for the whole batch in seconds; every item shares it and no item restarts it.",
"maximum": 95,
"minimum": 1,
"type": "number"
},
"urls": {
"description": "URLs to read, deduped before quoting.",
"items": {
"format": "uri",
"type": "string"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
}
},
"required": [
"urls"
]
}출력 스키마
{
"type": "object",
"properties": {
"billed_pages": {
"type": "integer"
},
"credit": {
"type": "string"
},
"delivered": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"results": {
"items": {
"properties": {
"billed": {
"type": "boolean"
},
"content_sha256": {
"type": "string"
},
"hint": {
"type": [
"string",
"null"
]
},
"requested_url": {
"format": "uri",
"type": "string"
},
"status_code": {
"type": "integer"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
},
"used_browser": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"status": {
"type": "string"
}
}
}🟢readfetch_pdf(content_base64, filename, max_pages, url)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Extract text from a PDF (%PDF- magic, not Content-Type). Send exactly one of `url` (public http(s) link — egress GET, ≤ 20 MB) or `content_base64` (bytes you already have — the whole request body is capped at 1 MiB, base64 expansion included; optional `filename` labels the upload). Returns `pages` (per-page text), one concatenated `markdown` body, `title`, and `metadata`; $0.005 per document, not per page. `max_pages` limits extraction (default 50, max 200); documents over 200 pages or above your cap return 413 and are not billed. Scanned/image-only PDFs may return empty text with `billed: false` and a `hint`. Prefer readfetch_text or readfetch_scrape for HTML articles; readfetch_fetch for raw PDF bytes without extraction; readfetch_batch for many HTML URLs, not PDFs. Read-only server-side; paid x402 like other routes.
입력 스키마
{
"type": "object",
"properties": {
"content_base64": {
"description": "Base64-encoded PDF bytes. The request body is capped at 1 MiB total — base64 expansion comes out of that, it does not add to it (~0.75 MB of PDF). Mutually exclusive with url; pair with filename when the label matters.",
"type": "string"
},
"filename": {
"description": "Optional label when using content_base64 (default upload.pdf); ignored for url-only requests.",
"type": "string"
},
"max_pages": {
"default": 50,
"description": "Extract at most this many pages. Default 50; raise up to 200 when the document is longer. Over cap → 413, unbilled.",
"maximum": 200,
"minimum": 1,
"type": "number"
},
"url": {
"description": "Public PDF URL; fetched through egress (≤ 20 MB). Mutually exclusive with content_base64.",
"example": "https://example.com/paper.pdf",
"format": "uri",
"type": "string"
}
},
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"content_base64"
]
}
]
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"content_sha256": {
"type": "string"
},
"hint": {
"type": [
"string",
"null"
]
},
"markdown": {
"type": "string"
},
"metadata": {
"properties": {
"author": {
"type": "string"
},
"created": {
"type": "string"
},
"producer": {
"type": "string"
}
},
"type": "object"
},
"page_count": {
"type": "integer"
},
"pages": {
"items": {
"properties": {
"page": {
"type": "integer"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"source": {
"format": "uri",
"type": "string"
},
"status": {
"type": "string"
},
"title": {
"type": "string"
}
}
}🟢readfetch_section(format, heading, max_chars, mode, selector, ...)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Extract one heading or one CSS selector from a public page instead of the whole document. Returns matched Markdown or text, title, chars, content_sha256, and billed. If the heading is missing, returns HTTP 200 with empty text and `available_headings` so you can retry. `mode`: fast (plain HTTP) or render (default, Chromium when the page blocks HTTP). `max_chars` truncates output (default 8000, max 20000). Prefer readfetch_text for full articles; readfetch_scrape when content needs JavaScript.
입력 스키마
{
"type": "object",
"properties": {
"format": {
"default": "markdown",
"description": "Output flavour for the matched section (markdown default).",
"enum": [
"markdown",
"text"
],
"type": "string"
},
"heading": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Heading text to match (case-insensitive, whitespace-normalised). Required unless `selector` is set — send exactly one of `heading` or `selector`, not both.",
"example": "Introduction"
},
"max_chars": {
"default": 8000,
"description": "Truncate matched text after this many characters.",
"maximum": 20000,
"minimum": 100,
"type": "number"
},
"mode": {
"default": "render",
"description": "fast = HTTP-first; render = one browser pass when plain HTTP fails (default).",
"enum": [
"fast",
"render"
],
"type": "string"
},
"selector": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "CSS selector; up to 20 matches concatenated. Required unless `heading` is set — use selector when the section has no stable heading text."
},
"url": {
"description": "Public page URL to extract from.",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"oneOf": [
{
"required": [
"heading"
]
},
{
"required": [
"selector"
]
}
]
}출력 스키마
{
"type": "object",
"properties": {
"available_headings": {
"items": {
"type": "string"
},
"type": "array"
},
"billed": {
"type": "boolean"
},
"chars": {
"type": "integer"
},
"content_sha256": {
"type": "string"
},
"hint": {
"type": [
"string",
"null"
]
},
"matched": {
"properties": {
"kind": {
"type": "string"
},
"label": {
"type": "string"
},
"level": {
"type": "integer"
}
},
"type": "object"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
},
"used_browser": {
"type": "boolean"
}
}
}🟢readfetch_diff(format, previous_content, previous_hash, timeout_s, url)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Stateless change detection on readable page text (same HTTP-first extraction as readfetch_text): fetch the URL, compare to a hash or prior body you store client-side, return changed/unchanged plus optional line diff. First call with no prior fields returns a baseline hash (see hint). `previous_hash` alone detects change without a line diff; add `previous_content` when you need added/removed/diff. A no-change answer is still billable when text was delivered. Prefer readfetch_text when you need the full article once; readfetch_probe (free) for a short preview and `content_sha256` before spending on text.
입력 스키마
{
"type": "object",
"properties": {
"format": {
"default": "text",
"description": "Extraction flavour for this fetch and for the hash (default text). Must match how you built `previous_content` if you send it.",
"enum": [
"text",
"markdown"
],
"type": "string"
},
"previous_content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Full prior extracted text (what you stored from readfetch_text/readfetch_diff). Required for `added`/`removed`/`diff` output; hash-only compares do not emit a line diff."
},
"previous_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "`sha256:…` or bare hex from readfetch_diff, readfetch_probe `content_sha256`, or a prior text read. Omit on the first poll to establish a baseline hash in the response."
},
"timeout_s": {
"default": 30,
"description": "Total budget for the whole call in seconds, both fetches included. 60 s is the ceiling on this route.",
"maximum": 60,
"minimum": 1,
"type": "number"
},
"url": {
"description": "Public http(s) page to re-fetch and compare; must match the extraction used when you saved the hash (same `format`).",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
]
}출력 스키마
{
"type": "object",
"properties": {
"added": {
"items": {
"type": "string"
},
"type": "array"
},
"billed": {
"type": "boolean"
},
"changed": {
"type": "boolean"
},
"diff": {
"type": "string"
},
"hash": {
"type": "string"
},
"hint": {
"type": [
"string",
"null"
]
},
"removed": {
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"url": {
"format": "uri",
"type": "string"
}
}
}🟢readfetch_screenshot(delay_ms, format, full_page, height, mode, ...)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Screenshot a public URL in headless Chromium (page JavaScript runs; no ad blocker) and return PNG or JPEG in JSON — `image_base64`, `mime`, `width`, `height`, `status_code`, `billed` (not a hosted URL). Scope: viewport only (`full_page: false`), full scrollable page (default), or one element (`selector`). `mode` caps total render time: fast (15 s), render (30 s, default), full (60 s, always full-page regardless of `full_page`). Set `width`/`height` before navigation (default 1280×800, max 3840×2160). `delay_ms` (0–30000) waits after navigation, then captures — raise it or use `mode=full` for slow SPAs and lazy media. Prefer readfetch_text or readfetch_scrape for extractable text; readfetch_pdf for PDF files; readfetch_fetch for raw HTTP without rendering. Read-only on the origin (GET + render, no form POST). Bot-check or blank frames may still return pixels with `billed: false` and a `hint`; paid x402 like other routes.
입력 스키마
{
"type": "object",
"properties": {
"delay_ms": {
"description": "Milliseconds to wait after navigation before capture (0–30000); use for SPAs and lazy-loaded content.",
"maximum": 30000,
"minimum": 0,
"type": "number"
},
"format": {
"default": "png",
"description": "Image encoding for `image_base64` (png default, or jpeg).",
"enum": [
"png",
"jpeg"
],
"type": "string"
},
"full_page": {
"default": true,
"description": "true (default): entire scrollable document; false: viewport only. Ignored when mode=full.",
"type": "boolean"
},
"height": {
"description": "Viewport height in pixels before navigation (default 800, max 2160).",
"maximum": 2160,
"minimum": 1,
"type": "number"
},
"mode": {
"default": "render",
"description": "Whole-call budget: fast (15 s), render (30 s, default), or full (60 s; always captures the full scrollable page).",
"enum": [
"fast",
"render",
"full"
],
"type": "string"
},
"selector": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "CSS selector — capture that element's box only. Omit for page/viewport per full_page."
},
"url": {
"description": "Public http(s) URL to render in headless Chromium.",
"format": "uri",
"type": "string"
},
"width": {
"description": "Viewport width in pixels before navigation (default 1280, max 3840).",
"maximum": 3840,
"minimum": 1,
"type": "number"
}
},
"required": [
"url"
]
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"content_sha256": {
"type": "string"
},
"format": {
"type": "string"
},
"height": {
"type": "integer"
},
"hint": {
"type": [
"string",
"null"
]
},
"image_base64": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "integer"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"url": {
"format": "uri",
"type": "string"
},
"width": {
"type": "integer"
}
}
}🟢readfetch_search(lang, limit, query, tbs)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Run a web search without a separate search API subscription. Returns titles, URLs, and snippets only — not full page text; follow with readfetch_text, readfetch_probe, or readfetch_scrape on a chosen result URL. `limit` is 1–20 (default 5). Optional `lang` biases locale (e.g. en, de-DE). Optional `tbs` filters recency: h= past hour, d= day, w= week, m= month, y= year. Use readfetch_map/readfetch_crawl when you already know the site; readfetch_* URL tools when you have the link.
입력 스키마
{
"type": "object",
"properties": {
"lang": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional language/locale hint, e.g. en or de-DE."
},
"limit": {
"default": 5,
"description": "Maximum number of results to return (default 5).",
"maximum": 20,
"minimum": 1,
"type": "number"
},
"query": {
"description": "Search query string.",
"minLength": 1,
"type": "string"
},
"tbs": {
"anyOf": [
{
"enum": [
"h",
"d",
"w",
"m",
"y"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional recency filter: h=hour, d=day, w=week, m=month, y=year."
}
},
"required": [
"query"
]
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"hint": {
"type": [
"string",
"null"
]
},
"query": {
"type": "string"
},
"results": {
"items": {
"properties": {
"position": {
"type": "integer"
},
"snippet": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"status": {
"type": "string"
}
}
}🟢readfetch_crawl(exclude, include, max_depth, max_pages, url)
Paid routes require a funded Base USDC wallet. Use readfetch-client / @readfetch/client or the MCP signing proxy (@readfetch/mcp-x402-proxy). Direct calls without a signing client will stop at 402. Start a bounded async crawl from one seed URL. Returns job_id, status (queued), pages_quoted, and price_usd — then poll readfetch_crawl_status with that id until status is complete or failed. A complete job includes per-page url and Markdown in the status payload. Cap scope with max_pages (default 20, max 100) and max_depth (default 2, max 3); include/exclude filter paths by prefix (* suffix on include). Prefer readfetch_batch for a fixed URL list; readfetch_map to list URLs without fetching bodies; readfetch_text for a single page.
입력 스키마
{
"type": "object",
"properties": {
"exclude": {
"description": "Path prefixes to skip during the crawl.",
"items": {
"type": "string"
},
"type": "array"
},
"include": {
"description": "Path prefixes to allow; * suffix wildcard.",
"items": {
"type": "string"
},
"type": "array"
},
"max_depth": {
"default": 2,
"description": "Link depth from the seed URL (default 2).",
"maximum": 3,
"minimum": 1,
"type": "number"
},
"max_pages": {
"default": 20,
"description": "Maximum pages to fetch in this job (quoted up front for payment).",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"url": {
"description": "Seed URL; crawl stays on the same registrable domain.",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
]
}출력 스키마
{
"type": "object",
"properties": {
"hint": {
"type": "string"
},
"job_id": {
"type": "string"
},
"pages_quoted": {
"type": "integer"
},
"price_usd": {
"type": "string"
},
"status": {
"type": "string"
}
}
}🟢readfetch_crawl_status(id)
FREE — no payment or wallet: Poll a crawl job started with readfetch_crawl. FREE — no payment or wallet; unauthenticated. Pass `id` from the crawl response. Returns job_id, status (queued, running, complete, or failed), completed/total counts, and a growing `pages` list (url plus Markdown) as results land. Stop polling when status is complete or failed. Results are kept for one hour after the job finishes.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"description": "Job id from readfetch_crawl (`job_id` in the start response). Required for MCP tools/call; poll until status is complete or failed (results kept ~1 hour).",
"type": "string"
}
},
"required": [
"id"
]
}출력 스키마
{
"type": "object",
"properties": {
"completed": {
"type": "integer"
},
"job_id": {
"type": "string"
},
"pages": {
"items": {},
"type": "array"
},
"status": {
"type": "string"
},
"total": {
"type": "integer"
}
}
}🟢readfetch_probe(accept_language, timeout_s, url)
FREE — no payment or wallet: Free preflight on a URL before any paid readfetch_* call: HTTP status, content type, byte size, title, language, and whether a bot wall is waiting (`challenge`). When the response is HTML and not a challenge page, the JSON includes **`preview`**: the text readfetch_text would return (same extractor), up to **32,000 characters** for the first **3 probes per IP per day**, then **400 characters**. Use readfetch_probe instead of readfetch_text when choosing a route or estimating size; if `challenge: true`, use readfetch_scrape (then readfetch_residential if still blocked), not readfetch_text. Plain HTTP only — no browser render.
입력 스키마
{
"type": "object",
"properties": {
"accept_language": {
"default": null,
"description": "Accept-Language header, e.g. 'de-DE,de;q=0.9'. Defaults to en-US.",
"type": [
"string",
"null"
]
},
"timeout_s": {
"default": 10,
"description": "Total budget for the whole call in seconds (default 10, max 60). Shared across redirects; does not apply to paid readfetch_text timeout_s on a follow-up call.",
"maximum": 60,
"minimum": 1,
"type": "number"
},
"url": {
"description": "Public http(s) URL to inspect.",
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"type": "string"
}
},
"required": [
"url"
]
}출력 스키마
{
"type": "object",
"properties": {
"billed": {
"type": "boolean"
},
"bytes": {
"type": "integer"
},
"challenge": {
"type": "boolean"
},
"content_sha256": {
"type": "string"
},
"content_type": {
"type": "string"
},
"language": {
"type": [
"string",
"null"
]
},
"preview": {
"type": "string"
},
"redirected": {
"type": "boolean"
},
"requested_url": {
"format": "uri",
"type": "string"
},
"status": {
"type": "string"
},
"status_code": {
"type": "integer"
},
"title": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
}
}⚪readfetch_feedback(category, message, request_id)
FREE — report integration, docs or site issues for a prior call. Bind with request_id from X-Request-Id. Paid delivery disputes use /v1/claims, not this tool.
입력 스키마
{
"type": "object",
"properties": {
"category": {
"description": "integration = MCP/402/client; docs = wrong API copy; site = readfetch.com pages; other = everything else. Not for billing — use /v1/claims.",
"enum": [
"integration",
"docs",
"site",
"other"
],
"type": "string"
},
"message": {
"description": "What went wrong and what you expected (max 500 chars).",
"maxLength": 500,
"type": "string"
},
"request_id": {
"description": "X-Request-Id from the call you are reporting.",
"type": "string"
}
},
"required": [
"request_id",
"category",
"message"
]
}커뮤니티
증거