# X402 Data Gateway

> X402 Data Gateway is a paid MCP server for finance and payments. Pay-per-call agent tools for URL extraction, payment checks and platform health. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://agents.samedaydesk.com
- **Repository:** https://github.com/epistemedeus/x402-url-extractor
- **MCP Registry name:** io.github.epistemedeus/x402-data-gateway
- **Categories:** finance and payments, web search and scraping
- **Listing updated:** 2026-11-15

## About

The X402 Data Gateway is a hosted MCP server from SameDayDesk that sells small, typed data results to agents paying with x402 and Circle Gateway Nanopayments in USDC. Its manifest describes a flow of discover, validate schema and price, pay, call, then receive a deterministic result with a receipt.

The most documented tools are web extraction. extract and read fetch a public page without running JavaScript and return a record that keeps the requested and final URLs, the source's HTTP status, a sourceOk flag and a capture note, so a blocked page is not passed off as an empty success. Excerpts default to 1,200 characters and can be raised to 40,000, and extract_batch handles 1 to 5 URLs for 0.01 USDC. A lockfile_pin_delta tool compares two npm package-lock objects at $0.005. Fetches accept public HTTPS addresses only and revalidate up to three redirects.

Other services include wallet-policy conformance checks at 0.01 USDC, a payment offer preflight and free incident-backed platform health pages. The README says the default catalog is 22 MCP tools, 23 with batch extraction enabled and 24 with lockfile delta on top.

## Features

- **Typed extraction records:** Results keep final URL, source status and capture limits, so failures are visible.
- **Bounded batch extraction:** Fetch 1 to 5 public HTTPS URLs for a flat 0.01 USDC.
- **Lockfile comparison:** Compare two npm package-lock objects and report pin differences.
- **Wallet policy checks:** Paid conformance checks for payment-policy behaviour.
- **Payment preflight:** Validates a payment offer before an agent pays, with gasless Circle settlement.
- **Safe fetching:** Public IPv4 only, redirect revalidation and rejection of URL credentials.

## Good for

- Pull a page's text into an agent with an honest success flag
- Extract excerpts from several URLs in one paid call
- See what changed between two lockfiles
- Check a payment offer before an agent signs it
- Review platform health observations before choosing a provider

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http x402-data-gateway https://agents.samedaydesk.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agents.samedaydesk.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "x402-data-gateway": {
      "url": "https://agents.samedaydesk.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "x402-data-gateway": {
      "type": "http",
      "url": "https://agents.samedaydesk.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-data-gateway": {
      "serverUrl": "https://agents.samedaydesk.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "x402-data-gateway": {
      "type": "http",
      "url": "https://agents.samedaydesk.com/mcp"
    }
  }
}
```

## Tools

- `extract`: Fetch a public page and return a typed record with a bounded text excerpt.
- `read`: Read a page as Markdown up to 40,000 characters.
- `extract_batch`: Extract 1 to 5 public HTTPS URLs in one paid call.
- `lockfile_pin_delta`: Compare two npm package-lock objects.

## FAQ

### How do calls get paid?

With x402 or Circle Gateway Nanopayments in USDC, including Base USDC.

### What does extraction cost?

Single extraction is about $0.005, and batch extraction is 0.01 USDC per batch of up to 5 URLs.

### Does extract run JavaScript?

No. It makes a no-JavaScript GET, so missing text is not proof that content is absent.

### What happens if a page blocks the fetch?

A 403 or 404 with block text is returned as a failed record, not as an empty 200.

### Is X402 Data Gateway free?

No. X402 Data Gateway is a paid product.

### How do I add X402 Data Gateway to Claude Code?

Run this command in your terminal: claude mcp add --transport http x402-data-gateway https://agents.samedaydesk.com/mcp

### What are the best alternatives to X402 Data Gateway?

The closest alternatives to X402 Data Gateway are Scrapling MCP Server, Firecrawl MCP Server, SearXNG Search, Solana MCP by Vybe and Tapetide - Indian Stock Market MCP.

## Alternatives

- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [NeuralVerge](https://ai-powered.com/mcp/neuralverge): NeuralVerge is an MCP server for web search and scraping.
- [AI-Powered directory](https://ai-powered.com/mcp/ai-powered-directory): AI-Powered directory is a free MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/x402-data-gateway
