A focused MCP (Model Context Protocol) server for token operations and smart contract interactions with Etherscan API.
Get your free Etherscan API key:
- Visit: https://etherscan.io/apis
- Create account and get API key
Choose one of the following methods to add the MCP server to Cursor:
Add to your ~/.cursor/mcp.json:
{
"mcpServers": {
"human-eth-call": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/git-alice/human_eth_call_mcp.git",
"human-eth-call-mcp"
],
"env": {
"ETHERSCAN_API_KEY": "your_api_key_here"
}
}
}
}Add to your ~/.cursor/mcp.json:
{
"mcpServers": {
"human-eth-call": {
"command": "docker",
"args": [
"run","--rm","-i",
"-e","ETHERSCAN_API_KEY",
"ghcr.io/git-alice/human_eth_call_mcp:latest"
],
"env": {
"ETHERSCAN_API_KEY": "your_api_key_here"
}
}
}
}git clone https://github.com/git-alice/human_eth_call_mcp.git
cd human_eth_call_mcp
bash scripts/cursor-install-mcp.sh- getTokenBalance - Get token balance for any address
- getTokenDetails - Get comprehensive token information (name, symbol, decimals, total supply)
- getContractABI - Get contract ABI for verified contracts
- getContractSourceCode - Get contract source code
- executeContractMethod - Execute contract methods with auto encoding/decoding
- getContractCreation - Get contract deployer address and creation transaction hash (up to 5 contracts)
- ethGetTransactionReceipt - Get single transaction receipt with status, gas usage, and logs
- ethGetTransactionReceipts - Get multiple transaction receipts (up to 20 transactions) with status, gas usage, and logs
- getEventLogs - Get event logs with topic filtering (supports event signatures and hex topics, optional topic1 for advanced filtering, returns recent examples)
- getTimestampByBlockNumber - Get UNIX timestamp for a block number