Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

EVMole

Lets your AI agent analyze deployed Ethereum contract bytecode to find functions, argument types and storage layout.

473 stars on GitHubby cdumpLicense MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add evmole -- npx -y evmole-mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Analyze this contract bytecode and list its function selectors and arguments.
Which functions in this contract are view or pure?

What it is

EVMole reads the compiled bytecode of Ethereum (EVM) smart contracts and works out what is inside, even when the source code is not published. It finds function selectors, argument types, state mutability and storage layout. The local MCP server runs on your machine and does not send bytecode to a service.

What it can do

  • Infer function selectors from bytecode
  • Infer function argument types
  • Detect state mutability (pure, view, nonpayable)
  • Read persistent and transient storage layouts
  • Read CBOR metadata
  • JSON command: npx -y evmole analyze --bytecode 0x...

When to use

  • β€ΊWhen you inspect an unverified smart contract and want to know its functions
  • β€ΊWhen you need argument types for a contract you only have bytecode for
  • β€ΊWhen you analyze many contracts in a script and want fast results

What you need

Node.js to run the local MCP server with npx -y evmole-mcp. It expects deployed (runtime) bytecode.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is an open-source library with JavaScript, Rust, Python and Go versions.

Does bytecode leave my computer?

The readme says the integrations run locally and do not send bytecode to an EVMole-operated service.

What kind of bytecode does it need?

Deployed (runtime) bytecode, not the creation code.

Does it work on Vyper contracts?

It was tested on both Solidity and Vyper contracts.

How accurate is it?

The readme benchmarks show zero false selector errors on its Solidity and Vyper test sets, and lower argument error rates than the other tools compared.

Are there other ways to use it?

Yes. There is a JSON CLI, a portable skill and language libraries, and Foundry cast uses the Rust version.

If it does not work

  • β€ΊCheck that Node.js is installed, since the command uses npx.
  • β€ΊPass runtime bytecode that starts with 0x, not the creation code.
  • β€ΊSee the agent guide in the repository for setup details and limits.

5 new skills a week. 1 minute to read.