Skip to content
MCP server

x402 Precheck

Inspect an x402 payment challenge before your agent signs a USDC payment

Install
Pricing
Freemium
Platforms
API
Runs
Remotely
Version
1.0.0
Listing updated
3 days ago

About x402 Precheck

x402 Precheck is a freemium MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

x402 revives the HTTP 402 status so an API can charge a few cents per call and an agent pays in USDC with no account. Because agents pay automatically, a typo or a malicious server can send money to the wrong place. This server reads the unpaid 402 response, or a challenge you paste, and returns a verdict of looks ok, review or do not pay.

The checks cover the network, including testnets, whether the asset is the real USDC contract, the recipient address (zero address, broken checksum or an unexpected payTo), absurd amounts, a reachable facilitator that supports the scheme, and signing details such as the EIP-712 domain or a very long validity window. You can set a maximum price and an expected recipient.

It never signs or sends a payment to the target. A looks ok verdict only means the terms are well-formed and consistent, not that the seller will deliver. The operator describes it as an experiment built and operated with AI assistance, with a human owner reviewing it. A REST endpoint offers the same check.

Install

Run in a terminal

claude mcp add --transport http precheck https://x402-precheck.w0arvg81zlgf.workers.dev/mcp

Add to Settings → Connectors → Add custom connector

https://x402-precheck.w0arvg81zlgf.workers.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "precheck": {
      "url": "https://x402-precheck.w0arvg81zlgf.workers.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "precheck": {
      "type": "http",
      "url": "https://x402-precheck.w0arvg81zlgf.workers.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "precheck": {
      "serverUrl": "https://x402-precheck.w0arvg81zlgf.workers.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "precheck": {
      "type": "http",
      "url": "https://x402-precheck.w0arvg81zlgf.workers.dev/mcp"
    }
  }
}

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

x402_precheck
Checks an x402 challenge from a url or pasted challenge, with optional maxPriceUsd and expectPayTo.

What it does

Three-level verdict
Returns looks ok, review or do not pay for the payment terms.
Network and token checks
Flags wrong or test networks and tokens that are not the real USDC contract.
Recipient checks
Catches zero addresses, broken checksums and unexpected payTo values.
Price limits
Lets you set a maximum price and an expected recipient.
Facilitator reachability
Tests whether a facilitator can settle the scheme and network.
URL or pasted challenge
Accepts an endpoint URL or the raw 402 challenge.

Good for

  • Check a paid API's 402 bill before an agent pays
  • Block payments above a set price
  • Confirm the payee matches an expected address
  • Spot look-alike USDC tokens
  • Add a pre-payment check to agent code

Pricing

Freemium

1,024 free checks per IP per day; then 0.002 USDC per check

Prices change. Check x402-precheck.w0arvg81zlgf.workers.dev before you buy.

x402 Precheck FAQ

Does it pay the endpoint?

No. It only reads the unpaid 402 response or the challenge you paste.

Is it free?

Each IP gets 1,024 free checks per UTC day, shared between API and MCP; after that a check costs 0.002 USDC via x402.

Does looks ok guarantee delivery?

No. It means the terms are well-formed and consistent.

Is my input stored?

Requests are logged briefly with a hashed IP, and the operator advises not pasting secrets.

Is x402 Precheck free?

x402 Precheck has a free plan, with paid plans for more usage or features.

How do I add x402 Precheck to Claude Code?

Run this command in your terminal: claude mcp add --transport http precheck https://x402-precheck.w0arvg81zlgf.workers.dev/mcp

What are the best alternatives to x402 Precheck?

The closest alternatives to x402 Precheck are REA, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Agent Roast and Midplane.

Alternatives to x402 Precheck

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  5. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  6. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments