Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’
agent-scrape logo

agent-scrape

hshintelligence/agent-scrape
βœ“ Verified working Β· Jul 10, 2026 1 starsv0.6.1HTTPRegistry activeMITUpdated 2026-06-22Community

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

claude mcp add --transport http agent-scrape https://agent-scrape.healingsunhaven.workers.dev/mcp

Summary

hshintelligence/agent-scrape MCP server](https://glama.ai/mcp/servers/hshintelligence/agent-scrape/badges/score.svg)](https://glama.ai/mcp/servers/hshintelligence/agent-scrape) πŸ“‡ ☁️ - Pay-per-call web scraping for AI agents via x402 micropayments on Base.

Connect from your MCP client

Claude Code

Run this once and Claude Code registers the server for you:

claude mcp add --transport http agent-scrape https://agent-scrape.healingsunhaven.workers.dev/mcp

Claude Desktop

Add this to claude_desktop_config.json under Settings β†’ Developer β†’ Edit Config:

{
  "mcpServers": {
    "agent-scrape": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://agent-scrape.healingsunhaven.workers.dev/mcp"
      ]
    }
  }
}

Cursor

Add this to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):

{
  "mcpServers": {
    "agent-scrape": {
      "url": "https://agent-scrape.healingsunhaven.workers.dev/mcp"
    }
  }
}

Cline and other MCP clients

Most MCP clients accept the standard mcpServers JSON block:

{
  "mcpServers": {
    "agent-scrape": {
      "url": "https://agent-scrape.healingsunhaven.workers.dev/mcp"
    }
  }
}

Codex CLI

Codex CLI connects to remote servers via config.toml β€” add this block to ~/.codex/config.toml:

# ~/.codex/config.toml
[mcp_servers.agent-scrape]
url = "https://agent-scrape.healingsunhaven.workers.dev/mcp"

OpenClaw

OpenClaw reads MCP servers from the mcp.servers section of ~/.openclaw/openclaw.json (managed via `openclaw mcp add` or the mcporter skill):

{
  "mcp": {
    "servers": {
      "agent-scrape": {
        "url": "https://agent-scrape.healingsunhaven.workers.dev/mcp",
        "transport": "streamable-http"
      }
    }
  }
}

README.md

AgentScrape

Pay-per-call web scraping for AI agents β€” no signup, no API keys, just USDC.

![x402](https://x402.org) ![MCP](https://modelcontextprotocol.io) ![Base](https://base.org) ![Cloudflare Workers](https://workers.cloudflare.com) ![License: MIT](LICENSE) ![hshintelligence/agent-scrape MCP server](https://glama.ai/mcp/servers/hshintelligence/agent-scrape)

Live: agent-scrape.healingsunhaven.workers.dev

AI agents discover AgentScrape, pay per call in USDC on Base, and get clean structured data back β€” no accounts, no API keys, no human in the loop.

Two protocols, one service:

  • HTTP API with x402 v2 payment gate β€” for agents using raw HTTP
  • MCP server (Streamable HTTP transport) β€” for Claude Desktop, Cursor, Continue.dev, and any MCP-compatible framework

---

Why this exists

Traditional scraping APIs assume a human:

  • Sign up with email
  • Add a payment method
  • Manage an API key
  • Commit to a monthly subscription

AI agents can't do any of that. They have wallets. They have stablecoins. They need infrastructure built for them.

AgentScrape speaks two open standards:

  • x402 β€” HTTP-native payment protocol. The server returns 402 with payment requirements; the agent signs a USDC transfer; the facilitator settles on-chain; the data flows back. End-to-end in under 2 seconds.
  • MCP β€” the standard agent tool interface. Agents browse, discover, and invoke tools without per-vendor SDKs.

No signup. No API keys. No subscription. Just USDC.

---

Tools

All tools cost $0.001 USDC during the mainnet validation window. Pricing ramps after stability is proven (see Pricing).

| Tool | Description | |---|---| | scrape_webpage | Scrape any URL to markdown, HTML, text, or JSON | | extract_structured_data | AI-powered structured extraction with natural-language prompts and JSON schemas (Groq + Llama 4 Scout) | | screenshot_webpage | PNG screenshot with viewport control (desktop/mobile/tablet, optional full-page) | | extract_metadata | Title, description, Open Graph, Twitter cards, JSON-LD, canonical URL | | create_browser_session | Stateful browser session with cookie + localStorage persistence | | run_workflow | Multi-step atomic execution: navigate, click, type, wait, scroll, screenshot, extract, evaluate |

---

Quick start β€” HTTP API

# Free service discovery (no payment)
curl https://agent-scrape.healingsunhaven.workers.dev/

# Paid call β€” without payment, returns 402 with payment requirements
curl -X POST https://agent-scrape.healingsunhaven.workers.dev/scrape \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "format": "markdown"}'

# Free tier β€” first 10 calls per wallet, send your wallet in the X-402-Payer header
curl -X POST https://agent-scrape.healingsunhaven.workers.dev/scrape \
  -H "Content-Type: application/json" \
  -H "X-402-Payer: 0xYourBaseWalletAddress" \
  -d '{"url": "https://example.com", "format": "markdown"}'

---

Quick start β€” MCP

Add to any MCP-compatible client via Streamable HTTP:

{
  "mcpServers": {
    "agent-scrape": {
      "url": "https://agent-scrape.healingsunhaven.workers.dev/mcp",
      "transport": "streamable-http"
    }
  }
}

The x402 payment metadata is broadcast inside the MCP tools/list response. Your client handles the payment handshake automatically when configured with an x402-compatible wallet.

---

Discovery

For machine-driven discovery, four standard endpoints are exposed (free, no auth):

| Endpoint | Purpose | |---|---| | / | Service profile JSON (tools, prices, network, payTo) | | /.well-known/x402 (and .json alias) | x402 manifest β€” payTo, network, facilitator, all paid routes | | /openapi.json | OpenAPI 3.1 spec for traditional tooling | | /llms.txt | Agent-friendly plaintext description |

The 402 response itself carries the canonical payment requirements in the base64-encoded Payment-Required header, and the body includes a human-readable error with discovery links.

---

Architecture

                β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                β”‚      Cloudflare Workers          β”‚
                β”‚      (global edge, 330+ POPs)    β”‚
                β”‚                                  β”‚
AI Agent ───────┼─▢  GET  /                  (free)β”‚
(HTTP)          β”œβ”€β–Ά  GET  /.well-known/x402  (free)β”‚
                β”œβ”€β–Ά  GET  /openapi.json      (free)β”‚
                β”œβ”€β–Ά  GET  /llms.txt          (free)β”‚
                β”œβ”€β–Ά  POST /scrape         ($0.001) β”‚
                β”œβ”€β–Ά  POST /extract        ($0.001) β”‚
                β”œβ”€β–Ά  POST /screenshot     ($0.001) β”‚
                β”œβ”€β–Ά  POST /metadata       ($0.001) β”‚
                β”œβ”€β–Ά  POST /workflow       ($0.001) β”‚
                β”œβ”€β–Ά  POST /session        ($0.001) β”‚
                β”‚                                  β”‚
AI Agent ───────┼─▢  POST /mcp                     β”‚
(MCP)           β”‚      β€’ initialize                β”‚
                β”‚      β€’ tools/list                β”‚
                β”‚      β€’ tools/call (paid)         β”‚
                β”‚                                  β”‚
                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                               β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚                                  β”‚
   Coinbase CDP facilitator       Browser Rendering API
   (api.cdp.coinbase.com/         Groq API (Llama 4 Scout)
    platform/v2/x402)             KV (sessions, free tier)
   Ed25519 JWT auth
   Settles USDC on Base
              β”‚
              β–Ό
   payTo wallet 0x3F33...9E9a

Stack:

  • Runtime: Cloudflare Workers (V8 isolates, global edge)
  • HTTP framework: Hono + @x402/hono v2 payment middleware
  • MCP framework: @modelcontextprotocol/sdk + agents/mcp with withX402 payment binding
  • Bazaar discovery: @x402/extensions β€” every paid route declares input schema + output example
  • Browser: Cloudflare Browser Rendering API + @cloudflare/puppeteer
  • AI extraction: Groq + Llama 4 Scout (17B, 16E)
  • Storage: Cloudflare KV (5-min response cache, browser sessions, free-tier counters)
  • Network: Base mainnet (eip155:8453)
  • Asset: Native USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
  • Facilitator: Coinbase CDP (api.cdp.coinbase.com/platform/v2/x402) with Ed25519 JWT auth

---

Free tier

Every wallet address gets 10 free calls per 30 days on the HTTP API. Pass your Base wallet in the X-402-Payer header. After 10 calls, payment via x402 is required.

Free tier is HTTP-only. MCP calls go through the standard x402 payment flow.

---

Pricing

Launch window (first 48h on mainnet): $0.001 flat per tool call.

After validation, pricing ramps to:

| Tool | Production price | |---|---| | scrape_webpage | $0.003 | | extract_structured_data | $0.005 | | screenshot_webpage | $0.003 | | extract_metadata | $0.002 | | run_workflow | $0.008 | | create_browser_session | $0.001 |

Bulk discounts (20% at 1K calls/month, 40% at 10K) are planned.

---

Why x402 + MCP

| Traditional API | x402 + MCP | |---|---| | Sign up at scraperapi.com | Discover via MCP initialize | | Add credit card | Wallet holds USDC | | Get API key | No keys | | $49/month minimum | $0.001 per call | | Manage rate limits | Pay-per-use, no limits | | Human in the loop | Agent fully autonomous |

---

Verifying the deployment

# Service identity
curl https://agent-scrape.healingsunhaven.workers.dev/ | jq .

# x402 manifest
curl https://agent-scrape.healingsunhaven.workers.dev/.well-known/x402 | jq .

# 402 challenge with x402 v2 headers
curl -i -X POST https://agent-scrape.healingsunhaven.workers.dev/scrape \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
# β†’ HTTP 402, Payment-Required header (base64 JSON), Cache-Control: private, no-store

# CORS preflight (browser-based agents)
curl -i -X OPTIONS https://agent-scrape.healingsunhaven.workers.dev/scrape \
  -H "Origin: https://example.com" \
  -H "Access-Control-Request-Method: POST" \
  -H "Access-Control-Request-Headers: Content-Type,X-Payment"
# β†’ HTTP 204, allow-headers includes X-Payment and Payment-Signature

---

Roadmap

Q3 2026:

  • AgentParse β€” document/PDF/OCR-to-markdown service (same x402 + MCP pattern)
  • AgentSearch β€” multi-backend web search aggregation
  • LangChain integration package (langchain-agent-scrape)

Q4 2026:

  • Subscription bundles (1000 scrapes for $2.50)
  • Multi-asset support (USDT on Base, USDC on Arbitrum)
  • Webhook + async response option for long-running workflows

---

Run locally

Requires Node 22+, a Cloudflare account with Workers + Browser Rendering enabled, a Groq API key, and a Coinbase CDP API key.

git clone https://github.com/hshintelligence/agent-scrape.git
cd agent-scrape
npm install

# Set secrets
npx wrangler secret put GROQ_API_KEY
npx wrangler secret put CDP_API_KEY_ID
npx wrangler secret put CDP_API_KEY_SECRET

# Local dev
npx wrangler dev

# Deploy
npx wrangler deploy

To use your own wallet as payTo, edit the PAY_TO constant in src/index.ts.

---

License

MIT β€” see LICENSE.

---

Contact

Built by HSH Intelligence, operated by Healing Sun Haven LLC (Wyoming, USA).

  • Service: https://agent-scrape.healingsunhaven.workers.dev
  • Repo: https://github.com/hshintelligence/agent-scrape
  • General inquiries: sales@healingsunhaven.com

---

Pay-per-call web scraping for AI agents β€” no signup, no API keys, just USDC.

Using AgentScrape from ElizaOS

ElizaOS supports remote MCP servers natively via the @elizaos/plugin-mcp plugin. AgentScrape works out of the box β€” no custom integration needed.

Install the MCP plugin

bun add @elizaos/plugin-mcp
# or
npm install @elizaos/plugin-mcp

Configure your character to use AgentScrape

In your ElizaOS character JSON, add the plugin and point the MCP server config at AgentScrape's Streamable HTTP endpoint:

{
  "name": "ResearchAgent",
  "plugins": ["@elizaos/plugin-mcp"],
  "settings": {
    "mcp": {
      "servers": {
        "agentscrape": {
          "type": "streamable-http",
          "name": "AgentScrape",
          "url": "https://agent-scrape.healingsunhaven.workers.dev/mcp",
          "timeout": 60
        }
      }
    }
  }
}

Available tools (auto-discovered by ElizaOS)

Once configured, the agent automatically discovers all six AgentScrape tools:

| Tool | Cost | Purpose | |---|---|---| | scrape_webpage | $0.003 USDC | Markdown/HTML/text/JSON scrape | | extract_structured_data | $0.005 USDC | AI extraction via Groq + Llama 4 Scout | | screenshot_webpage | $0.003 USDC | PNG screenshot with viewport control | | extract_metadata | $0.002 USDC | Title, OG, Twitter, JSON-LD | | create_browser_session | $0.001 USDC | Stateful browser session | | run_workflow | $0.008 USDC | Multi-step atomic workflow up to 20 steps |

Free tier

The first 10 calls per wallet in the first 30 days are free. After that, calls are paid in USDC on Base mainnet (eip155:8453) via the x402 v2 payment protocol. To pay, supply the X-PAYMENT-RESPONSE header with an x402 payment receipt on retry β€” the standard x402 flow.

Example prompt

Once the plugin is wired up, your ElizaOS agent can use AgentScrape transparently:

User: "Scrape https://www.x402.org and give me a two-sentence summary."

ElizaOS routes the request through @elizaos/plugin-mcp, which calls AgentScrape's scrape_webpage tool, and the agent answers based on the live page content.

Resources

  • AgentScrape Worker: https://agent-scrape.healingsunhaven.workers.dev
  • x402 manifest: https://agent-scrape.healingsunhaven.workers.dev/.well-known/x402.json
  • A2A Agent Card: https://agent-scrape.healingsunhaven.workers.dev/.well-known/agent.json
  • Source: https://github.com/hshintelligence/agent-scrape

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Browser & Scraping servers.