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 分

    請在儲存庫或註冊中心條目中宣告授權條款。