MySQL
STDIO以太坊区块链分析工具包
以太坊区块链分析工具包
A comprehensive toolkit for Ethereum blockchain analysis directly within Claude AI using Model Context Protocol (MCP).
Clone this repository:
git clone https://github.com/0xGval/evm-tools-mcp
cd evm-tools-mcp
Install dependencies:
npm install
Create your configuration:
mcp.json.example to mcp.jsonmcp.json to include your API keys and correct file paths{ "mcpServers": { "ethereum-tools": { "command": "node", "args": ["YOUR_ABSOLUTE_PATH_TO/main.js"], "env": { "ETH_RPC_URL": "https://eth.llamarpc.com", "MORALIS_API_KEY": "your_moralis_api_key", "ETHERSCAN_API_KEY": "your_etherscan_api_key", "CODEX_API_KEY": "your_codex_api_key", "RAPIDAPI_KEY": "your_rapidapi_key" } } } }
Configure Claude for Desktop:
%APPDATA%\Claude\claude_desktop_config.jsonmcp.json file into this configurationauditContract(address: "0x..."): Perform security audit on a smart contractgetEthBalance(address: "0x..."): Get ETH balancegetTransactionCount(address: "0x..."): Get transaction count (nonce)getTokensBalance(address: "0x...", chain: "eth", excludeSpam: true): Get all token balancesgetWalletPnl(address: "0x...", chain: "eth"): Analyze wallet profit/lossgetTokenInfo(address: "0x...", networkId: 1): Get basic token information including name, symbol, and supplygetTokenPriceHistory(address: "0x...", networkId: 1, days: 7, resolution: "1D"): Get historical price dataanalyzeToken(address: "0x...", networkId: 1, days: 30): Perform comprehensive token analysis including volatility and trading patternssearchTwitter(query: "ethereum", section: "top", limit: 5): Intelligent Twitter search with natural language processing
from:username, has:links, etc.twitterSearchHelp(topic: "general"): Get help with Twitter search syntax
add(a: 1, b: 2): Simple utility function exampleCommon issues:
mcp.json\\)To add new tools:
tools/ directorymain.jsThis project is licensed under the MIT License.