4byte
Get function signatures for the given selector from 4byte.directory
Decode calldata, encode a call, generate a vanity address, and read or write contracts on any EVM chain.
LABSCO SUMMARY
Debugging a failed transaction usually means pasting hex between four websites. Here the selector lookup, the ABI decode, the balance check and the static call are all reachable from one place, on whichever EVM chain the contract lives.
A set of Ethereum developer tools exposed over MCP — Cast-style encode and decode operations, a multi-threaded vanity address generator, and RPC access to any EVM-compatible chain.
Node — npm install, npm run build, npm start. The read tools need only an RPC endpoint for the chain. Sending a transaction requires a private key, and it is the one operation here that moves funds.
One command — npx blockchain-mcp-server
USE CASES
Look the selector up against 4byte.directory, then decode the calldata into readable parameters.
Encode the parameters, or the whole call with its selector, and check the selector is the one you expected.
A static call against the chain you name returns what the contract says, with no transaction and no signature.
Validate the format, then read the balance — the two checks that catch most expensive mistakes.
Generate to a prefix and a suffix across several worker threads, with case sensitivity on or off.
Compute the event selector and the keccak256 hash, and compare against the topic you are holding.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
4byteGet function signatures for the given selector from 4byte.directory
4byte-decodeDecode ABI-encoded calldata using 4byte.directory
abi-decodedecode abi encoded data
abi-encodeencode function parameters with abi
abi-encode-with-signatureencode function call with abi
event-sigget event selector
generate-vanity-addressGenerate Ethereum addresses matching specified prefix and suffix patterns with concurrent computation
get-balanceGet the balance of an address on any EVM-compatible chain
keccak256calculate keccak256 hash
list-chainsList all supported EVM-compatible chains and their configurations
send-transactionSend a transaction to a smart contract on any EVM-compatible chain (requires private key)
sigget function selector
static-callMake a static call to a smart contract on any EVM-compatible chain (read-only)
validate-ethereum-addressValidate the validity of an Ethereum address
BEFORE YOU INSTALL
14 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 14 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"blockchain-mcp-server": {
"command": "npx",
"args": [
"blockchain-mcp-server"
]
}
}
}npx blockchain-mcp-server