Back to Browse

X402 Gateway MCP Server

Developer ToolsLow Risk9.7MCP RegistryLocal
Free

Server data from the Official MCP Registry

x402 analytics feed + 20+ pay-per-call agent tools over x402 (data, LLM, risk), no accounts.

About

x402 analytics feed + 20+ pay-per-call agent tools over x402 (data, LLM, risk), no accounts.

Security Report

9.7
Low Risk9.7Low Risk

Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.

11 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

What You'll Need

Set these up before or after installing:

Buyer wallet key (fund with a few USDC on Base). Optional: free previews work without it.Required

Environment variable: WALLET_PRIVATE_KEY

Refuse any single call above this price. Default 0.25; set 1.25 to enable the $1 domain dossier.Optional

Environment variable: MAX_PER_CALL_USD

Total spend cap per session. Default 2.00.Optional

Environment variable: MAX_SESSION_USD

Gateway base URL override. Default https://gateway.stride20k.com.Optional

Environment variable: GATEWAY_URL

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-marysbrain-x402-gateway-mcp": {
      "env": {
        "GATEWAY_URL": "your-gateway-url-here",
        "MAX_SESSION_USD": "your-max-session-usd-here",
        "MAX_PER_CALL_USD": "your-max-per-call-usd-here",
        "WALLET_PRIVATE_KEY": "your-wallet-private-key-here"
      },
      "args": [
        "-y",
        "x402-gateway-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

x402-gateway-mcp

The live x402 market feed for agents. The x402_market_pulse tool is FREE — no wallet, no payment, no signup: the x402 ecosystem in one snapshot, refreshed ~3x/day — service listings by category with week-over-week deltas, newly listed services, npm download trends for the core x402 packages, protocol release tags, and per-source reliability grades. Every metric carries a freshness stamp; a stale source says so instead of pretending.

Behind the feed: every x402-gateway data endpoint as an MCP tool that pays for calls with your wallet (USDC on Base, x402 protocol) — crypto prices, DEX pools, gas, FX, Treasury yields, US weather, WHOIS, DNS, email validation, web-to-markdown extraction, token risk scores, $1 domain dossiers, and more. Tool list is fetched from the gateway's /.well-known/x402.json at startup — new gateway endpoints appear automatically, and every response is cryptographically signed (verify).

⚠️ Funded-wallet warning: WALLET_PRIVATE_KEY signs real payments. Use a dedicated wallet holding only small balances (a few dollars of USDC). Never your main wallet. The key is read from env, never logged, and payment headers are never echoed into agent-visible output.

5-minute setup (Claude Desktop / Claude Code)

  1. Create a fresh wallet and fund it with a small amount of USDC on Base (or Base Sepolia test USDC from https://faucet.circle.com while testing).
  2. npm install -g x402-gateway-mcp (or use npx).
  3. Add to your MCP config (Claude Desktop claude_desktop_config.json, or claude mcp add for Claude Code):
{
  "mcpServers": {
    "x402-gateway": {
      "command": "npx",
      "args": ["-y", "x402-gateway-mcp"],
      "env": {
        "GATEWAY_URL": "https://<your-gateway-host>",
        "WALLET_PRIVATE_KEY": "0x<small-balance-wallet-key>",
        "MAX_PER_CALL_USD": "0.25",
        "MAX_SESSION_USD": "2.00"
      }
    }
  }
}
  1. Restart the client. The free x402_market_pulse tool works immediately (no wallet needed); every paid tool description states its price, e.g. [costs $0.005 USDC per call] Get the current USD price of a cryptocurrency…

Spend guardrails

  • MAX_PER_CALL_USD (default 0.25): tools priced above this are refused. Note: the gateway's premium /report/domain dossier costs $1.00 — set MAX_PER_CALL_USD=1.25 to enable it; the default deliberately keeps premium tools opt-in.
  • MAX_SESSION_USD (default 2.00): cumulative settled spend per server session; calls that would exceed it are refused with a clear message the agent can relay. Restart the server to reset.

Refusals happen before any payment is signed.

Env reference

VarDefaultPurpose
GATEWAY_URLhttps://gateway.stride20k.comGateway base URL (override for local/testnet)
WALLET_PRIVATE_KEYBuyer key (small balance!). Without it, tools list but calls fail with a clear error
MAX_PER_CALL_USD0.25Per-call cap
MAX_SESSION_USD2.00Per-session cap

Reviews

No reviews yet

Be the first to review this server!

X402 Gateway MCP Server - x402 analytics feed + 20+ pay-per-call agent tools over | MCP Marketplace