anchor-x402
x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.
我該用這個嗎
品質與安全性
發現項目(4)
- LOW在 anchor_hash 中
- LOW在 grade_target 中
- LOW在 oracle_verdict 中
- LOW在 token_price 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"anchor-x402": {
"command": "npx",
"args": [
"anchor-x402-mcp"
]
}
}
}可執行的套件
0.2.3stdio遠端端點
https://api.anchor-x402.com/mcpstreamable-http它能做什麼
工具清單
工具(18)
⚪anchor_hash(hash, data, note)
Anchor a 32-byte hash to Base + Solana mainnet in parallel. Returns both tx URLs as cryptographic proof of when the hash existed. $0.005 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-computed 32-byte hex hash (64 chars, no 0x prefix). Mutually exclusive with `data`.",
"title": "Hash"
},
"data": {
"anyOf": [
{},
{
"type": "null"
}
],
"default": null,
"description": "Arbitrary JSON to be canonicalized + SHA-256'd by the server. Mutually exclusive with `hash`.",
"title": "Data"
},
"note": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional 200-char note included in the response (not on-chain).",
"title": "Note"
}
}
}⚪attest_decision(input_hash, output_hash, decision, scheme, signature, ...)
Attest a decision over (input_hash, output_hash, decision): sign it yourself, or omit the signature and the treasury signs for you — then dual-chain anchor. Returns the signer, on-chain proof URLs, and a free re-verify URL. $0.010 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"input_hash": {
"description": "64-char hex SHA-256 of the agent's input.",
"title": "Input Hash",
"type": "string"
},
"output_hash": {
"description": "64-char hex SHA-256 of the agent's output / decision payload.",
"title": "Output Hash",
"type": "string"
},
"decision": {
"description": "Free-form short label, e.g. \"APPROVED\", \"REJECTED\", \"CONFIDENCE=0.93\".",
"maxLength": 64,
"title": "Decision",
"type": "string"
},
"scheme": {
"anyOf": [
{
"enum": [
"eip191",
"ed25519"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Signature scheme when you supply a `signature`: \"eip191\" (EVM) or \"ed25519\" (Solana).",
"title": "Scheme"
},
"signature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "0x-prefixed hex (eip191) or base58 (ed25519). Omit to have the anchor-x402 treasury sign for you (hosted-signer mode, for wallet-less agents).",
"title": "Signature"
},
"signer_pubkey": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Required for ed25519 (Solana base58 pubkey). Ignored for eip191 — address is recovered.",
"title": "Signer Pubkey"
}
},
"required": [
"input_hash",
"output_hash",
"decision"
]
}🟢aura_read(target)
Read the aura of anything — color, tier (S/A/B/C/D/F), score 0-9999, description. $0.01 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"target": {
"description": "Anything to read the aura of.",
"maxLength": 4000,
"minLength": 1,
"title": "Target",
"type": "string"
}
},
"required": [
"target"
]
}🟢decode_calldata(chain, calldata_hex, contract_address)
Decode raw EVM calldata into function name + typed parameters via openchain.xyz + eth_abi. EVM-only. $0.001 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"chain": {
"description": "\"ethereum\" supported; \"solana\" returns 400.",
"enum": [
"ethereum",
"solana"
],
"title": "Chain",
"type": "string"
},
"calldata_hex": {
"description": "Raw EVM calldata (>=4-byte selector), with or without 0x prefix.",
"minLength": 8,
"title": "Calldata Hex",
"type": "string"
},
"contract_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional. Reserved for future on-chain ABI lookups; currently unused.",
"title": "Contract Address"
}
},
"required": [
"chain",
"calldata_hex"
]
}🟢decode_tx(chain, tx_hash)
Structured decode of any mainnet transaction by hash. Supports Base, Ethereum, Solana. Mined txs cached. $0.001 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"chain": {
"enum": [
"base",
"ethereum",
"solana"
],
"title": "Chain",
"type": "string"
},
"tx_hash": {
"maxLength": 128,
"minLength": 1,
"title": "Tx Hash",
"type": "string"
}
},
"required": [
"chain",
"tx_hash"
]
}🟢grade_target(target)
Academic letter grade with red-pen marginalia for anything. $0.01 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"target": {
"description": "Anything to grade.",
"maxLength": 6000,
"minLength": 1,
"title": "Target",
"type": "string"
}
},
"required": [
"target"
]
}🟢intel_wallet(wallet)
Unified wallet intelligence bundle. ONE call: balances on Base + Ethereum + Solana, USDC, tx counts, ENS/SNS reverse, sanctions verdict. 8-10 parallel sources. $0.005 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"wallet": {
"description": "EVM 0x… address (40 hex) or Solana base58 pubkey.",
"title": "Wallet",
"type": "string"
}
},
"required": [
"wallet"
]
}⚪investigate_wallet(address)
Agent-driven wallet due diligence — multi-step investigation, signed markdown report + JSON sidecar, dual-chain anchored. Async — returns job_id; poll /v1/investigate/status/{job_id} for the deliverable. ETA 5-10 min. $1.77 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"description": "EVM 0x... or Solana base58 address to investigate.",
"title": "Address",
"type": "string"
}
},
"required": [
"address"
]
}⚪ledger_report(wallet, from, to, direction, min_amount, ...)
Signed + dual-chain-anchored x402 expense report (markdown + CSV, async job). $0.35 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"wallet": {
"description": "EVM address (Base) whose x402 spend to reconstruct.",
"title": "Wallet",
"type": "string"
},
"from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO date or datetime, start of range. Default: 30 days before `to`.",
"title": "From"
},
"to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO date or datetime, end of range. Default: now.",
"title": "To"
},
"direction": {
"default": "outbound",
"description": "outbound = spend, inbound = revenue.",
"enum": [
"outbound",
"inbound",
"both"
],
"title": "Direction",
"type": "string"
},
"min_amount": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Minimum USDC per transfer, e.g. 0.001.",
"title": "Min Amount"
},
"group_by": {
"default": "service",
"enum": [
"service",
"recipient",
"day"
],
"title": "Group By",
"type": "string"
},
"include_unfiltered": {
"default": false,
"description": "Include non-x402 USDC transfers as category=other_transfer.",
"title": "Include Unfiltered",
"type": "boolean"
},
"format": {
"default": "both",
"description": "Which report files to produce. Default both.",
"enum": [
"markdown",
"csv",
"both"
],
"title": "Format",
"type": "string"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Report title; appears in the markdown header.",
"title": "Title"
},
"prepared_for": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional client name for the report header.",
"title": "Prepared For"
}
},
"required": [
"wallet"
]
}🟢ledger_summary(wallet, from, to, direction, min_amount, ...)
x402 spend accounting for any Base wallet — totals + per-service breakdown reconstructed from chain data. $0.01 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"wallet": {
"description": "EVM address (Base) whose x402 spend to reconstruct.",
"title": "Wallet",
"type": "string"
},
"from": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO date or datetime, start of range. Default: 30 days before `to`.",
"title": "From"
},
"to": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO date or datetime, end of range. Default: now.",
"title": "To"
},
"direction": {
"default": "outbound",
"description": "outbound = spend, inbound = revenue.",
"enum": [
"outbound",
"inbound",
"both"
],
"title": "Direction",
"type": "string"
},
"min_amount": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Minimum USDC per transfer, e.g. 0.001.",
"title": "Min Amount"
},
"group_by": {
"default": "service",
"enum": [
"service",
"recipient",
"day"
],
"title": "Group By",
"type": "string"
},
"include_unfiltered": {
"default": false,
"description": "Include non-x402 USDC transfers as category=other_transfer.",
"title": "Include Unfiltered",
"type": "boolean"
}
},
"required": [
"wallet"
]
}⚪oracle_verdict(question)
Yes/no oracle with dual-chain anchored verdict (Base + Solana). $0.05 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"question": {
"description": "A yes/no question for the oracle.",
"maxLength": 1000,
"minLength": 1,
"title": "Question",
"type": "string"
}
},
"required": [
"question"
]
}🟢parse_datetime(input, base_time, timezone)
Parse freeform datetime strings into ISO 8601 + components + relative time + confidence. $0.001 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"input": {
"description": "Freeform datetime string in any format.",
"maxLength": 500,
"minLength": 1,
"title": "Input",
"type": "string"
},
"base_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 8601 reference; defaults to now UTC.",
"title": "Base Time"
},
"timezone": {
"default": "UTC",
"description": "IANA tz name (e.g. 'America/New_York').",
"title": "Timezone",
"type": "string"
}
},
"required": [
"input"
]
}🟢resolve_name(name)
Cross-chain name resolution: ENS (.eth) and Bonfida SNS (.sol). Returns resolved address(es). 1h cache. $0.001 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"description": "Human-readable name, e.g. 'vitalik.eth' or 'bonfida.sol'. ENS (.eth) and Bonfida SNS (.sol) are supported.",
"title": "Name",
"type": "string"
}
},
"required": [
"name"
]
}🟢roast_target(target)
Witty roast of any target — wallet, tweet, idea, code, anything. $0.05 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"target": {
"description": "Anything to roast: wallet, tweet, idea, code, etc.",
"maxLength": 8000,
"minLength": 1,
"title": "Target",
"type": "string"
}
},
"required": [
"target"
]
}🔴roll_random(low, high, count, commitment, label)
Verifiable RNG — cryptographically-random integer(s) signed by the treasury key. Drop-in VRF for game studios. $0.001 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"low": {
"description": "Inclusive low bound of the integer range.",
"title": "Low",
"type": "integer"
},
"high": {
"description": "Inclusive high bound. Must be >= low.",
"title": "High",
"type": "integer"
},
"count": {
"default": 1,
"description": "How many integers to sample. 1-100.",
"maximum": 100,
"minimum": 1,
"title": "Count",
"type": "integer"
},
"commitment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional 32-byte hex pre-commitment from the caller. Included in the signed payload, so the server cannot have chosen the result after seeing the caller's downstream intent.",
"title": "Commitment"
},
"label": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional caller-defined tag (e.g. 'treasure_drop_42'). Included verbatim in the signed payload.",
"title": "Label"
}
},
"required": [
"low",
"high"
]
}🟢screen_wallet(wallet)
Wallet risk pre-flight for agent payments: OFAC SDN sanctions plus address-reputation (drainer, phishing, mixer, laundering) resolved to an allow/review/block recommendation with per-signal detail. $0.02 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"wallet": {
"description": "EVM 0x… address (40 hex) or Solana base58 pubkey.",
"title": "Wallet",
"type": "string"
}
},
"required": [
"wallet"
]
}🟢tldr_text(text, url)
Summarize a URL or pasted text into 3-5 concise bullets. $0.01 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"text": {
"anyOf": [
{
"maxLength": 200000,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Pasted text to summarize. Provide either text or url.",
"title": "Text"
},
"url": {
"anyOf": [
{
"maxLength": 2048,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "URL to fetch and summarize. Provide either text or url.",
"title": "Url"
}
}
}🟢token_price(symbol, chain, contract)
USD spot price for any major token. By symbol or chain+contract. CoinGecko-backed, 60s cache. $0.001 USDC.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Token symbol like 'ETH', 'BTC', 'SOL', 'USDC'. Mutually exclusive with chain+contract.",
"title": "Symbol"
},
"chain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Chain slug: base, ethereum, solana, polygon, arbitrum, optimism, bsc, avalanche. Use with contract.",
"title": "Chain"
},
"contract": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Token contract address. Requires chain.",
"title": "Contract"
}
}
}社群
證據