# NullClear Pre-Execution Firewall & Arbiter

> 7-chain EVM/Solana 1-call Pre-Sign Firewall, Guarded RPC, Proxy/ABI Inspector & x402 Escrow

- name: io.github.Nullclear-Protocol/nullclear
- version: 1.6.0
- connection class: R0 (autonomous)
- trust: 97/100
- quality: 80/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.Nullclear-Protocol%2Fnullclear
- tools: https://api.protogrid.dev/v1/servers/io.github.Nullclear-Protocol%2Fnullclear/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "nullclear": {
      "type": "http",
      "url": "https://api.nullclear.dev/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 99
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-98% +updated-10d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 80/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2024-11-05; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 14 of 14 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 3,996 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool, prompt or resource definitions
- pass `tools.poisoning`: no instructions aimed at the model in tool, prompt or resource definitions

### stability: 50 (weight 15)

- warn `stability.changes`: 40 tool changes in 30 days
- fail `stability.rug_pull`: 3 tools kept their name but changed most of their description in 30 days; review before trusting them
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: deps.dev does not know @nullclear/mcp@1.6.0

- tools: 14, about 3,996 tokens to load them all
- tool set hash: f3f07004f932f8b565e7b53f7f1f6ca8
- tools last changed: 2026-11-19T13:52:59.284Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.Nullclear-Protocol/nullclear.svg)](https://protogrid.dev/servers/io.github.Nullclear-Protocol/nullclear)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-19 `nullclear_audit_paid_token` changed (description)
  - before: 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 (100/day) multi-chain Base/ETH/Solana token & proxy scanning, use nullclear_scan_token instead.
  - after: 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.
- 2026-11-19 `nullclear_preflight_guard` changed (description)
  - before: All-in-one 1-call Pre-Sign Firewall across Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, and Solana (100 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_*).
  - after: 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_*).
- 2026-11-19 `nullclear_read_markdown` changed (description)
  - before: 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 (100 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).
  - after: 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).
- 2026-11-19 `nullclear_simulate_transaction` changed (description)
  - before: 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 (100 free calls/day/IP).
  - after: 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).
- 2026-11-19 `nullclear_decode_calldata` changed (description)
  - before: 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 (100 free calls/day/IP).
  - after: 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).
- 2026-11-19 `nullclear_inspect_contract` changed (description)
  - before: 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 (100 free calls/day/IP).
  - after: 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).
- 2026-11-19 `nullclear_scan_token` changed (description)
  - before: 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 (100 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).
  - after: 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).
- 2026-11-19 `nullclear_preflight_guard` added
  - All-in-one 1-call Pre-Sign Firewall across Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, and Solana (100 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_*).
- 2026-11-19 `nullclear_simulate_transaction` changed (description, inputSchema, annotations) **meaning changed**
  - before: Execute a live eth_call and eth_estimateGas dry-run on Base or Ethereum BEFORE signing or broadcasting an unsigned transaction. Use this immediately before wallet execution when you have target `to` + `data` and need to confirm whether the call will succeed, estimate gas, and verify allowance safety (100 free calls/day/IP). Returns simulation success, gas estimate, decoded revert reason if any, and recommendedAgentAction. Do NOT use for standalone hex bytes without `to` or past mined tx hashes (use nullclear_decode_calldata).
  - after: 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 (100 free calls/day/IP).
- 2026-11-19 `nullclear_decode_calldata` changed (description, inputSchema, annotations) **meaning changed**
  - before: Decode existing hex calldata, custom Solidity revert bytes, or a mined transaction hash to explain historical failures and flag malicious approvals. Use this AFTER a transaction failed or when auditing opaque 0x calldata bytes before signing (100 free calls/day/IP). Returns decoded 4-byte function signature, argument breakdown, revert reason, and approval-drainer warnings. Do NOT use to dry-run an unsigned transaction against live chain state (use nullclear_simulate_transaction instead).
  - after: 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 (100 free calls/day/IP).

Full history: https://api.protogrid.dev/v1/servers/io.github.Nullclear-Protocol%2Fnullclear/changes

## Dependencies

- npm @nullclear/mcp@1.6.0: unknown

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://api.nullclear.dev/mcp (streamable-http, auth none, reachable true, uptime30d 0.9807692)

## Packages

- npm @nullclear/mcp@1.6.0

## Tools (14)

- `nullclear_audit_paid_token`: 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.
- `nullclear_check_reputation`: 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.
- `nullclear_decode_calldata`: 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).
- `nullclear_discover_apis`: 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).
- `nullclear_execute_escrow`: 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.
- `nullclear_fetch_guarded`: 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).
- `nullclear_fetch_spot_price`: 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.
- `nullclear_inspect_contract`: 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).
- `nullclear_preflight_guard`: 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_*).
- `nullclear_read_markdown`: 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).
- `nullclear_scan_token`: 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).
- `nullclear_score_wallet`: 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.
- `nullclear_simulate_transaction`: 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).
- `nullclear_verify_mandate`: 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).

## Prompts and resources

### Prompts (2)

- `` audit-erc8004-agent ``: Conduct an end-to-end trust audit on an ERC-8004 agent on Base including Sybil risk and corporate KYA backing.
- `` safe-x402-payment ``: Generate safety invariants and schema-escrow directives for an autonomous agent paying an upstream x402 seller.

### Resources (2)

- `` nullclear://docs/quickstart ``: Zero-loss x402 deferred schema escrow guide for autonomous AI agents on Base Mainnet
- `` nullclear://stats/live ``: Live protocol metrics: total clearings, verified settlements, voided hallucinations, and indexed agents
