ccbbccbb/viemcp
If you are the rightful owner of viemcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that provides blockchain interaction capabilities through viem, enabling AI assistants to read onchain data, interact with smart contracts, and prepare transactions across multiple EVM chains.
Tools
Functions exposed to the LLM to take actions
viemBlockInfo
Block header plus optional tx count/full txs
viemTransactionInfo
Transaction plus optional receipt/logs
viemAccountInfo
Account balance and optional nonce
viemGasInfo
Gas price and/or fee history
viemEnsInfo
Resolve ENS data for name/address
viemErc20Info
Combined ERC20 metadata/balance/allowance
viemContractState
Get contract code and/or storage slots
viemEncodeData
Encode function/deploy data
viemContractAction
Read/simulate/estimateGas for a function
viemTransactionBuild
Estimate gas or prepare tx
viemChainInfo
Chain id and optionally supported chains/RPC URL
viemGetLogs
Filter logs by address/topics and range
viemParseEther
Convert ETH to wei
viemFormatEther
Convert wei to ETH
viemMulticall
Batch multiple contract reads
viemIsAddress
Validate Ethereum address
viemKeccak256
Hash data with Keccak256
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client