Skip to content
MCP server

x402-gateway

Pay-per-call MCP server for citation checks, JSON extraction and crypto audits on Base

Answered our latest tool-list check 3 days ago with 4 tools. It will be marked verified after 3 successful checks in 7 days.

x402-gateway is a paid MCP server for mcp data access. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Paid
Platforms
API
Runs
Remotely
GitHub stars
0
Last commit
Version
1.0.0

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add --transport http x402-gateway https://x402-gateway.grokrepay.workers.dev/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://x402-gateway.grokrepay.workers.dev/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "x402-gateway": {
      "url": "https://x402-gateway.grokrepay.workers.dev/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

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

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://x402-gateway.grokrepay.workers.dev/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add x402-gateway --url https://x402-gateway.grokrepay.workers.dev/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.x402-gateway]
url = "https://x402-gateway.grokrepay.workers.dev/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://x402-gateway.grokrepay.workers.dev/mcp

Enter a Name (for example "x402-gateway"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

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

{
  "mcpServers": {
    "x402-gateway": {
      "type": "http",
      "url": "https://x402-gateway.grokrepay.workers.dev/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "x402-gateway": {
          "httpUrl": "https://x402-gateway.grokrepay.workers.dev/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http x402-gateway https://x402-gateway.grokrepay.workers.dev/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "x402-gateway": {
          "serverUrl": "https://x402-gateway.grokrepay.workers.dev/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "x402-gateway": {
          "url": "https://x402-gateway.grokrepay.workers.dev/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "x402-gateway": {
          "type": "streamableHttp",
          "url": "https://x402-gateway.grokrepay.workers.dev/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "x402-gateway": {
          "url": "https://x402-gateway.grokrepay.workers.dev/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "x402-gateway": {
          "url": "https://x402-gateway.grokrepay.workers.dev/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "x402-gateway": {
          "url": "https://x402-gateway.grokrepay.workers.dev/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "x402-gateway": {
          "url": "https://x402-gateway.grokrepay.workers.dev/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About x402-gateway

Instead of a monthly subscription, this server charges a few cents each time an AI client calls one of its tools. Payments use the x402 protocol with USDC on the Base network, so a client settles each request on-chain before the result is returned.

The service is reachable as a remote MCP endpoint over streamable HTTP, and the same tools are also offered as plain HTTP routes with an OpenAPI description and x402 discovery files. Tool calls return 402 Payment Required until a valid payment signature accompanies the request.

It suits developers and agents that need occasional verification or extraction work without managing API keys or billing accounts. Prices run from $0.01 for citation and JSON tasks up to $0.02 for the crypto audit.

Tools this server provides (4)

Read directly from the server.

Going by the tool names, 4 names don't say.

From the server's own tool labels and tool names; not verified by us.

verify-citation
Fetch a public web page and verify whether it supports a quoted claim using Workers AI.
extract-json
Extract structured JSON from a URL or text against a provided JSON schema using Workers AI.
crypto-signal-audit
On-chain/public-data sanity audit of a token or contract claim on Base.
prediction-mispricing
Compare Polymarket prices with recent public news headlines and return markets where the price appears to have moved less than the news suggests.

What it does

Pay per tool call
Each request is billed individually in USDC on Base, with no account or subscription needed.
Citation verification
Fetches a public page and checks whether it supports a quoted claim using Workers AI.
Schema-based JSON extraction
Pulls structured JSON from a URL or pasted text according to a schema you supply.
Crypto signal audit
Runs a sanity check on a token or contract claim using on-chain and public data on Base.
Standard MCP transport
Works with MCP clients over streamable HTTP at a single endpoint.
Discovery endpoints
Publishes x402, OpenAPI and llms.txt files so clients can find pricing and routes automatically.

Good for

  • Verifying that a cited web source actually supports the claim attributed to it
  • Turning web pages or raw text into structured JSON for an agent pipeline
  • Running a quick on-chain sanity check on a token or contract before acting on a claim
  • Adding paid verification tools to an agent without setting up API keys

Pricing

Paid

Pay per call: $0.01 to $0.05 per tool call in USDC on Base

Prices change. Check x402-gateway.grokrepay.workers.dev before you buy.

x402-gateway FAQ

How is the server paid for?

Each tool call returns 402 Payment Required until a valid PAYMENT-SIGNATURE header is supplied. Payments are made in USDC on Base (eip155:8453) under the x402 v2 protocol.

What does each tool cost?

verify-citation and extract-json cost $0.01 per call, crypto-signal-audit costs $0.02, and prediction-mispricing costs $0.05.

Which endpoint should an MCP client use?

The MCP streamable-HTTP endpoint is https://x402-gateway.grokrepay.workers.dev/mcp.

How do I add x402-gateway to Claude Code?

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

What are the best alternatives to x402-gateway?

The closest alternatives to x402-gateway are x402 Tools, Gate402 MCP, X402 MCP Tools, x402 Data for Agents and X402 Tools MCP.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Status and tools: checked automatically by AIPoweredBot on 3 December 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers