x402 Structured Data & Headless Scraper

Static & headless web scraping, HTML-to-JSON extraction & compliance checks ($0.01-$0.05/call).

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
100%
Naming quality
90%
Poisoning risk
100%
Permission match
90%
Protocol compliance
100%

Findings (1)

  • LOWTool 'parse_web_schema' suggests web access but openWorldHint=falsein parse_web_schema

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,315Tokens (tool definitions)
~1.8 KBTypical response size
Moderate attention impact (1.03% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "x402-cluster": {
      "url": "https://x402-cluster.ian-944.workers.dev/v1/mcp.json"
    }
  }
}

Remote endpoints

https://x402-cluster.ian-944.workers.dev/v1/mcp.jsonstreamable-http

What it can do

Tool inventory

Tools (6)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢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.

Input 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.

Input 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).

Input 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).

Input 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.

Input 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).

Input 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

Rate this Server

Evidence

Recent observations

verifiedversion not recorded6 tools