x402-btc-radar
Uses Coinbase's x402 payment standard and CDP x402 Bazaar: paid tool calls are settled in USDC on Base mainnet (eip155:8453) via EIP-3009 signed authorizations, quotes are validated against the expected Base USDC asset and payee, and the upstream BTC Radar / Token Risk API is listed in Coinbase's CDP x402 Bazaar so it can also be called directly by any x402 client.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@x402-btc-radar what's the latest BTC radar signal?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
x402-btc-radar — Agent Plugin(MCP + Skill)
把 BTC Radar / Token Risk x402 付费 API 包成 AI 助手可直接调用的插件。
上游:https://x402-btc-radar.jinli-x402.workers.dev(Base 主网 USDC,已收录 Coinbase CDP x402 Bazaar)。
调用方用自己的钱包付费。本插件不含任何私钥或密钥。
工具与价格
MCP 工具 | 上游路由 | 价格(USDC,Base) |
|
| 免费 |
|
| $0.01 |
|
| $0.05 |
|
| $0.01 |
|
| $0.05 |
参数错误(400)、未知项目(404)、无数据(503)都在付款前返回,不扣钱。
Related MCP server: Genesis402
环境变量(在 MCP 服务器进程里设置)
变量 | 必填 | 说明 |
| 付费工具需要 | 你自己的 Base 钱包私钥( |
| 否 | 单次付款上限,默认 |
| 否 | 覆盖上游地址(仅测试用,必须 https)。 |
没配 X402_PRIVATE_KEY 时付费工具不会崩,而是返回 payment_required,附带真实报价(价格、收款地址、网络),并提示可改用任何 x402 客户端经 CDP Bazaar 直接调用。
安全校验(写死,不可配置)
每次收到 402 报价,签名前逐项检查,任何一项不符就拒付(payment_refused):
payTo必须是0xabe2cccdafed6cec19e47a3794eeb487e646bc0f网络必须是 Base 主网
eip155:8453资产必须是 Base USDC
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913scheme 必须是
exact金额 ≤
MAX_PAYMENT_USD
安装
Cursor / 支持 Agent Plugins 的客户端
插件目录结构(Agent Plugins 1.0 标准):
plugin.json # 清单
mcp.json # stdio MCP 服务器:node ./dist/btc-radar-mcp.mjs
skills/btc-radar/SKILL.md # 何时调用、价格、规则
dist/btc-radar-mcp.mjs # 打包好的单文件服务器(无需 npm install)需要 Node.js ≥ 20。私钥通过启动客户端的环境变量传入(不要写进 mcp.json)。
手动加到 MCP 配置(任意客户端)
{
"mcpServers": {
"x402-btc-radar": {
"command": "node",
"args": ["/绝对路径/x402-btc-radar-plugin/dist/btc-radar-mcp.mjs"],
"env": { "X402_PRIVATE_KEY": "${env:X402_PRIVATE_KEY}", "MAX_PAYMENT_USD": "0.05" }
}
}
}(发布到 npm 后可改为 "command": "npx", "args": ["-y", "x402-btc-radar-mcp"]。)
开发
npm install
npm run typecheck
npm test # 报价校验 + 模拟 402 流程(一次性随机私钥、mock 服务器,不花钱)
npm run build # esbuild 打包到 dist/btc-radar-mcp.mjs
npm run smoke # 真 stdio:initialize / tools/list / health(主网) / 无私钥调付费工具English (short)
MCP server + skill for a pay-per-call x402 API on Base mainnet (USDC). Tools: health (free), token_risk ($0.01), token_risk_batch ($0.05, ≤10 tokens), btc_radar_latest ($0.01), project_info ($0.05). Set X402_PRIVATE_KEY (your own wallet, USDC only, no ETH) to enable payments; MAX_PAYMENT_USD caps each payment (default 0.05). Quotes with an unexpected payee, network or asset are refused. Not investment advice.
Available Tools
5 toolsbtc_radar_latestBitcoin new-project radar ($0.01)ARead-only
PAID $0.01 USDC on Base via x402, from the caller's own wallet. Latest list of newly launched Bitcoin L1 tokens/inscriptions (BRC-20, Runes, Alkanes, Stamps) with stage, verdict, risk flags and sources. If no data is published the API returns 503 before payment. Not investment advice.
Inputs: no named parameters.
healthBTC Radar API health (free)ARead-only
FREE. Checks the upstream x402 API (network, mainnet flag, whether radar data is loaded). No payment.
Inputs: no named parameters.
project_infoSingle BTC project deep-dive ($0.05)ARead-only
PAID $0.05 USDC on Base via x402, from the caller's own wallet. Structured analysis of one radar project by slug (what it is, entry, signature needs, risks, verdict). Use slugs from btc_radar_latest. Unknown slug returns 404 before payment. Not investment advice.
Inputs: slug (required).
token_riskToken risk / honeypot check ($0.01)ARead-only
PAID $0.01 USDC on Base via x402 (paid from the caller's own wallet). Pre-trade safety check for one Base or BSC token: honeypot buy/sell simulation, buy/sell tax, mint/pause/blacklist/proxy/owner flags, holder concentration, liquidity, pool age. Returns verdict low|medium|high|honeypot, 0-100 score, action and reasons. Invalid input returns 400 and is not charged. Not investment advice.
Inputs: chain (required), address (required).
token_risk_batchBatch token risk check ($0.05)ARead-only
PAID $0.05 USDC per call (up to 10 tokens) on Base via x402, from the caller's own wallet. Same checks as token_risk. Pass either chain+addresses (single chain) or tokens[] (mixed chains). If no token can be checked you are not charged. Not investment advice.
Inputs: chain, tokens, addresses.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct action: single-token risk check, batch risk check, BTC radar listing, per-project detail by slug, and a free health probe. The only near-pair is token_risk vs token_risk_batch, but the batch description clearly scopes it (up to 10 tokens, mixed chains) so misselection is unlikely.
All names use consistent snake_case and are domain-descriptive (token_risk, token_risk_batch, btc_radar_latest, project_info), with a predictable prefix family around token_risk and btc_radar. There is no verb_noun convention and 'health' is a bare outlier, but the set reads coherently.
Five tools is a tight, well-scoped surface for a paid risk/radar API, and each entry earns its place (single vs batch risk, listing vs detail, free health). Nothing looks redundant or bolted on.
Core workflows are covered end to end: discover new BTC L1 launches, drill into a project by slug, and screen individual or batched tokens for risk, plus a free health check. Minor gaps exist around historical/archived radar data and searching rather than only fetching the latest list.
Maintenance
Related MCP Connectors
Pay-per-call onchain reads (Base, Ethereum, Gnosis), token verdicts and LLM chat over x402 USDC
Pay-per-call onchain reads (Base, Ethereum, Gnosis), token verdicts and LLM chat over x402 USDC
Pay-per-call crypto market intelligence for AI agents. USDC on Base via x402.
Let an AI agent find and pay for x402 APIs and products in USDC on Base, within owner-set limits.
Related MCP Servers
- AlicenseAqualityCmaintenanceTrust layer for AI agents: 22 pay-per-call x402 tools for scam and fraud checks, payment pre-flight, wallet screening, policy approvals, contact extraction and company research. Free preview with no wallet; paid calls settle in USDC on Base.2280 npmMIT
- AlicenseAqualityBmaintenancePay-per-call data and tools for AI agents over x402, by UnyKorn. 360 endpoints: DeFi and market data, multi-chain wallet reads, wallet and token risk signals, SEC filings, web and domain intel, and AI text tools. Settled per call in USDC on Base ($0.001-$0.25). No API keys or subscriptions; unpaid calls return the exact quote first.21MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to look up token risk verdicts and ERC20 facts, wallet snapshots, gas prices, transaction summaries, and Basename resolution on the Base network. Each call is paid in USDC over x402 from a dedicated wallet the user controls, with per-call price caps and a session budget.51 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to run honeypot and owner-power safety checks on Base tokens and to read wallet ETH and USDC balances, with every answer sourced from real chain data and paid per call in USDC via x402.MIT