Ethereum Address Validator

io.github.nirholas由 GitHub 账号 nirholas 发布v1.0.0更新于 Oct 28, 2026

Validate Ethereum addresses, keys, checksums, keccak256 hashes, function selectors, ENS

概览

AI 生成的概览

本地 MCP 服务器,让助手校验以太坊地址、私钥、签名与十六进制数据,并计算校验和、keccak256 哈希与函数选择器。

可以做什么
  • 按 EIP-55 校验和验证以太坊地址,比较地址并批量校验地址列表
  • 校验私钥、ECDSA 签名分量(v、r、s)以及任意十六进制数据
  • 将地址转换为校验和格式,并从私钥或公钥推导地址
  • 计算 keccak256 哈希,编码或解码 4 字节函数选择器
  • 检查地址是否符合靓号条件、离线校验 ENS 名称格式、计算合约存储槽位置
  • 读取内置参考资源,如 EIP-55 规范、secp256k1 常量与常用选择器库
适用场景
适合在以太坊工具开发、智能合约交互或钱包相关任务中使用,让助手在操作前核对地址格式、校验和、函数选择器或由密钥推导出的地址。
运行要求
以 Python 包 validation-mcp-server 通过 stdio 在本地运行,可用 pip 安装或用 uvx 启动;未声明认证、环境变量或请求头。需要在桌面客户端中配置。
安装前请注意
多个工具需要输入私钥,密钥材料会经过助手和本地进程;README 声称私钥不会被记录或持久化、敏感操作后会清理内存,但这只是提供方自述。校验为离线进行,不确认链上归属,也不做 ENS 解析。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ethereum Address Validator,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Validation MCP Server

[PyPI] [MCP Registry]

A Model Context Protocol (MCP) server providing comprehensive Ethereum address validation, private key validation, checksum conversion, and cryptographic utilities.

Features

Tools (15 total)

  1. validate_address - Comprehensive Ethereum address validation with EIP-55 checksum verification
  2. validate_private_key - Private key validation with range checking
  3. to_checksum_address - Convert any address to EIP-55 checksummed format
  4. derive_address_from_private_key - Derive Ethereum address from private key
  5. derive_address_from_public_key - Derive address from public key (compressed/uncompressed)
  6. validate_signature - Validate ECDSA signature components (v, r, s)
  7. validate_hex_data - Validate arbitrary hex data for Ethereum use
  8. compare_addresses - Compare two addresses for equality
  9. batch_validate_addresses - Validate multiple addresses at once
  10. generate_vanity_check - Check if address matches vanity criteria
  11. keccak256_hash - Compute Keccak-256 hash
  12. encode_function_selector - Encode function signature to 4-byte selector
  13. decode_function_selector - Decode selector to function signature
  14. validate_ens_name - Validate ENS name format (offline)
  15. calculate_storage_slot - Calculate contract storage slot positions

Resources

  • validation://eip55-specification - EIP-55 checksum specification
  • validation://secp256k1-constants - Curve parameters
  • validation://function-selectors-db - Common function selectors (500+)
  • validation://address-patterns - Known address patterns
  • validation://known-weak-keys - Weak key information

Prompts

  • Address validation workflow
  • Key security audit
  • Data encoding helper
  • Contract interaction preparation

Installation

bash
pip install -e .

Usage

As MCP Server

Add to your Claude Desktop configuration:

json
{  "mcpServers": {    "validation-mcp-server": {      "command": "validation-mcp-server"    }  }}

Example Tool Calls

python
# Validate an addressresult = await validate_address("0x5aaeb6053f3e94c9b9a09f33669435e7ef1beaed")
# Derive address from private keywallet = await derive_address_from_private_key(    "0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318")
# Compute function selectorselector = await encode_function_selector("transfer(address,uint256)")# Returns: 0xa9059cbb

Security Notes

  • Private keys are never logged or persisted
  • All sensitive operations clear memory after use
  • Uses established cryptographic libraries

License

MIT

来源:validation-mcp-server/README.md,提交 dabb599

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。