REMOTE /MCP · JSON-RPC 2.0

Native Remote /mcp Web Scraping Server: 6 Deterministic Extraction Tools Over JSON-RPC 2.0

Target Query: mcp web scraping server json rpc 2.0 · Category: Agent Integration · Verified Rate: $0.015/hit ($0 on miss) · Updated: 2026-12-02

Direct Answer: Instead of wrapping fragile local Puppeteer scripts in ad-hoc stdio subprocesses, connect your AI agent directly to Scrape-Anything's hosted JSON-RPC 2.0 MCP server at `https://scrape.fastmesh.dev/mcp`. It implements `initialize`, `notifications/initialized`, `tools/list`, and `tools/call` across 6 flat extraction tools—every call inherits strict JSON Schema validation, SSRF protection, anti-fake-200 gating, and `$0`-on-miss billing.

Engineering Mechanics & Deterministic Guardrails

6 Flat Tools Exposed on `POST https://scrape.fastmesh.dev/mcp`

MCP Tool NameTarget ModalityVerified RateZero-Charge Triggers
`scrape_extract`Auto-detected `__NEXT_DATA__`, JSON-LD, OpenGraph, Markdown, or any modality$0.015 (`15,000` micros)Fake-200, schema fail, empty, SSRF 422
`scrape_table`Complex `rowspan`/`colspan` HTML tables, pricing cards & pagination$0.015 (`15,000` micros)No tables/schema fail, fake-200, SSRF 422
`scrape_pdf`Binary PDF `FlateDecode` text, tables & `/AcroForm` fields$0.025 (`25,000` micros)Encrypted PDF, empty text, schema fail
`scrape_sitemap`Recursive `robots.txt`, `sitemapindex`, RSS 2.0 & Atom feeds$0.010 (`10,000` micros)Unreachable/empty/SSRF child block
`scrape_spreadsheet`Binary `.xlsx` multi-sheet workbooks + CSV/TSV$0.020 (`20,000` micros)Corrupt file, missing required columns
`scrape_batch`Concurrent multi-URL / document batch with `max_cost_micros` lock$0.012/verified itemIndependent per-row `$0`-on-miss isolation
Zero-Friction Integration Coverage Across Developer & Autonomous Agent Surfaces REST JSON API (/v1/extract, /sitemap, /batch) OpenAPI 3.1 Native Remote MCP Server (/mcp) 6 Flat Tools treg hub QuickJS Package (0% Fee) $0.015 / $0 Miss Causal Bazaar Public Toll Card 15,000 micros Creem Prepaid Packs ($15/$59/$199) $0/mo Recurring Hard Budget Lock (max_cost_micros) Per-Request Cap

MCP JSON-RPC 2.0 `tools/call` Payload Structure

{
  "type": "object",
  "required": [
    "jsonrpc",
    "id",
    "method",
    "params"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "enum": [
        "2.0"
      ]
    },
    "id": {
      "type": "integer"
    },
    "method": {
      "type": "string",
      "enum": [
        "initialize",
        "tools/list",
        "tools/call"
      ]
    },
    "params": {
      "type": "object"
    }
  }
}

Any extracted payload violating required keys, types, bounds, or regex patterns returns schema_valid: false, exact validation_errors, and billed_micros: 0.

Executable REST, Remote /mcp & treg hub Snippets

# 1. List available MCP tools
curl -fsSL -X POST "https://scrape.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

# 2. Invoke scrape_extract over MCP with strict JSON Schema
curl -fsSL -X POST "https://scrape.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"scrape_extract","arguments":{"url":"https://docs.python.org/3/","json_schema":{"type":"object","required":["title"],"properties":{"title":{"type":"string"}}}}}}'

Hard guarantee: fake-200 CAPTCHA/Turnstile shells, login walls, encrypted PDFs, empty results, schema mismatches, and SSRF HTTP 422 blocks always return billed_micros: 0.

Test Schema-Validated Extraction Live in 5 Seconds

Paste any public URL, HTML table, JSON-LD, CSV, or fake-200 shell at scrape.fastmesh.dev or top up once with never-expiring Creem prepaid credits ($15 Starter / $59 Growth / $199 Scale — $0/mo recurring).

Frequently Asked Questions

Which JSON-RPC 2.0 methods does `https://scrape.fastmesh.dev/mcp` implement?

It supports `initialize`, `notifications/initialized`, `tools/list`, and `tools/call` with typed JSON input schemas for all 6 scraping tools.

Does `/mcp` enforce the exact same `$0`-on-miss and SSRF guardrails as REST?

Yes. `/mcp` dispatches directly into the same `ScrapeAnythingEngine` pipeline, guaranteeing identical anti-fake-200, schema validation, SSRF `422`, and `$0` billing behavior.

How can my agent discover Scrape-Anything automatically?

Point your agent to `https://scrape.fastmesh.dev/llms.txt` or `https://scrape.fastmesh.dev/skill.md` for complete onboarding contracts.

Related Structured Extraction Guides

Explore all 32 Scrape-Anything Technical Guides or inspect the machine-readable llms.txt index.