# mcp-hd-wallet [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/CryptoAPIs-io/cryptoapis-mcp-hd-wallet  
**GitHub Stars:** 1  
**npm Downloads (last month):** 1101  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-hd-wallet

## Description
MCP server for HD wallet management, balance, and sync on EVM, UTXO, XRP via Crypto APIs

## Tools
Capabilities this server exposes over MCP:

- **manage_hd_wallet** — Manage HD wallets (sync, activate, delete, list, status).
- **hd_wallet_data_utxo** — Query UTXO HD wallet data (Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash).
- **hd_wallet_data_evm** — Query EVM HD wallet data (Ethereum, Ethereum Classic, BSC, Polygon, Avalanche (C-Chain), Arbitrum, Base, Optimism, Tron).
- **hd_wallet_data_xrp** — Query XRP HD wallet data.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-hd-wallet": {
    "command": "npx",
    "args": ["-y","@cryptoapis-io/mcp-hd-wallet"],
    "env": {
      "CRYPTOAPIS_API_KEY": "",
      "MCP_AUTH_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `CRYPTOAPIS_API_KEY`, `MCP_AUTH_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-hd-wallet does

mcp-hd-wallet exposes Crypto APIs' HD Wallet, or Wallet as a Service, capabilities through MCP. It tracks wallets from an extended public key: xPub, yPub, or zPub. The supported network groups are:

- EVM: Ethereum, Ethereum Classic, BSC, Polygon, Avalanche C-Chain, Arbitrum, Base, Optimism, and Tron
- UTXO: Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, and Zcash
- XRP

Wallet data can include aggregated balances, derived addresses, transactions, held assets, and UTXOs where the network uses the UTXO model. The server can also prepare unsigned transactions for later local signing. Private keys are not sent to or stored by Crypto APIs.

## How it works

First sync an extended public key with Crypto APIs. The service then derives receiving and, for UTXO wallets, change addresses and tracks activity across those addresses. MCP clients can request wallet details and status, inspect derived addresses, query transactions, and retrieve assets or unspent outputs.

The server provides four tools. `manage_hd_wallet` handles synchronization, activation, deletion, listing, and status checks. `hd_wallet_data_utxo` covers UTXO wallet queries and transaction preparation. `hd_wallet_data_evm` provides EVM wallet data and unsigned transaction preparation. `hd_wallet_data_xrp` provides XRP wallet data without UTXO listing or transaction-preparation actions.

## Setup and configuration

Install the package with:

```bash
npm install @cryptoapis-io/mcp-hd-wallet
```

Node.js 18 or newer and a Crypto APIs account with an API key are required. Run the server over stdio with an API key supplied directly or through `CRYPTOAPIS_API_KEY`:

```bash
npx @cryptoapis-io/mcp-hd-wallet --api-key YOUR_API_KEY
```

HTTP transport is available on port 3000 by default, with the MCP endpoint at `/mcp`:

```bash
npx @cryptoapis-io/mcp-hd-wallet --transport http --port 3000 --api-key YOUR_API_KEY
```

HTTP mode binds to `127.0.0.1` by default. Remote access requires an explicit host binding and appropriate protection. With a fixed API key, callers can be required to send a bearer token configured through `MCP_AUTH_TOKEN` or `--auth-token`. Alternatively, omit the startup API key and require each request to provide its own `x-api-key` header. `--allowed-hosts` can restrict accepted Host headers for non-loopback bindings.

Claude Desktop and Cursor can launch the server through their MCP configuration using the `CRYPTOAPIS_API_KEY` environment variable. The MCP Inspector can also be used for local testing.

## Tools and capabilities

`manage_hd_wallet` supports these actions:

- Sync a wallet from an xPub, yPub, or zPub
- List synced wallets
- Activate or delete a wallet
- Check synchronization status

The data tools support wallet details, receiving-address derivation, address listing, transaction listing, and asset queries. The UTXO tool additionally lists unspent outputs, derives change addresses, and prepares unsigned transactions. The EVM tool prepares unsigned transactions but does not expose UTXO-specific actions. XRP supports details, receiving-address derivation, address listing, transactions, and assets.

## Limitations and notes

A valid Crypto APIs key must be configured before making requests. Invalid or missing credentials may result in an IP ban from the Crypto APIs ecosystem. Stdio transport requires an API key at startup; HTTP transport can use either a server-level key or per-request keys.

The server prepares transactions but does not sign or broadcast them. The package is compatible with Crypto APIs version 2024-12-12, and its license is MIT.

_Full upstream README: https://allmcps.com/mcp/mcp-hd-wallet/readme_

