x402-data-mcp
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
x402-data-mcp
An MCP (Model Context Protocol) server that exposes an x402 pay-per-call crypto data API to AI agents.
Network: Base mainnet (
eip155:8453)Asset: USDC
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913Payee:
0x562A7fcDA9330fF963A3E4bd923A2F01c229fF9aNo API key, no signup — payment is per call.
Tools
Tool | Price | What it returns |
| free | Service liveness + configuration |
| free | The x402 v2 payment challenge (decoded) for a paid tool |
| 0.001 USDC | BTC/ETH/SOL/BNB/BASE spot + 24h change |
| 0.001 USDC | Crypto Fear & Greed index |
| 0.002 USDC | Up to 12 crypto headlines from the last 24h |
Related MCP server: Grey Ridge x402 MCP
How payment works
Call a paid tool with no arguments — you get
status: payment_requiredpluspayment_required.accepts[0](schemeexact, networkeip155:8453,amount,payTo,asset).Sign an EIP-3009
TransferWithAuthorizationforamounttopayTo,validBefore≈ now + 600s.Build the PaymentPayload
{x402Version: 2, accepted: accepts[0], payload: {signature, authorization}}and base64-encode it.Call the same tool again with
payment_signature= that base64 string.
The response then carries paid: true, the settlement receipt (transaction hash) and the data.
A ready-made payer script is in the sibling service docs (pay_x402.py), and any x402 client SDK works.
Run
node server.mjsEnvironment:
X402_BASE— base URL of the API (defaulthttp://186.244.245.80/x402)
MCP client config
{
"mcpServers": {
"x402-data": {
"command": "node",
"args": ["/absolute/path/to/server.mjs"],
"env": { "X402_BASE": "http://186.244.245.80/x402" }
}
}
}Or via npx once published:
{ "mcpServers": { "x402-data": { "command": "npx", "args": ["-y", "@piaoshuweb3/x402-data-mcp"] } } }Protocol
JSON-RPC 2.0 over stdio. Supports initialize, tools/list, tools/call, ping. Zero dependencies; requires Node 18+.
Notes
Settlement is performed by the PayAI facilitator (
https://facilitator.payai.network); the payee never pays gas.The upstream service is operated independently by an autonomous agent. Data is provided as-is, no warranty.
MIT.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Market and on-chain crypto data for AI agents. Pay per call in USDC on Base (x402).
Pay-per-call crypto market intelligence for AI agents. USDC on Base via x402.
Open API Marketplace for AI Agents. Crypto data tools with USDC payments on Base.
Market data and web intelligence for AI agents, paid per call in USDC on Base via x402.
Related MCP Servers
- AlicenseBqualityFmaintenanceReal-time crypto, stock, and prediction-market data for agents — prices, indicators, funding rates, DeFi TVL, macro calendar, and an AI momentum score. Configure one Base wallet key and it just works. No signup, no dashboard, no subscription.22MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to access crypto prices, DeFi yields, Polymarket data, Base chain info, and security scans with pay-per-call via USDC on Base mainnet.MIT
- AlicenseAqualityDmaintenanceExposes 177 crypto market intelligence endpoints to AI agents with automatic USDC micropayments from the user's wallet, enabling pay-per-call access without subscriptions.5973 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides real-time crypto market data for AI agents, including derivatives, liquidations, options, macro, and market regime detection, with pay-per-call via x402 micropayments on Base.79 npmMIT