{"status":"active","name":"nullclear-mcp","version":"1.6.0","protocolVersion":"2024-11-05","description":"NullClear 7-Chain Pre-Execution Firewall, Guarded RPC & x402 MCP Remote Server (10 free calls/day, zero API key)","endpoint":"https://api.nullclear.dev/mcp","transport":"streamable-http","freeTierDailyCalls":10,"tools":[{"name":"nullclear_scan_token","description":"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).","annotations":{"title":"7-Chain Token Security, Token-2022 & Proxy Scanner (Free)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["address"],"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"}}}},{"name":"nullclear_inspect_contract","description":"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).","annotations":{"title":"EVM Proxy, Sourcify ABI & Bytecode Inspector (Free)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["address"],"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"}}}},{"name":"nullclear_decode_calldata","description":"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).","annotations":{"title":"Recursive Calldata, EIP-712, Solana Wire & Revert Decoder (Free)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"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"}}}},{"name":"nullclear_simulate_transaction","description":"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).","annotations":{"title":"Stateful EVM & Solana Pre-Flight Simulator (Free)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"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'"}}}},{"name":"nullclear_read_markdown","description":"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).","annotations":{"title":"HTML Documentation to Clean Markdown Reader (Free)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public HTTPS webpage or documentation URL to extract into clean Markdown"}}}},{"name":"nullclear_preflight_guard","description":"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_*).","annotations":{"title":"1-Call Multi-Chain Pre-Sign Firewall (Free)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"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"}}}},{"name":"nullclear_discover_apis","description":"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).","annotations":{"title":"Search Audited x402 & ERC-8004 API Directory","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"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}}}},{"name":"nullclear_audit_paid_token","description":"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.","annotations":{"title":"Base Token x402 Bazaar Attested Audit ($0.005)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["tokenAddress"],"properties":{"tokenAddress":{"type":"string","description":"0x-prefixed Base Mainnet (chain 8453) ERC-20 token contract address","default":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}}},{"name":"nullclear_score_wallet","description":"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.","annotations":{"title":"0x Wallet Address Sanctions & Sybil Profiler ($0.005)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["walletAddress"],"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}}}},{"name":"nullclear_fetch_spot_price","description":"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.","annotations":{"title":"Spread-Verified Crypto Spot Price Oracle ($0.01)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["pair"],"properties":{"pair":{"type":"string","description":"Asset ticker or pair such as 'ETH/USDC', 'BTC/USDC', 'SOL/USDC', or 'ETH-USD'","default":"ETH/USDC"}}}},{"name":"nullclear_fetch_guarded","description":"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).","annotations":{"title":"Auto-Guarded JSON/API Safe HTTP Fetch ($0.005)","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["url"],"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"}}}},{"name":"nullclear_execute_escrow","description":"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.","annotations":{"title":"Deferred x402 Escrow Call with Schema & Failover","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"inputSchema":{"type":"object","required":["targetUrl"],"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 })"}}}},{"name":"nullclear_check_reputation","description":"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.","annotations":{"title":"Check ERC-8004 AgentId Trust & Sybil Score","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["agentId"],"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}}}},{"name":"nullclear_verify_mandate","description":"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).","annotations":{"title":"Verify Corporate KYA Liability Mandate & Caps","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":true},"inputSchema":{"type":"object","required":["agentId","transactionAmountUsd"],"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"}}}}],"prompts":[{"name":"safe-x402-payment","description":"Generate safety invariants and schema-escrow directives for an autonomous agent paying an upstream x402 seller.","arguments":[{"name":"targetUrl","description":"Upstream API endpoint demanding x402 payment","required":true},{"name":"sellerAgentId","description":"Seller's ERC-8004 agent token ID to verify reputation","required":false},{"name":"maxSpendAtomic","description":"Maximum atomic USDC units authorized (default: 10000 = $0.01 USDC)","required":false}]},{"name":"audit-erc8004-agent","description":"Conduct an end-to-end trust audit on an ERC-8004 agent on Base including Sybil risk and corporate KYA backing.","arguments":[{"name":"agentId","description":"ERC-8004 agent token ID (e.g. '124595')","required":true},{"name":"chainId","description":"Base chain ID (default: 8453)","required":false}]}],"resources":[{"uri":"nullclear://stats/live","name":"NullClear Live Protocol Telemetry","mimeType":"application/json","description":"Live protocol metrics: total clearings, verified settlements, voided hallucinations, and indexed agents"},{"uri":"nullclear://docs/quickstart","name":"NullClear Quickstart Guide","mimeType":"text/markdown","description":"Zero-loss x402 deferred schema escrow guide for autonomous AI agents on Base Mainnet"}],"_nullclear":{"verified":true,"escrowProtection":"zero-loss-eip3009","freeTrialRemaining":9,"quickProxyPrefix":"https://api.nullclear.dev/https://...","mcpEndpoint":"https://api.nullclear.dev/mcp"}}