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-radarwhat'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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Goes well beyond the readOnlyHint/openWorldHint annotations by disclosing that each call costs $0.01 USDC on Base via x402, charged from the caller's own wallet — a material side effect that annotations do not capture. It also states that a missing feed returns 503 before payment, so the agent knows a failure is not billed, and adds a not-investment-advice caveat on the verdict data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three tight sentences with no repetition, and the failure-mode note is placed right after the content summary. The cost/payment clause leads the description rather than the purpose, which slightly delays the 'what does this do' signal, and the disclaimer sentence is boilerplate but arguably earns its place on a tool emitting verdicts.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the return-value burden and does so by enumerating the payload fields (stage, verdict, risk flags, sources). Cost, payment rail, and the pre-payment 503 behavior cover the operational facts an agent needs before calling a paid endpoint.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. The description correctly implies no filtering or pagination inputs are accepted.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: the latest list of newly launched Bitcoin L1 tokens/inscriptions, naming the four sub-types (BRC-20, Runes, Alkanes, Stamps) and the fields returned (stage, verdict, risk flags, sources). That clearly separates it from the sibling lookups token_risk, token_risk_batch and project_info, which are per-asset queries rather than a discovery feed.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: a zero-parameter 'latest list' tool is recognizably a discovery entry point, and the 503-on-no-data note tells the agent what happens on an empty feed. However, it never says when to reach for this instead of project_info or token_risk, nor whether it should be called before those lookups, so routing between siblings is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
healthBTC Radar API health (free)ARead-only
FREE. Checks the upstream x402 API (network, mainnet flag, whether radar data is loaded). No payment.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral facts: the check is free, requires no payment, and probes an external upstream service with a known set of reported fields. It stops short of describing failure modes or response shape.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two short sentences, front-loaded with the cost signal and followed by the concrete scope. Every clause carries information and nothing is padded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no parameters, no output schema, and no nesting, the description supplies the one thing structured data cannot: what the check actually reports and that it is cost-free. A sentence on failure behavior would close the remaining gap, but the definition is sufficient to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so the schema fully documents the input surface and no parameter explanation is needed. The baseline of 4 applies for a no-argument tool.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific action and target: it checks the upstream x402 API and enumerates the fields surfaced (network, mainnet flag, radar-data loaded). This separates it from data-returning siblings like btc_radar_latest and token_risk, though it never names those siblings explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The repeated 'FREE'/'No payment' wording implies this is the call to make before spending on the paid endpoints, so usage is inferable. However, there is no explicit when-to-use statement, no stated alternative, and no guidance on what to do if the health check fails.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | project slug, e.g. gpda |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond readOnlyHint/openWorldHint, the description discloses the price ($0.05 USDC on Base), the x402 payment rail, that funds come from the caller's own wallet, and that a bad slug 404s before payment is taken. The failure-before-charge detail is exactly the kind of financial-behavior context annotations cannot express, and readOnlyHint is consistent with a paid read.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three tight sentences: cost/rail first, then what the analysis contains, then input sourcing and failure mode. Every clause carries decision-relevant information and nothing is repeated from the schema or annotations.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description does the necessary work of sketching the return payload and warning that unknown slugs 404 without charge. It stops short of describing the output shape or depth of the report (format, length, section structure), a minor gap for a paid single-record tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema coverage (pattern, example "gpda"), the schema already defines the slug, so 3 is the floor. The description earns an extra point by stating where valid slugs come from (btc_radar_latest), which tells the agent how to source values rather than invent them.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
"Structured analysis of one radar project by slug" names a specific verb (analyze) and resource (one project), then enumerates the payload (what it is, entry, signature needs, risks, verdict). This cleanly separates it from btc_radar_latest (the discovery list) and token_risk (token-level risk), so an agent can pick it without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
"Use slugs from btc_radar_latest" gives an explicit prerequisite and routes the agent to the sibling that produces valid input, which is strong when-to-use guidance. It does not say when to prefer token_risk or token_risk_batch instead, so the exclusions half of the guideline is absent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | base (8453) or bsc (56) | |
| address | Yes | token contract address |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Goes well beyond the readOnlyHint annotation: discloses the $0.01 USDC x402 payment drawn from the caller's wallet, enumerates the checks performed, names the possible verdicts and score range, and states that invalid input returns 400 uncharged. That payment and failure-mode disclosure is exactly what an agent needs before invoking a paid tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Dense and front-loaded: cost and payment mechanism first, then scope, then what is checked, then output shape and error behavior. No filler, and the disclaimer closes it in five words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, and the description still specifies return fields (verdict enum, 0-100 score, action, reasons). Combined with the payment and error semantics, nothing material is left for the agent to guess.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and both params (chain enum, address pattern) are already documented in the schema. The description adds only the implicit 'single token per call' constraint, so this is baseline-level added meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
"Pre-trade safety check for one Base or BSC token" names the verb, resource, and scope precisely, and lists the concrete checks (honeypot simulation, taxes, mint/pause/blacklist flags, holders, liquidity, pool age). The word "one" implicitly separates it from the sibling token_risk_batch.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
"Pre-trade safety check" gives a clear trigger condition, and the 400/not-charged clause tells the agent bad input is free. It stops short of explicit when-not guidance (e.g. use batch for multiple tokens, or skip for non-Base/BSC chains).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | chain for addresses[] | |
| tokens | No | ||
| addresses | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond readOnlyHint/openWorldHint, it discloses the payment rail (x402 on Base), the $0.05 USDC cost from the caller's own wallet, and the billing exception when no token can be checked. That billing/partial-failure behavior is not derivable from annotations or schema, though rate limits and per-token partial-result semantics are unstated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Roughly 50 words, front-loaded with the cost and payment rail, and each clause (cost, equivalence to token_risk, input modes, refund rule) carries information. The closing 'Not investment advice' is boilerplate that adds little for an agent.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description defers return shape entirely to 'same checks as token_risk', so an agent gets no description of the result payload or how per-token successes and failures are reported. Billing and input modes are well covered, but the response side is a gap for a paid tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 33% (only 'chain' is described), but the description compensates by explaining that 'addresses' pairs with a single 'chain' while 'tokens[]' carries per-item chains for mixed batches — an either/or constraint the schema does not express. It stops short of saying whether both forms may be supplied simultaneously.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ('batch token risk check', up to 10 tokens) and anchors it to the sibling by saying it performs 'same checks as token_risk'. An agent can distinguish it from token_risk (single) and health/project_info without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives concrete calling modes: 'chain+addresses (single chain)' versus 'tokens[] (mixed chains)', which is exactly the routing decision an agent must make. It does not explicitly say 'use token_risk for a single token', so the batch-vs-single alternative is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
5 tool updates
v0.1.0- First observed
btc_radar_latest - First observed
health - First observed
project_info - First observed
token_risk - First observed
token_risk_batch
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.102 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables 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