# x402check

> x402check is a paid MCP server for security. Pre-payment risk checks for AI agents: screen a counterparty before x402 payments. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** CLI, API
- **Website:** https://x402check.xyz
- **Repository:** https://github.com/caiovicentino/jev-risk-check-provider/tree/HEAD/packages/mcp
- **MCP Registry name:** io.github.caiovicentino/x402check
- **Categories:** security, finance and payments
- **Listing updated:** 2026-11-15

## About

x402check lets an agent clear a payee before money moves. Each check screens the address against the OFAC SDN digital-currency list, phishing and drainer feeds, look-alike domains and on-chain facts, and can simulate the transaction. A typed model can also read content the agent acted on for injected instructions. Results come back as allow, warn, block or not_verified, with findings and a signed ES256 attestation that the server verifies against the issuer's did:web identity before the agent sees an action.

There is no free tier. Checks are paid from prepaid credits at $0.001 each ($0.005 when a transaction is simulated), or per call via x402 from a dedicated low-balance wallet, with a per-payment cap and a total budget. Without credentials, every check returns not_verified.

The site spells out limits: a clean verdict means none of the checks fired, not that the payee is safe, and unknown drainer addresses on no feed are not detected.

## Features

- **Signed attestations:** Verdicts are ES256 JWS tokens that state which checks actually ran.
- **Sanctions and phishing screening:** Checks OFAC SDN, MetaMask phishing and ScamSniffer drainer lists.
- **Transaction simulation:** Simulates a transaction to see where assets end up.
- **Gated x402 payments:** x402check_pay pays an x402 resource only after the payee is cleared.
- **Spend caps:** Environment variables set a total budget and a maximum per payment.
- **Fail-closed behaviour:** If the model or feeds are unavailable, the evidence says so instead of inventing a score.

## Good for

- Clear a payee before an agent pays an x402 API
- Screen a wallet address against OFAC sanctions
- Simulate a transaction before signing
- Verify a previously issued attestation

## Install

### Claude Code (Terminal)

```sh
claude mcp add x402check --env X402CHECK_CREDIT_TOKEN='<X402CHECK_CREDIT_TOKEN>' --env X402CHECK_PAYER_KEY='<X402CHECK_PAYER_KEY>' -- npx -y @x402check/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "x402check": {
      "command": "npx",
      "args": [
        "-y",
        "@x402check/mcp"
      ],
      "env": {
        "X402CHECK_CREDIT_TOKEN": "<X402CHECK_CREDIT_TOKEN>",
        "X402CHECK_PAYER_KEY": "<X402CHECK_PAYER_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "x402check": {
      "command": "npx",
      "args": [
        "-y",
        "@x402check/mcp"
      ],
      "env": {
        "X402CHECK_CREDIT_TOKEN": "<X402CHECK_CREDIT_TOKEN>",
        "X402CHECK_PAYER_KEY": "<X402CHECK_PAYER_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "x402check": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@x402check/mcp"
      ],
      "env": {
        "X402CHECK_CREDIT_TOKEN": "<X402CHECK_CREDIT_TOKEN>",
        "X402CHECK_PAYER_KEY": "<X402CHECK_PAYER_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "x402check": {
      "command": "npx",
      "args": [
        "-y",
        "@x402check/mcp"
      ],
      "env": {
        "X402CHECK_CREDIT_TOKEN": "<X402CHECK_CREDIT_TOKEN>",
        "X402CHECK_PAYER_KEY": "<X402CHECK_PAYER_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "x402check": {
      "command": "npx",
      "args": [
        "-y",
        "@x402check/mcp"
      ],
      "env": {
        "X402CHECK_CREDIT_TOKEN": "<X402CHECK_CREDIT_TOKEN>",
        "X402CHECK_PAYER_KEY": "<X402CHECK_PAYER_KEY>"
      }
    }
  }
}
```

## Tools

- `x402check_check`: Risk-checks a counterparty and returns allow, warn, block or not_verified.
- `x402check_pay`: Fetches an x402 resource and pays only if the payee is cleared.
- `x402check_verify_attestation`: Verifies an x402check attestation without making a payment.
- `x402check_methodology`: Explains what is checked, the price and the measured limits.

## FAQ

### Is there a free tier?

No. Every check is paid, from credits or per call.

### How much does a check cost?

$0.001 from prepaid credits, or $0.005 with transaction simulation; $0.0035 per call on Base via x402.

### Does a clean result mean safe?

No. The site says it means none of the checks fired.

### What runtime does it need?

Node.js 22 or later, run via npx -y @x402check/mcp.

### Is x402check free?

No. x402check is a paid product.

### How do I add x402check to Claude Code?

Run this command in your terminal: claude mcp add x402check --env X402CHECK_CREDIT_TOKEN='<X402CHECK_CREDIT_TOKEN>' --env X402CHECK_PAYER_KEY='<X402CHECK_PAYER_KEY>' -- npx -y @x402check/mcp

### What are the best alternatives to x402check?

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

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [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.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/x402check
