BlockchainAnalysis token safety
Before your agent buys, swaps into, or approves an ERC-20 it has not vetted, check the token contract. This catches the traps that drain a wallet on the next action, not the current one:
- Honeypots — you can buy but the sell reverts; funds are stuck.
- Extreme transfer taxes — a large cut is taken on buy/sell.
- Name / symbol impersonation — a fake "USDC" or "WETH".
- Active mint authority — supply can be inflated after you buy.
Setup (one time)
claude mcp add --transport http blockchainanalysis https://blockchainanalysis.io/api/mcpAny Agent Skills / MCP-compatible tool (Codex, Cursor, Gemini CLI, …) can use the
same endpoint: https://blockchainanalysis.io/api/mcp. These tools are FREE — no
account, no API key, no payment.
When to run
- Before buying or swapping into an ERC-20 you have not vetted.
- Before signing an approval for a token contract.
- Whenever a user asks "is this token safe / is this a honeypot?".
The checks
check_token_security{ token, chain }— FREE. Simulates a buy-and-sell on the token's main DEXes (no transaction sent) and reports observed facts: honeypot, transfer tax, name/symbol impersonation, active mint authority, cross-referenced against 1B+ entity labels. Supported chains:BASE,BSC,ETH,OPTIMISM,POLYGON,ARBITRUM.- Sell simulation reverted → honeypot, do not buy.
- Extreme tax / active mint authority → surface to a human before proceeding.
check_token_approvals{ wallet }— FREE, Ethereum only. Lists a wallet's active ERC-20 approvals and who can move its funds, risk-scored against entity labels (scam / phishing / exploit / sanctioned spenders), flagging unlimited allowances and stale grants. Run it to audit the wallet you are about to transact from, and revoke risky approvals first.
Interpreting results
- These tools report observed facts (e.g. "sell simulation reverted"), not a verdict. Treat a reverted sell or an impersonated name as a hard stop.
- A clean result is not a guarantee the token is a good investment — it only means the specific traps above were not detected at check time.
Related
For screening the counterparty wallet (sanctions / AML / stablecoin freeze)
before moving funds, use the blockchainanalysis-compliance-gate skill.