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 分

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