EVM MCP Auditor
Enables AI assistants to audit Solidity smart contracts for security vulnerabilities, fetch verified source code from block explorers, decode calldata, and estimate gas costs across major EVM networks.
README
š”ļø EVM MCP Auditor
Production-grade Model Context Protocol (MCP) server for EVM Smart Contract security auditing, static vulnerability analysis, and multi-chain telemetry for Claude & Claude Code.
ā” Overview
EVM MCP Auditor connects Anthropic's Claude, Claude Desktop, and Claude Code CLI directly to Ethereum and EVM ecosystems. It equips Claude with specialized security auditing tools to automatically inspect Solidity smart contracts for critical attack vectors, fetch verified source code from block explorers, decode raw transaction calldata, and estimate multi-chain gas costs.
āāāāāāāāāāāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā stdio ā ā
ā Claude Desktop / Code ā āāāāāāāŗ ā EVM MCP Auditor Server ā
ā (Anthropic AI) ā ā (@zalana/evm-mcp-auditor) ā
ā ā ā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāā
ā
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā EVM Networks & Explorers ā
ā ⢠Ethereum ⢠Base ⢠Arbitrum ā
ā ⢠Optimism ⢠Polygon ⢠BSC ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š Features & MCP Tools
| MCP Tool | Description |
|---|---|
evm_audit_contract |
Run static security analysis on Solidity code (Reentrancy, Unsafe Delegatecall, tx.origin auth, Unchecked Calls, Timestamp Dependency, Selfdestruct). |
evm_fetch_source |
Pull verified contract source code directly from block explorers across 6 EVM networks. |
evm_decode_calldata |
Decode raw transaction hex data into 4-byte function selectors and parameter chunks. |
evm_estimate_gas |
Fetch real-time gas telemetry across Ethereum, Base, Arbitrum, Polygon, Optimism, and BSC. |
š¦ Quickstart & Installation
Option 1: Claude Desktop Integration
Add the following snippet to your claude_desktop_config.json:
{
"mcpServers": {
"evm-auditor": {
"command": "npx",
"args": ["-y", "@zalana/evm-mcp-auditor"]
}
}
}
Option 2: Claude Code CLI
claude mcp add evm-auditor npx -y @zalana/evm-mcp-auditor
Option 3: Local Development
# Clone repository
git clone https://github.com/zalana28/evm-mcp-auditor.git
cd evm-mcp-auditor
# Install dependencies
npm install
# Run automated test suites
npm test
# Build TypeScript to dist/
npm run build
# Run local MCP server
npm start
š”ļø Supported Vulnerability Scanners (SWC / CWE)
- EVM-SEC-001: Reentrancy (Checks-Effects-Interactions violation)
SWC-107/CWE-841 - EVM-SEC-002: Arbitrary / Uncontrolled Delegatecall
SWC-112/CWE-829 - EVM-SEC-003: Vulnerable Authentication via
tx.originSWC-115/CWE-287 - EVM-SEC-004: Unchecked Return Value of Low-Level Call
SWC-104/CWE-252 - EVM-SEC-005: Block Timestamp Manipulation
SWC-116/CWE-330 - EVM-SEC-006: Deprecated
selfdestruct/ Unprotected State LockSWC-106/CWE-284 - EVM-SEC-007: Floating Pragma Compiler Warning
SWC-103/CWE-664 - EVM-SEC-008: Missing Zero-Address (
address(0)) Setter ValidationSWC-100/CWE-20
š¤ Contributing
Contributions, issues, and feature requests are welcome! Please check the Contributing Guide.
š License
This project is licensed under the MIT License.
<sub>Built with ā” by Zalana for the global Open-Source and Web3 developer community.</sub>
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.