web3-agent-skills
Provides tools to audit EVM wallets, ERC-20 token metadata and spender allowances, contract bytecode/proxy safety, and live network/gas telemetry on Ethereum via public RPC.
Provides tools to audit EVM wallets, ERC-20 token metadata and spender allowances, contract bytecode/proxy safety, and live network/gas telemetry on Optimism via public RPC.
Provides tools to audit EVM wallets, ERC-20 token metadata and spender allowances, contract bytecode/proxy safety, and live network/gas telemetry on Polygon via public RPC.
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., "@web3-agent-skills audit wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on ethereum"
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.
web3-agent-skills
Open-standard Agent Skills (SKILL.md) + zero-dependency MCP Server & CLI for EVM & Injective Web3 workflows — built for Claude Code, Cursor, Gemini CLI, and Antigravity.
Zero external
pipdependencies. Runs purely on Python 3.9+ standard library (urllib,json,argparse,unittest) with public RPC presets for Ethereum, Base, Arbitrum, Optimism, Polygon, and Injective.
Why web3-agent-skills?
Open-Standard
SKILL.mdPack: Drop-in Agent Skills following the cross-clientSKILL.mdYAML frontmatter spec.Bundled MCP Server (
--mcp): SpeaksMCP 2024-11-05JSON-RPC 2.0 overstdio— works out of the box with Claude Code, Cursor, Gemini CLI, and Antigravity.Read-Only Security First: Never asks for seed phrases or private keys. Audits wallets, ERC-20 tokens, spender allowances, ERC-1967 proxies, and on-chain telemetry safely.
Multi-Chain Ready: Built-in public RPC aliases (
ethereum,base,arbitrum,optimism,polygon,injective-evm) plus Injective Cosmos LCD REST support.
Related MCP server: astra
Included Agent Skills & MCP Tools
Skill | Purpose | MCP Tools |
Audit native ETH balance, nonce, EOA vs Contract status, and live gas telemetry |
| |
Inspect ERC-20 metadata, supply, and flag |
| |
Verify deployed bytecode size and ERC-1967 upgradeable proxy implementation slots |
| |
Query live Injective Mainnet block height, chain ID, and |
|
1-Line Install (Skills + Local MCP Runner)
Installs all 4 SKILL.md packages into ~/.claude/skills, ~/.cursor/skills, ~/.gemini/skills, and ~/.gemini/antigravity/skills, and stages the zero-dependency MCP server in ~/.web3-agent-skills:
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/Darkshanu/web3-agent-skills/main/install.sh | bashWindows (PowerShell)
irm https://raw.githubusercontent.com/Darkshanu/web3-agent-skills/main/install.ps1 | iexgit clone https://github.com/Darkshanu/web3-agent-skills.git
cd web3-agent-skills
bash install.sh # macOS / Linux
# or: powershell -ExecutionPolicy Bypass -File install.ps1 # WindowsMCP JSON Config Examples
Add web3-agent-skills to your AI coding agent's MCP config (replace /ABS/PATH/TO/web3-agent-skills with ~/.web3-agent-skills or your clone path):
Claude Code (.mcp.json or CLI)
claude mcp add web3-agent-skills -- python /ABS/PATH/TO/web3-agent-skills/cli.py --mcp{
"mcpServers": {
"web3-agent-skills": {
"command": "python",
"args": ["/ABS/PATH/TO/web3-agent-skills/cli.py", "--mcp"],
"env": {
"WEB3_RPC_URL": "https://ethereum-rpc.publicnode.com",
"INJECTIVE_LCD_URL": "https://sentry.lcd.injective.network"
}
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"web3-agent-skills": {
"command": "python",
"args": ["/ABS/PATH/TO/web3-agent-skills/cli.py", "--mcp"]
}
}
}Gemini CLI (~/.gemini/settings.json) & Antigravity (~/.gemini/antigravity/mcp_config.json)
{
"mcpServers": {
"web3-agent-skills": {
"command": "python3",
"args": ["/ABS/PATH/TO/web3-agent-skills/cli.py", "--mcp"]
}
}
}Direct CLI Usage & Demo Output
# 1. Audit an EVM wallet
python cli.py wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --rpc ethereum
# 2. Check ERC-20 token metadata & ERC-1967 proxy status
python cli.py token 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 --rpc ethereum
# 3. Audit an ERC-20 spender allowance (detects UNLIMITED / HIGH / ELEVATED risk)
python cli.py allowance \
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 \
0x000000000022D473030F116dDEE9F6B43aC78BA3
# 4. Check contract bytecode & proxy implementation slot
python cli.py contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
# 5. Live EVM chain ID, block number & gas price (supports ethereum, base, arbitrum, optimism, polygon, injective-evm)
python cli.py network --rpc base
# 6. Live Injective Mainnet telemetry & optional inj1... bank balances
python cli.py injective --address inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49{
"token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"symbol": "USDC",
"decimals": 6,
"owner_address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"spender_address": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
"owner_balance": 250.0,
"allowance": 1.157920892373162e+71,
"is_unlimited": true,
"risk_level": "UNLIMITED",
"recommendation": "Revoke or cap allowance to the exact amount needed.",
"warnings": [
"Spender holds an unlimited (uint256 max-range) ERC-20 approval."
]
}Example Workflows
See examples/ for runnable end-to-end workflows:
examples/audit_wallet_and_allowances.py— Full EVM wallet + ERC-20 + spender safety + Injective telemetry reportexamples/mcp_stdio_smoke.py— Automated MCPstdiohandshake and tool discovery check
Run Tests
python -m unittest discover -s tests -v
python examples/mcp_stdio_smoke.pyProject Structure
web3-agent-skills/
├── .github/workflows/ci.yml # GitHub Actions CI (Python 3.9–3.12)
├── skills/ # Open-standard SKILL.md definitions
│ ├── evm-wallet-audit/SKILL.md
│ ├── erc20-token-safety/SKILL.md
│ ├── contract-safety-check/SKILL.md
│ └── injective-telemetry/SKILL.md
├── src/web3_agent_skills/
│ ├── abi.py # Zero-dependency ERC-20 ABI encoder/decoder
│ ├── rpc.py # EVM JSON-RPC, ERC-20 safety & Injective LCD tools
│ ├── mcp_server.py # MCP 2024-11-05 stdio JSON-RPC server
│ └── cli.py # CLI subcommands & --mcp entrypoint
├── examples/ # Runnable workflow & MCP smoke scripts
├── tests/ # Unit tests (mocked RPC/LCD + MCP + SKILL.md checks)
├── cli.py # Direct repo-root runner
├── install.sh / install.ps1 # 1-line cross-platform skill installers
└── pyproject.tomlLicense
MIT License — see LICENSE.
Available Tools
6 toolscheck_contract_safetyA
Check whether an EVM address has deployed bytecode and inspect ERC-1967 upgradeable proxy slots.
Inputs: address (required), rpc_url.
check_erc20_allowanceB
Inspect ERC-20 owner balance and spender allowance, flagging unlimited or over-exposed approvals.
Inputs: owner_address (required), token_address (required), spender_address (required), rpc_url.
get_evm_network_statsB
Fetch live EVM chain ID, latest block number, and gas price in Gwei.
Inputs: rpc_url.
get_injective_telemetryB
Fetch live Injective Mainnet chain ID, latest block height, and optional inj1... account balances.
Inputs: address, lcd_url.
inspect_erc20_tokenB
Audit an ERC-20 token contract: name, symbol, decimals, total supply, bytecode presence, and ERC-1967 proxy flags.
Inputs: token_address (required), rpc_url.
inspect_evm_walletA
Inspect an EVM wallet or contract address: native ETH balance, nonce, and EOA vs Contract status.
Inputs: address (required), rpc_url.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Core purposes differ (wallet snapshot, contract bytecode/proxy, ERC-20 metadata, allowance, network stats, Injective telemetry), but three tools overlap heavily: inspect_evm_wallet, check_contract_safety, and inspect_erc20_token all report bytecode presence and EOA-vs-contract status, and the latter two both surface ERC-1967 proxy slots. 'check_contract_safety' also implies rug/honeypot analysis it does not perform, which can mislead selection.
All names follow a readable snake_case verb_noun pattern (inspect_/check_/get_ + resource). Minor deviation: inspect vs check are used interchangeably for similar bytecode/proxy checks, and chain scope is inconsistently embedded (evm in most names, injective only in one).
Six tools is well within the ideal 3-15 range and each maps to a distinct inspection target. No obvious filler tools; scope is tight for a read-only Web3 inspection server.
Covers the basics of address, token, and network inspection but leaves notable gaps: no generic read-contract/ABI call, no transaction or transfer-history lookup, no NFT/ERC-721 support, and no write operations at all. Injective appears as a single asymmetric tool, suggesting partial multi-chain coverage rather than a deliberate design.
Maintenance
Related MCP Connectors
Read-only smart-contract security intelligence for autonomous agents.
Audit AI agents' tool calls, planning and memory; Base on-chain data; pay per call via x402.
Provide AI agents and automation tools with contextual access to blockchain data including balance…
Smart-contract risk reports for AI agents on 20 EVM chains, paid per call via x402 ($0.02 USDC).
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that empowers AI agents to inspect any wallet’s balance and onchain activity across major EVM chains and Solana chain.39MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform Web3 development operations such as toolchain diagnostics, chain registry queries and live probing, address validation, secret scanning, deployment logging, and standards searches across multiple blockchains.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 AI agents to perform DeFi safety checks over MCP, including pre-signing transaction simulation, sanctions and scam address screening, token rug checks, risk-scored launches, and liquidation-risk assessment.66 npmMIT