x402-extract-mcp

MCP serverWeb & browsing

x402-extract pulls structured product information out of any web page. Each extraction costs $0.01 in USDC, paid automatically per call, and returns clean product data your AI can read and use.

Use x402-extract-mcp in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add x402-extract-mcp and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use x402-extract-mcp to get product details

Details

Available today. Use it from your connected AI after setup.

Add x402-extract, then give your AI a product page URL and ask it to pull the product details. Make sure you have USDC available to cover the per-call fee.

x402-extract-mcpStart free

What your AI can do with it

  • Extract product details like name, price, and description from any URL
  • Return data in a standard product format that is easy to work with
  • Pay only for the extractions you actually make, at $0.01 per call
  • Use extracted product data in comparisons, summaries, or tracking

Install x402-extract-mcp

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user x402-extract-mcp 'https://api.tollkit.dev/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

    https://api.tollkit.dev/mcp

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=x402-extract-mcp&config=eyJ1cmwiOiJodHRwczovL2FwaS50b2xsa2l0LmRldi9tY3AifQ==

    Open the link and Cursor adds the server at that address.

  • ChatGPT

    https://api.tollkit.dev/mcp

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add x402-extract-mcp --url 'https://api.tollkit.dev/mcp'

    Run it once, then sign in with codex mcp login x402-extract-mcp if the server asks for an account.

From the project's README

As published by ultrastarz/x402-extract-mcp in README.md.

A paid MCP server that gives AI agents structured product data from any URL.

Each extract_product tool call:

  1. Renders the URL through a headless browser
  2. Extracts a schema.org/Product JSON blob (name, price, currency, availability, variants, …)
  3. Costs $0.01 USDC per call, paid automatically from the configured wallet via x402

No API keys. No subscription. The agent pays the toll, gets the data.

Install in Claude Desktop / Cursor / Windsurf

Add this to your MCP config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "x402-extract": {
      "command": "npx",
      "args": ["-y", "x402-extract-mcp"],
      "env": {
        "BUYER_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY"
      }
    }
  }
}

Restart your MCP client. You'll see an extract_product tool available.

What you need

A wallet on Base Sepolia (testnet) funded with:

Generate a throwaway key:

node -e "const {generatePrivateKey,privateKeyToAccount}=require('viem/accounts');const k=generatePrivateKey();console.log('PRIVATE_KEY=',k);console.log('ADDRESS=',privateKeyToAccount(k).address)"

Use the printed address to claim from faucets, then put the printed key into your MCP config.

Try it

In Claude Desktop, paste a product URL and ask:

Extract this product page using extract_product: https://stormkeep-odl.bandcamp.com/album/the-nocturnes-of-iswylm-2

You'll get back structured JSON with the product name, price, formats, availability, etc. The on-chain transfer is visible at https://sepolia.basescan.org.

What the response looks like

{
  "product": {
    "name": "The Nocturnes Of Iswylm",
    "description": "...",
    "brand": "Stormkeep",
    "price": 10,
    "currency": "USD",
    "availability": "preorder",
    "variants": [
      { "name": "Format", "values": ["Digital Album", "12\" Vinyl (black)", ...] },
      { "name": "Vinyl Color", "values": ["Black", "Violet", ...] }
    ],
    "images": [],
    "url": "https://..."
  },
  "page": { "title": "...", "status": 200, "render_ms": 2879 },
  "extraction": { "model": "claude-haiku-4-5", "input_tokens": 4479, "output_tokens": 405 }
}

Configuration

Env varRequiredDefault
BUYER_PRIVATE_KEYyes—
EXTRACT_URLnohttps://extract.tollkit.dev/extract

To point the MCP server at your own seller deployment, override EXTRACT_URL.

How it works

Claude Desktop ──tool call──> MCP server (this package, on your machine)
                              │
                              │ x402 payment + URL
                              ▼
                              Public seller (Hono + Playwright + Claude on Railway)
                              │
                              │ structured JSON
                              ▼
                              MCP server ──tool result──> Claude Desktop

The MCP server doesn't render pages itself. It signs an x402 payment with the buyer's wallet, sends the payment + URL to a public seller endpoint, and returns the seller's response. The seller does the actual headless rendering and Claude-driven schema extraction.

What works, what doesn't

Works well:

  • Bandcamp release pages
  • Most small/medium Shopify stores
  • Tesla Shop product pages
  • Any site that doesn't have aggressive anti-bot

Will return a fetch error (page status 403/429/no-content):

  • Amazon, Walmart, Target, Best Buy
  • Most luxury brand sites on Cloudflare
  • LinkedIn, Twitter/X (auth wall)

A future version will add residential-proxy support to handle these.

License

MIT

Tools it offers (9)

What this server listed when Ahel dialed its public endpoint in Sep 2026, with no key and no account of yours. The names are the server’s own.

  • get_product_details
  • try_it_free
  • compare_products
  • attest_page
  • verify_attestation
  • check_my_balance
  • check_service
  • find_service
  • get_service_info

Signals

Last commit
Sep 2026
Advanced
Delivery
x402-extract MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-ultrastarz-x402-extract
Source
github.com/ultrastarz/x402-extract-mcp
Hosted endpoint
https://api.tollkit.dev/mcp