How to Use the Etherscan MCP in Claude Code
Pipe live Ethereum chain data and contract ABIs directly into your terminal workflows using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Etherscan MCP to Claude Code
Create your Vinkius account to connect Etherscan to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Pipe raw blockchain logs into your terminal tools
Claude Code uses `get_logs` and `get_block_no_by_time` to fetch targeted event logs directly from your command line. It queries historical events and pipes the raw JSON output straight into grep, jq, or local shell scripts. This headless execution allows you to run automated cron jobs that check for specific contract events. You can write a shell wrapper that triggers alerts whenever a specific topic or address appears in the latest blocks.
Automate contract verification via Claude Code MCP Server
Claude Code uses `verify_source_code` and `get_source_code` to automate your smart contract deployment pipelines from the command line. It submits your compiled source code and verifies it against the deployed bytecode in a single terminal command. You can integrate this tool into your CI/CD pipelines to ensure every deployment is instantly verified. It checks the verification status programmatically, failing the build if the contract code doesn't match the on-chain deployment.
Monitor network health and gas prices from your terminal
Claude Code uses `get_gas_oracle` and `get_eth_supply` to fetch live network metrics without launching a browser. It prints current gas rates and Ether supply directly to your stdout, keeping your terminal terminal-focused. SREs can use these tools to build quick bash scripts that monitor gas spikes before running high-value transactions. It gives you raw, unadorned network data instantly, removing the need for heavy web dashboards.
Set up Etherscan MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeetherscan-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Etherscan transactions." It will automatically discover and invoke the available Etherscan tools.
claude mcp add --transport http etherscan-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Etherscan MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Etherscan MCP today
We host it, we monitor it, we maintain it. You just paste one token.