mcpField
E
Ethereum Address Validator

Ethereum Address Validator

Local
github.com/nirholasFinance28Updated 3w ago

About Ethereum Address Validator

An MCP server that validates Ethereum addresses, private keys, signatures and hex data, with EIP-55 checksum conversion, keccak256 hashing and function selector encoding. It is aimed at developers and auditors who need to check inputs before on-chain interaction.

Key features

  1. 0115 tools for address and key utilities
  2. 02EIP-55 address validation and checksum conversion
  3. 03Private key range checking and address derivation
  4. 04keccak256 hashing and function selector encoding
  5. 05Offline ENS name format validation

Use cases

  1. 01Checking address format and checksum before sending transactions
  2. 02Auditing private keys and signature components
  3. 03Validating address lists in batch

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"nirholas-validation": {
"command": "uvx",
"args": [
"validation-mcp-server"
]
}
}
}
Run commanduvx validation-mcp-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypivalidation-mcp-server1.0.0

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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

pip install -e .

Usage

As MCP Server

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "validation-mcp-server": {
      "command": "validation-mcp-server"
    }
  }
}
Example Tool Calls
# Validate an address
result = await validate_address("0x5aaeb6053f3e94c9b9a09f33669435e7ef1beaed")

# Derive address from private key
wallet = await derive_address_from_private_key(
    "0x4c0883a69102937d6231471b5dbb6204fe5129617082792ae468d01a3f362318"
)

# Compute function selector
selector = 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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.