Ethereum Wallet Generator

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

Generate Ethereum wallets with BIP39 mnemonics, HD paths, vanity addresses, private key backup

已验证STDIO仅桌面金融安全与监控

概览

AI 生成的概览

本地 MCP 服务器,让助手生成、恢复和派生以太坊钱包,支持 BIP39 助记词、HD 账户和靓号地址。

可以做什么
生成新的以太坊钱包,可选择是否使用 BIP39 助记词和口令,并设置词数、语言和派生路径。从已有助记词或十六进制私钥恢复钱包。从同一助记词按指定基础路径和起始索引派生最多 100 个 HD 账户。在限定时间内搜索符合前缀或后缀的靓号地址。读取内置的 BIP39、派生路径和词表文档资源,并使用安全创建、备份和恢复的引导提示。
适用场景
适合让助手创建测试或开发用以太坊钱包、从一个助记词派生多个账户,或生成靓号地址,而无需离开对话。不适合保管真实资金,README 建议真实资金使用硬件钱包。
运行要求
作为本地 stdio 进程运行,从 PyPI 包 ethereum-wallet-mcp 安装,用 uvx 或 ethereum-wallet-mcp 命令启动,需要 Python 环境。未声明账户、API 密钥、环境变量或请求头,生成过程不需要网络访问。
安装前请注意
这些工具会把私钥和助记词以明文返回给助手和对话,等于授予对应地址上全部资金的控制权。README 警告切勿分享私钥或助记词,说明密钥仅存在于内存中,建议真实资金使用硬件钱包,并指出靓号地址存在风险。一旦密钥出现在聊天记录中,就应视为已泄露。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Ethereum Wallet MCP Server

[PyPI] [MCP Registry]

A Model Context Protocol (MCP) server providing Ethereum wallet generation and HD wallet functionality. This server enables AI assistants like Claude to securely generate Ethereum wallets, work with BIP39 mnemonics, and derive multiple accounts from a single seed phrase.

Features

Tools

  • generate_wallet - Generate a new random Ethereum wallet
  • generate_wallet_with_mnemonic - Generate a wallet with BIP39 seed phrase
  • restore_wallet_from_mnemonic - Restore wallet from existing mnemonic
  • restore_wallet_from_private_key - Restore wallet from private key
  • derive_multiple_accounts - Derive multiple HD wallet accounts
  • generate_vanity_address - Generate address matching a pattern

Prompts

  • create_secure_wallet - Guided secure wallet creation
  • backup_wallet_guide - Wallet backup instructions
  • recover_wallet_help - Wallet recovery assistance

Resources

  • wallet://documentation/bip39 - BIP39 standard documentation
  • wallet://documentation/derivation-paths - HD derivation path docs
  • wallet://wordlist/{language} - BIP39 wordlists by language

Installation

bash
# Install from sourcepip install -e .
# Or with dev dependenciespip install -e ".[dev]"

Usage

Running the Server

bash
# Run directlyethereum-wallet-mcp
# Or via Pythonpython -m ethereum_wallet_mcp.server

Claude Desktop Configuration

Add to your Claude Desktop config (claude_desktop_config.json):

json
{  "mcpServers": {    "ethereum-wallet": {      "command": "ethereum-wallet-mcp"    }  }}

Example Interactions

User: "Generate a new Ethereum wallet for me"→ Returns: address, private_key, public_key
User: "Create a wallet with a 24-word seed phrase"→ Returns: address, private_key, mnemonic (24 words), derivation_path
User: "Restore my wallet from this seed: abandon abandon abandon..."→ Returns: restored wallet details
User: "Derive 10 accounts from my seed phrase"→ Returns: list of 10 accounts with addresses and keys
User: "Generate a vanity address starting with 'cafe'"→ Returns: matching address with generation stats

Security Considerations

⚠️ IMPORTANT SECURITY WARNINGS:

  1. Never share private keys or mnemonic phrases - These give full access to funds
  2. This server does not persist sensitive data - Keys exist only in memory during operation
  3. Use hardware wallets for real funds - Software wallets are inherently less secure
  4. Vanity addresses carry risks - Never use for high-value storage
  5. Verify addresses independently - Always double-check derived addresses

Development

Running Tests

bash
pytest tests/ -v

Code Formatting

bash
black src/ tests/isort src/ tests/

Type Checking

bash
mypy src/

API Reference

Tool: generate_wallet

Generate a new random Ethereum wallet with no mnemonic.

Parameters: None

Returns:

  • address (str): Checksummed Ethereum address
  • private_key (str): Hex-encoded private key (0x prefixed)
  • public_key (str): Hex-encoded public key

Tool: generate_wallet_with_mnemonic

Generate a new wallet with BIP39 mnemonic seed phrase.

Parameters:

  • word_count (int, optional): 12, 15, 18, 21, or 24. Default: 12
  • language (str, optional): Mnemonic language. Default: "english"
  • passphrase (str, optional): BIP39 passphrase. Default: ""
  • derivation_path (str, optional): HD path. Default: "m/44'/60'/0'/0/0"

Returns:

  • address, private_key, public_key
  • mnemonic (str): Space-separated seed words
  • derivation_path (str): Path used
  • passphrase_used (bool): Whether passphrase was applied

Tool: restore_wallet_from_mnemonic

Restore a wallet from an existing BIP39 mnemonic.

Parameters:

  • mnemonic (str, required): Space-separated mnemonic phrase
  • passphrase (str, optional): BIP39 passphrase. Default: ""
  • derivation_path (str, optional): HD path. Default: "m/44'/60'/0'/0/0"

Returns: Same as generate_wallet_with_mnemonic (without mnemonic field)

Tool: restore_wallet_from_private_key

Restore a wallet from a private key.

Parameters:

  • private_key (str, required): Hex private key (with or without 0x prefix)

Returns:

  • address, private_key (normalized), public_key

Tool: derive_multiple_accounts

Derive multiple accounts from a single mnemonic.

Parameters:

  • mnemonic (str, required): BIP39 mnemonic
  • count (int, optional): Number of accounts (1-100). Default: 5
  • start_index (int, optional): Starting index. Default: 0
  • passphrase (str, optional): BIP39 passphrase. Default: ""
  • base_path (str, optional): Base HD path. Default: "m/44'/60'/0'/0"

Returns:

  • accounts (list): List of {index, derivation_path, address, private_key, public_key}
  • total_derived (int): Number of accounts derived
  • base_path (str): Base path used

Tool: generate_vanity_address

Generate an address matching a vanity pattern.

Parameters:

  • prefix (str, optional): Desired prefix after 0x (hex chars)
  • suffix (str, optional): Desired suffix (hex chars)
  • case_sensitive (bool, optional): Match case exactly. Default: false
  • timeout_seconds (int, optional): Max search time. Default: 60

Returns:

  • address, private_key, public_key
  • pattern_matched (str): Matched pattern
  • attempts (int): Addresses tried
  • time_seconds (float): Time taken
  • difficulty (int): Estimated 1-in-N difficulty

License

MIT License

Contributing

Contributions welcome! Please read the contributing guidelines and submit pull requests.

来源:ethereum-wallet-mcp/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 分

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