7702-sweeper-check
This MCP server lets AI agents check EVM addresses for EIP-7702 delegations across eight chains and learn how to buy a detailed paid sweeper report.
Run
check_7702_delegation(address)to perform a free, read-only EIP-7702 delegation check on Ethereum, Base, BNB Chain, Arbitrum One, OP Mainnet, Polygon PoS, Gnosis, and Unichain.Get per-chain results including account kind, delegation status, delegate contract, nonce, and RPC errors, plus which chains have delegations and the paid report URL/price.
Use it before sending funds to a wallet, reusing a wallet, investigating odd wallet behavior, or during incident response; it does not judge whether the delegate is malicious.
Run
full_report_info()to get the paid report endpoint, price, payment method, network, asset, protocol, max addresses, and docs without calling the API or paying/signing.The optional full report analyzes delegates with bytecode heuristics, source verification, risk level, and advice; it supports 1–20 addresses for 0.01 USDC on Base via x402.
The free check never asks for private keys or seed phrases and requires no payment.
Checks BNB Chain accounts for EIP-7702 delegations and potential sweeper contracts by reading account code and nonce, and can provide a paid report with delegate bytecode heuristics and risk guidance.
Checks Ethereum accounts for EIP-7702 delegations and potential sweeper contracts by reading account code and nonce, and can provide a paid report with delegate bytecode heuristics and risk guidance.
Checks Polygon accounts for EIP-7702 delegations and potential sweeper contracts by reading account code and nonce, and can provide a paid report with delegate bytecode heuristics and risk guidance.
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., "@7702-sweeper-check does 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 have an EIP-7702 delegation?"
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.
7702 Sweeper Check
Does your EVM wallet have an EIP-7702 delegation you didn't set?
Since Ethereum's Pectra upgrade, one signature can attach contract code to an ordinary wallet (EIP-7702). Smart-wallet upgrades use this legitimately. Drainers use it to install sweepers: tiny contracts that forward anything sent to your wallet straight to the attacker.
This project checks 8 chains at once: Ethereum, Base, BNB Chain, Arbitrum, OP, Polygon, Gnosis and Unichain.
Web (free): https://sweeper-check.nextill-pos.workers.dev
CLI (free):
npx devx-7702-check 0xYourAddressMCP server for AI agents (free): remote
https://sweeper-check.nextill-pos.workers.dev/mcp, or localnpx devx-7702-check mcpJSON API (free):
GET /api/basic?address=0x...Full report (paid, 0.01 USDC on Base via x402):
GET /v1/check?address=0x..[,0x..], 1–20 addresses per call. It adds:a delegate bytecode heuristic (a small contract with a hard-coded forwarding address = the sweeper shape);
source-verification status (Sourcify / Blockscout);
a risk level and what to do. You're charged only after the report is produced. Humans can pay with a browser wallet on the web page: you sign one USDC authorization and pay no gas.
Read-only. It never asks for or touches private keys or seed phrases.
How detection works
A 7702-delegated account's code is exactly 0xef0100 ‖ <20-byte delegate address>. The free check reads eth_getCode and the nonce on each chain. The paid report then fetches the delegate's bytecode and walks the opcodes (skipping PUSH data):
PUSH20constants other than your own address and the ERC-4337 EntryPoints, combined withCALL, in a contract under 1.2 KB → high (sweeper pattern).SELFBALANCE+CALL+ a hard-coded address → medium.Verified source or ERC-4337 smart-account shape → low.
Otherwise → medium/unknown.
These are heuristics, not guarantees. If a delegation you didn't create shows up, treat the key as compromised and move funds to a new wallet made on a clean device. Re-delegating to 0x0 doesn't help if an attacker holds the key.
Related MCP server: wallet-portfolio
CLI
npx devx-7702-check 0xabc... 0xdef... # exit code 0 = none, 2 = delegation found, 1 = error
npx devx-7702-check 0xabc... --jsonMCP
Claude Desktop / Cursor config:
{ "mcpServers": { "7702-sweeper-check": { "url": "https://sweeper-check.nextill-pos.workers.dev/mcp" } } }or stdio: { "command": "npx", "args": ["-y", "devx-7702-check", "mcp"] }
Tools: check_7702_delegation(address), full_report_info().
x402 (agents)
GET /v1/check?address=... returns 402 with a PAYMENT-REQUIRED header (x402 v2, scheme exact, network eip155:8453, USDC 0x8335…2913, amount 10000 = 0.01 USDC). Pay with any x402 client. Discovery: /.well-known/x402.json, /openapi.json. Terms: /terms.
Layout
worker/: Cloudflare Worker source (page, free API, x402 paid route, remote MCP)cli/: the npm packagedevx-7702-check(CLI + stdio MCP server)
Made by DevX. MIT.
Guide
Related free tool: Crypto Link Check — is that wallet or exchange link real?
Related free tool: Address Poisoning Check — is the address you are about to pay a poisoned lookalike?
Available Tools
2 toolscheck_7702_delegationCheck an EVM address for EIP-7702 delegationsARead-onlyIdempotentInspect
Checks whether an EVM address has an EIP-7702 delegation set on Ethereum, Base, BNB Chain, Arbitrum One, OP Mainnet, Polygon PoS, Gnosis and Unichain, and returns the delegate contract per chain. Use it before sending funds to a wallet or reusing one, when a wallet behaves oddly (incoming funds vanish), or when an incident-response flow needs to know if a key was abused to install a sweeper. It is free and read-only. It sends the address to the hosted DevX API (https://sweeper-check.nextill-pos.workers.dev/api/basic), which reads each chain's account code and nonce over public RPC. No keys, no signatures, no payment. Returns: address, checked_at, delegated_on (chain keys where a delegation is set; empty means none found), and chains (one row per chain with kind eoa, eoa_delegated_7702 or contract, delegated, delegate, nonce, or error if that chain's RPC was unavailable), plus the URL and price of the paid full report. A delegation is normal when the owner upgraded to a smart wallet on purpose (MetaMask, Coinbase, Ambire and others). This tool does not judge whether the delegate is malicious. full_report_info describes the paid report that does (bytecode heuristics, source verification, risk level, advice).
Inputs: address (required). Returns: chains, address, checked_at, full_report, +2 more
full_report_infoHow to buy the full sweeper reportARead-onlyIdempotentInspect
Returns the endpoint, price and payment method of the optional paid sweeper report. It does not call the API and does not pay or sign anything. The paid report analyses each delegate found: bytecode heuristics for sweeper/drainer patterns, source verification, an overall risk level and plain-language advice. It accepts 1-20 addresses per call for 0.01 USDC on Base via x402. Use it after check_7702_delegation reports a delegation that the owner did not set up knowingly. If delegated_on is empty, the paid report adds little. Returns: method, url_template, price_usdc, network, asset, protocol, max_addresses, settles and docs.
Inputs: no named parameters. Returns: docs, asset, method, network, +5 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly separate purposes: one performs the read-only delegation lookup, the other only returns static metadata about the paid report. Descriptions explicitly state that full_report_info does not call the API, removing any risk of misselection.
check_7702_delegation follows a clean verb_noun pattern, while full_report_info is a noun-style metadata name. The deviation is minor and both names remain self-explanatory.
Two tools is thin even for a narrow domain, and half of the surface is a static info stub rather than an operation. The scope is genuinely small, but a single check plus a brochure tool leaves the set feeling minimal.
The core free check is fully covered, but the advertised paid report is only reachable by hand-building an x402 request from url_template — no tool actually fetches it, which is a notable dead end. For a pure checker, the free path is complete and the paid path is not.
Maintenance
Related MCP Connectors
Smart-contract risk reports for AI agents on 20 EVM chains, paid per call via x402 ($0.02 USDC).
Solana address risk grades and token scans for AI agents. Pay-per-call via x402 (USDC on Base).
Token rug-risk scans, Know Your Agent wallet checks and deployer reputation for AI agents.
Paid read-only reports for 1–5 EVM addresses across four networks; 0.02 supported stablecoin direct.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to fetch live multi-chain portfolio, token info, gas prices, and token prices across Ethereum, Base, Polygon, Arbitrum, and Optimism with a single call. No API key required.4MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to fetch crypto wallet holdings across chains, including ETH, ERC-20 tokens, and USD values, with pay-per-call access via x402 micropayments.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to assess the risk of crypto wallets, tokens, and smart contracts by providing read-only on-chain analysis, 0-100 risk scoring with explanations, fund tracing, and contract inspection before interaction.6MIT
- AlicenseNot gradedqualityBmaintenanceEnables read-only cross-chain snapshot reports for 1–5 public EVM addresses on Ethereum, Base, Arbitrum One, and Polygon, including block numbers, EIP-7702 delegation indicators, contract-code sizes, fingerprints, and explorer links. It also supports obtaining live payment quotes in native USDC on Base and submitting a paid report request after user payment and signature, without moving funds or accessing private keys.MIT