x402 Structured Data & Headless Scraper
Static & headless web scraping, HTML-to-JSON extraction & compliance checks ($0.01-$0.05/call).
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin parse_web_schema
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": {
"x402-cluster": {
"url": "https://x402-cluster.ian-944.workers.dev/v1/mcp.json"
}
}
}Remote-Endpunkte
https://x402-cluster.ian-944.workers.dev/v1/mcp.jsonstreamable-httpWas es kann
Tool-Inventar
Tools (6)
🟢preview_extract(url, dynamic, wait_ms, raw_text, target_schema, ...)
FREE schema & DOM preview (3 calls/hour per IP). Runs the exact same headless Chromium + LLM extraction pass as paid runs so null/missing fields match 1:1, while masking populated values and returning a 300s preview_token to eliminate snapshot drift.
Eingabe-Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public HTTP/HTTPS URL to test extraction against."
},
"dynamic": {
"type": "boolean",
"description": "Use headless Chromium (default true). Set false for static HTML fetch."
},
"wait_ms": {
"type": "number",
"description": "Optional extra delay in ms (0-3000) after network idle."
},
"raw_text": {
"type": "string",
"maxLength": 500,
"description": "Optional raw text snippet instead of a URL."
},
"target_schema": {
"type": "object",
"description": "JSON schema to test against the page."
},
"include_metadata": {
"type": "boolean",
"description": "When true, returns { data, meta } envelope with resolved_url, status, block_reason, and preview_token."
}
},
"required": [
"target_schema"
]
}🟢extract_structured_data(raw_text, target_schema, preview_token, include_metadata)
Convert raw text, email bodies, receipts, logs, or HTML snippets already in memory into strict typed JSON conforming to target_schema. Use when you already have the source text and need deterministic schema enforcement without burning local reasoning tokens. Strictly capped at 6,000 bytes.
Eingabe-Schema
{
"type": "object",
"properties": {
"raw_text": {
"type": "string",
"maxLength": 6000,
"description": "Unstructured text, HTML fragment, or document snippet to normalize (max 6,000 bytes)."
},
"target_schema": {
"type": "object",
"description": "Declarative key-type map defining the exact JSON structure to return."
},
"preview_token": {
"type": "string",
"description": "Optional 300s preview token returned by preview_extract to immediately return the unmasked snapshot without re-processing."
},
"include_metadata": {
"type": "boolean",
"description": "When true, wraps output in { data, meta: { resolved_url, status, block_reason, cached } }."
}
},
"required": [
"raw_text"
]
}🟢parse_web_schema(content, fields, preview_token, include_metadata)
Fast key-value entity extraction from raw web or document text when you only need a flat list of named fields rather than a full nested JSON Schema. Ideal for pulling contacts, dates, tickers, or metadata out of messy text (max 6,000 bytes).
Eingabe-Schema
{
"type": "object",
"properties": {
"content": {
"type": "string",
"maxLength": 6000,
"description": "Raw web or document text to scan (max 6,000 bytes)."
},
"fields": {
"type": "array",
"minItems": 1,
"items": {
"type": "string"
},
"description": "Exact entity or field names to extract as keys."
},
"preview_token": {
"type": "string",
"description": "Optional 300s preview token returned by preview_extract to immediately return the unmasked snapshot without re-processing."
},
"include_metadata": {
"type": "boolean",
"description": "When true, wraps output in { data, meta: { resolved_url, status, block_reason, cached } }."
}
},
"required": [
"content",
"fields"
]
}🟢validate_compliance(payload, rules, include_metadata)
Audit a JSON payload against regulatory, PII, or business policy rules before executing downstream transactions or API writes. Returns pass/fail status and specific rule violations (e.g., PII exposure, OFAC/KYC checks, field bounds).
Eingabe-Schema
{
"type": "object",
"properties": {
"payload": {
"type": "object",
"description": "Structured JSON object to audit against compliance rules."
},
"rules": {
"type": "array",
"items": {
"type": "string"
},
"description": "Natural-language or policy rules the payload must satisfy."
},
"include_metadata": {
"type": "boolean",
"description": "When true, wraps output in { data, meta: { status, block_reason, cached } }."
}
},
"required": [
"payload"
]
}🟢extract_from_url(url, target_schema, preview_token, include_metadata)
Fetch a public static webpage URL, strip HTML/navigation boilerplate, and return strict typed JSON matching target_schema in one atomic step ($0.01/call). Best for static HTML pages, docs, and articles. For React/Next.js/Vue SPAs, use extract_dynamic_url.
Eingabe-Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public HTTP or HTTPS webpage URL to fetch and parse."
},
"target_schema": {
"type": "object",
"description": "JSON object defining desired output keys and expected types."
},
"preview_token": {
"type": "string",
"description": "Optional 300s preview token returned by preview_extract to immediately return the unmasked snapshot without re-fetching."
},
"include_metadata": {
"type": "boolean",
"description": "When true, wraps output in { data, meta: { resolved_url, status, block_reason, cached } }."
}
},
"required": [
"url",
"target_schema"
]
}🟢extract_dynamic_url(url, target_schema, wait_ms, preview_token, include_metadata)
Render a JavaScript-heavy webpage (React, Next.js, Vue, dynamic pricing tables, SPAs) in headless Chromium on Cloudflare's edge, wait for client-side hydration, and return strict typed JSON matching target_schema ($0.01/call or 1 prepaid credit).
Eingabe-Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public HTTP or HTTPS URL requiring full JavaScript browser rendering."
},
"target_schema": {
"type": "object",
"description": "JSON object defining desired output keys and expected types."
},
"wait_ms": {
"type": "number",
"description": "Optional extra delay in milliseconds (0-3000) after network idle for late client renders."
},
"preview_token": {
"type": "string",
"description": "Optional 300s preview token returned by preview_extract to immediately return the pinned unmasked snapshot without re-rendering in Chromium."
},
"include_metadata": {
"type": "boolean",
"description": "When true, wraps output in { data, meta: { resolved_url, status, block_reason, cached } }."
}
},
"required": [
"url",
"target_schema"
]
}Community
Nachweis