NullClear Pre-Execution Firewall & Arbiter
7-chain EVM/Solana 1-call Pre-Sign Firewall, Guarded RPC, Proxy/ABI Inspector & x402 Escrow
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"nullclear": {
"command": "npx",
"args": [
"@nullclear/mcp"
]
}
}
}可运行的软件包
1.6.0stdio远程端点
https://api.nullclear.dev/mcpstreamable-http它能做什么
工具清单
工具(14)
🟢nullclear_scan_token(address, chain)
Perform a free multi-chain (Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Solana) token security, proxy resolution, Token-2022 extension/mint/freeze authority audit, honeypot, and buy/sell tax audit (10 free calls/day/IP, zero API key; then $0.005 USDC). Returns score, verdict, recommendedAgentAction, proxy implementation, tax percentages, LP USD, and provenance block number (<400 tokens). Do NOT use for low-level 4-byte selector disassembly on non-token contracts (use nullclear_inspect_contract).
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Token or contract address (0x-prefixed 42-char EVM hex, or Base58 mint address for Solana)",
"default": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"chain": {
"type": "string",
"enum": [
"base",
"eth",
"arbitrum",
"optimism",
"polygon",
"bsc",
"solana"
],
"description": "Target blockchain network; auto-detects if address exists on an alternate supported chain",
"default": "base"
}
},
"required": [
"address"
]
}🟢nullclear_inspect_contract(address, chain)
Disassemble deployed EVM bytecode across Base, Ethereum, Arbitrum, Optimism, Polygon, or BSC to resolve EIP-1967/1822/1167/Beacon/Diamond/Safe proxies, query Sourcify v2 verified ABIs, batch-resolve PUSH4 selectors via OpenChain, and analyze control-flow opcode risks (tx.origin, mutable DELEGATECALL, unguarded SELFDESTRUCT) without an Etherscan key (10 free calls/day/IP).
输入模式
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "0x-prefixed 42-char EVM smart contract address",
"default": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"chain": {
"type": "string",
"enum": [
"base",
"eth",
"arbitrum",
"optimism",
"polygon",
"bsc"
],
"description": "Target EVM chain (default 'base')",
"default": "base"
}
},
"required": [
"address"
]
}🟢nullclear_decode_calldata(input, typedData, chain)
Decode EVM calldata (recursively unwrapping Multicall3, Uniswap Universal Router, Safe execTransaction), EIP-712 typed-data signatures (Permit, Permit2, Seaport), Solana wire transactions (Base64/Base58), custom Solidity revert bytes, or mined tx hashes with verified-router spender trust classification (10 free calls/day/IP).
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "0x-prefixed hex calldata/revert bytes, 66-char tx hash, or Base64/Base58 Solana transaction"
},
"typedData": {
"type": "object",
"description": "Optional EIP-712 typedData JSON (Permit, Permit2, Seaport, SafeTx)"
},
"chain": {
"type": "string",
"enum": [
"base",
"eth",
"arbitrum",
"optimism",
"polygon",
"bsc",
"solana"
],
"description": "Target network (default 'base')",
"default": "base"
}
}
}🟢nullclear_simulate_transaction(chain, from, to, data, value, ...)
Execute stateful pre-flight simulation across EVM (eth_simulateV1 with stateOverrides, multi-tx bundles, and Transfer/Approval net asset diffs; fallback eth_call + eth_estimateGas) and Solana (simulateTransaction + wire instruction audit) BEFORE signing (10 free calls/day/IP).
输入模式
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"base",
"eth",
"arbitrum",
"optimism",
"polygon",
"bsc",
"solana"
],
"description": "Target network (default 'base')",
"default": "base"
},
"from": {
"type": "string",
"description": "Sender 0x EVM address"
},
"to": {
"type": "string",
"description": "Destination 0x smart contract address (required for single EVM call)"
},
"data": {
"type": "string",
"description": "0x-prefixed hex calldata payload",
"default": "0x"
},
"value": {
"type": "string",
"description": "Native wei amount as hex ('0x0') or decimal string",
"default": "0x0"
},
"transactions": {
"type": "array",
"description": "Optional ordered multi-tx EVM bundle [{ to, data, value }]"
},
"stateOverrides": {
"type": "object",
"description": "Optional EVM stateOverrides map"
},
"transaction": {
"type": "string",
"description": "Base64/Base58 serialized Solana transaction when chain='solana'"
}
}
}🟢nullclear_read_markdown(url)
Fetch and convert any public web documentation URL or HTML article into clean, stripped Markdown (<400 tokens) with a SHA-256 content hash. Use this when reading documentation, blog posts, or web pages while minimizing context-window noise (10 free calls/day/IP). Returns markdown body and provenance hash. Do NOT use for JSON REST APIs or schema-enforced x402 data endpoints needing LLM-refusal/5xx protection (use nullclear_fetch_guarded or nullclear_execute_escrow).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public HTTPS webpage or documentation URL to extract into clean Markdown"
}
},
"required": [
"url"
]
}🟢nullclear_preflight_guard(chain, from, to, data, value, ...)
All-in-one 1-call Pre-Sign Firewall across Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, and Solana (10 free calls/day/IP). In one pass, recursively unwraps Multicall3/Uniswap Universal Router/Safe calldata or EIP-712 Permits or Solana wire txs, runs stateful eth_simulateV1 / Solana simulateTransaction with asset balance diffs, and automatically scans all touched token contracts for honeypots, taxes, and Token-2022 permanent delegates. Returns one deterministic recommendedAgentAction (EXECUTE_SAFE / CAUTION_HIGH_RISK / ABORT_*).
输入模式
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"base",
"eth",
"arbitrum",
"optimism",
"polygon",
"bsc",
"solana"
],
"description": "Target network (default 'base')",
"default": "base"
},
"from": {
"type": "string",
"description": "Sender 0x EVM address"
},
"to": {
"type": "string",
"description": "Target contract 0x address or Solana mint"
},
"data": {
"type": "string",
"description": "0x-prefixed EVM calldata"
},
"value": {
"type": "string",
"description": "Native wei amount ('0x0')"
},
"transactions": {
"type": "array",
"description": "Optional ordered multi-tx bundle [{ to, data, value }]"
},
"stateOverrides": {
"type": "object",
"description": "Optional EVM eth_simulateV1/eth_call stateOverrides map"
},
"typedData": {
"type": "object",
"description": "Optional EIP-712 typedData object (Permit, Permit2, Seaport, SafeTx) to audit before signing"
},
"transaction": {
"type": "string",
"description": "Optional Base64/Base58 serialized Solana transaction to decode and simulate"
}
}
}🟢nullclear_discover_apis(query, category, minUptime, maxLatencyMs, verifiedOnly)
Search NullClear's audited x402 and ERC-8004 endpoint directory by keyword, category, minimum uptime, and maximum latency. Use this before paying external x402 sellers to find reliable APIs and retrieve their NullClear Zero-Loss Proxy URL (`https://api.nullclear.dev/https://...`). Returns matched endpoints with priceAtomic, uptimeScore, latencyMs, and proxy URL. Do NOT use to execute a call (pass the returned URL to nullclear_execute_escrow).
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Keyword filter matching endpoint URL or description (e.g. 'oracle', 'security', 'token', 'wallet')"
},
"category": {
"type": "string",
"description": "Exact category filter ('oracle', 'security', 'data', or 'ai')"
},
"minUptime": {
"type": "number",
"description": "Minimum rolling uptime percentage threshold from 0 to 100 (default 95)",
"default": 95
},
"maxLatencyMs": {
"type": "number",
"description": "Maximum acceptable edge round-trip latency in milliseconds (default 2000)",
"default": 2000
},
"verifiedOnly": {
"type": "boolean",
"description": "When true, filter exclusively to canary-verified HTTP 402 endpoints (default true)",
"default": true
}
}
}🟢nullclear_audit_paid_token(tokenAddress)
Run NullClear's x402 Bazaar paid oracle for Base Mainnet (8453) ERC-20 tokens returning a cryptographically signed clearing receipt (10 free trial calls/day, then $0.005 USDC). Use this ONLY when you specifically require a Base Bazaar EIP-712/keccak256 settlement receipt alongside token LP and bytecode verification. For free (10/day) multi-chain Base/ETH/Solana token & proxy scanning, use nullclear_scan_token instead.
输入模式
{
"type": "object",
"properties": {
"tokenAddress": {
"type": "string",
"description": "0x-prefixed Base Mainnet (chain 8453) ERC-20 token contract address",
"default": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
},
"required": [
"tokenAddress"
]
}🟢nullclear_score_wallet(walletAddress, chainId)
Profile a raw 0x EVM wallet address on Base Mainnet (8453) for OFAC sanctions exposure, on-chain counterparty wash-trade concentration, ETH/USDC balances, transaction count, and ERC-8004 ownership (10 free trials/day, then $0.005 USDC). Returns riskScore (0-100), riskLevel, and ERC-8004 registration status. Do NOT pass a numeric ERC-8004 agent ID here — use nullclear_check_reputation for numeric agentId trust audits.
输入模式
{
"type": "object",
"properties": {
"walletAddress": {
"type": "string",
"description": "0x-prefixed 42-char EVM wallet address on Base Mainnet to screen"
},
"chainId": {
"type": "number",
"description": "EVM chain ID (default 8453 for Base Mainnet)",
"default": 8453
}
},
"required": [
"walletAddress"
]
}🟢nullclear_fetch_spot_price(pair)
Query cross-exchange spot prices (Coinbase + Binance) for major crypto pairs with deterministic positive-price invariant verification and signed attestation (10 free trials/day, then $0.01 USDC). Returns priceUsd, source, invariantCheck ('PASSED'), and execution receipt. Use this whenever a verified non-hallucinated crypto spot price feed is needed.
输入模式
{
"type": "object",
"properties": {
"pair": {
"type": "string",
"description": "Asset ticker or pair such as 'ETH/USDC', 'BTC/USDC', 'SOL/USDC', or 'ETH-USD'",
"default": "ETH/USDC"
}
},
"required": [
"pair"
]
}🟢nullclear_fetch_guarded(url, method, body)
Execute a zero-schema Auto-Guarded HTTP GET/POST request through NullClear's firewall against HTTP 5xx crashes, empty JSON bodies, Cloudflare/soft-paywall traps, and LLM refusal strings (10 free trials/day, then $0.005 USDC via Bazaar). Returns verified payload and executionReceipt, or voids settlement on failure. Do NOT use for plain HTML docs-to-Markdown conversion (use nullclear_read_markdown) or when custom JSON Schema/invariants/failover are needed (use nullclear_execute_escrow).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Public HTTPS API or data endpoint URL to fetch with automatic crash, paywall, and refusal guards"
},
"method": {
"type": "string",
"enum": [
"GET",
"POST"
],
"description": "HTTP method ('GET' or 'POST', default 'GET')",
"default": "GET"
},
"body": {
"type": "string",
"description": "Optional serialized JSON request body string for POST requests"
}
},
"required": [
"url"
]
}🟢nullclear_execute_escrow(targetUrl, method, sellerAgentId, minTrustScore, requiredFields, ...)
Execute a paid x402 API request protected by NullClear deferred non-custodial EIP-3009 escrow, custom JSON Schema/value invariants, multi-seller failover routing, and outbound spend caps (10 free trials/day, then requires configured wallet key). Settles upstream payment ONLY when all schema, numeric, staleness, and refusal checks pass; otherwise voids authorization ($0 lost). Use this instead of nullclear_fetch_guarded whenever calling third-party x402 paid APIs with strict output contracts or fallback sellers.
输入模式
{
"type": "object",
"properties": {
"targetUrl": {
"type": "string",
"description": "Primary upstream HTTPS endpoint demanding HTTP 402 payment"
},
"method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"DELETE"
],
"description": "HTTP method for upstream call",
"default": "GET"
},
"sellerAgentId": {
"type": "string",
"description": "ERC-8004 seller agent ID for pre-flight trust and Sybil gating"
},
"minTrustScore": {
"type": "number",
"description": "Minimum seller trust score (0-100, default 50)",
"default": 50
},
"requiredFields": {
"type": "array",
"items": {
"type": "string"
},
"description": "Dot-notation field paths that must exist in upstream JSON"
},
"jsonSchema": {
"type": "object",
"description": "JSON Schema Draft-07 object that upstream JSON must strictly satisfy"
},
"invariants": {
"type": "array",
"description": "Field-level semantic invariants (numeric bounds, regex, forbidden substrings, timestamp freshness)",
"items": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Dot-notation JSON property path"
},
"gt": {
"type": "number"
},
"gte": {
"type": "number"
},
"lt": {
"type": "number"
},
"lte": {
"type": "number"
},
"eq": {},
"neq": {},
"minLength": {
"type": "number"
},
"maxLength": {
"type": "number"
},
"pattern": {
"type": "string"
},
"notContains": {
"type": "array",
"items": {
"type": "string"
}
},
"maxStalenessSeconds": {
"type": "number"
}
}
}
},
"rejectRefusals": {
"type": "boolean",
"description": "Void settlement if response contains canonical LLM refusal strings (default true)",
"default": true
},
"fallbacks": {
"type": "array",
"description": "Up to 3 ordered backup seller objects ({ targetUrl, sellerAgentId, paymentSignatureHeader }) for automatic failover",
"items": {
"type": "object"
}
},
"spendPolicy": {
"type": "object",
"description": "Outbound spend firewall caps ({ maxPerCallAtomic, maxDailyWalletAtomic })"
}
},
"required": [
"targetUrl"
]
}🟢nullclear_check_reputation(agentId, chainId)
Retrieve an ERC-8004 registered agent's composite trust score (0-100), letter grade (A-F), historical clearing count, and Sybil wash-trading penalty flags by numeric agentId. Returns arbiter-signed reputation metrics and sybilFlags. Use this ONLY for registered ERC-8004 agent IDs (e.g. '124595'); for raw 0x wallet address OFAC/balance profiling use nullclear_score_wallet, and for legal corporate liability limits use nullclear_verify_mandate.
输入模式
{
"type": "object",
"properties": {
"agentId": {
"type": "string",
"description": "Registered numeric ERC-8004 agent token ID (e.g. '124595')"
},
"chainId": {
"type": "number",
"description": "Target EVM chain ID (8453 for Base Mainnet, 84532 for Base Sepolia)",
"default": 8453
}
},
"required": [
"agentId"
]
}🟢nullclear_verify_mandate(agentId, chainId, transactionAmountUsd)
Verify an autonomous agent's Know Your Agent (KYA) EIP-712 corporate liability mandate, jurisdiction, expiration status, and whether a proposed USD transaction amount complies with corporate per-transaction caps. Returns approved boolean, corporateEntity, liabilityCoverageUsd, maxTxLimitUsd, and expiration/limit flags. Use this specifically for corporate authorization checks — not for on-chain Sybil scoring (use nullclear_check_reputation).
输入模式
{
"type": "object",
"properties": {
"agentId": {
"type": "string",
"description": "Registered numeric ERC-8004 agent token ID bound to a KYA mandate"
},
"chainId": {
"type": "number",
"description": "EVM chain ID (default 8453 for Base Mainnet)",
"default": 8453
},
"transactionAmountUsd": {
"type": "number",
"description": "Proposed transaction size in USD to validate against the mandate limit"
}
},
"required": [
"agentId",
"transactionAmountUsd"
]
}社区
证据