mcpField
X
x402-scraper-api

x402-scraper-api

Remote
github.com/ihen404Browser Automation0Updated 1d ago
Repository

About x402-scraper-api

x402-scraper-api is an MCP server for agents and research workflows that need programmatic web scraping. It offers static HTML, JavaScript-rendered, and schema-shaped extraction, with requests paid through x402 micro-transactions on Base.

Key features

  1. 01Static HTML to clean Markdown
  2. 02JavaScript-rendered page scraping
  3. 03Extraction to requested JSON Schema
  4. 04USDC micro-payments on Base

Use cases

  1. 01Extracting content from static web pages
  2. 02Collecting data from JavaScript-heavy sites
  3. 03Returning scraped pages in a defined schema

MCP support

Exposes scraping tools to MCP clients, with both a local stdio setup and a remote JSON-RPC HTTP endpoint. Agents can discover tool definitions through its server card and handle x402 payment challenges.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://x402-scraper-api-production-67a4.up.railway.app/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

🌐 x402 Scraper API

High-Velocity, Multi-Tiered Web Scraping MCP Server monetized via HTTP 402 micro-payments on Base Mainnet. Designed for autonomous agent swarms, research pipelines, and enterprise LLM workflows.


⚡ Quickstart for Developers (Claude Desktop / MCP Clients)

Add this server configuration to your MCP client settings file (e.g., claude_desktop_config.json) to instantly equip your local AI workspace with paid web scraping tools:

{
  "mcpServers": {
    "x402-scraper": {
      "command": "npx",
      "args": ["-y", "x402-scraper-api"],
      "env": {
        "BASE_RPC_URL": "https://mainnet.base.org"
      }
    }
  }
}

🛠️ Tool Tiers & Pricing

Our scraping infrastructure offers three distinct programmatic tiers tailored for autonomous agents:

Tool NameDescriptionPrice (USDC on Base)
scrape_basicFast DOM parsing & clean Markdown extraction from static HTML.$0.01
scrape_dynamicHeadless browser rendering for JavaScript-heavy, dynamic web apps.$0.05
scrape_structuredScrapes a web page and parses raw content directly into a requested JSON Schema.$0.15

🤖 Autonomous Agent Integration (M2M / x402 Protocol)

Autonomous scout agents and agent swarms can programmatically discover tool definitions via our server card and execute x402 payment challenges on the fly.

Direct Endpoint Usage
  • Base URL: https://x402-scraper-api-production-67a4.up.railway.app
  • MCP Gateway: https://x402-scraper-api-production-67a4.up.railway.app/mcp
  • Server Card: https://x402-scraper-api-production-67a4.up.railway.app/.well-known/mcp/server-card.json
  • Telemetry: https://x402-scraper-api-production-67a4.up.railway.app/telemetry
Sample JavaScript Client Request

Agents can invoke tools using standard JSON-RPC over HTTP:

const response = await fetch("https://x402-scraper-api-production-67a4.up.railway.app/mcp", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "tools/call",
    params: {
      name: "scrape_structured",
      arguments: {
        url: "https://example.com/target-data",
        jsonSchema: { title: "string", price: "number" }
      }
    },
    id: 1
  })
});

const result = await response.json();
console.log(result);

📊 Live Telemetry & Monitoring

Our production infrastructure maintains real-time telemetry tracking request velocity, active sessions, and revenue milestones. Inspect current uptime and metrics programmatically:

curl -s https://x402-scraper-api-production-67a4.up.railway.app/telemetry

🚀 License

MIT © 2026 x402 Scraper API

🤖 Claude Code & AI Agent Quickstart

Give your autonomous agents (Claude Code, ElizaOS, Cursor) native paywall-scraping capabilities using x402 micro-payments on Base or Solana. No API key subscriptions required.

Install via Claude Code

Clone the repository into your local workspace or agent environment:

git clone [https://github.com/your-username/x402-scraper-api.git](https://github.com/your-username/x402-scraper-api.git)

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.