derive_addresses
Generate receiving or change Bitcoin addresses from an xpub (or seed phrase) offline, specifying address type, account, and index range. Provides deterministic HD wallet addresses for wallets, explorers, or payment tracking.
Instructions
Derive addresses from an xpub (preferred) or a seed phrase. Works offline.
Passing an xpub/ypub/zpub is the safe path and needs no special permission. Passing a mnemonic requires MCP_BITCOIN_ALLOW_MNEMONIC=true.
Args: source: An xpub/ypub/zpub, or a BIP-39 mnemonic. passphrase: Optional BIP-39 passphrase; only used with a mnemonic. address_type: legacy, nested_segwit, native_segwit or taproot. account: BIP-44 account index. change: 0 for receiving addresses, 1 for change. start_index: First address index. count: How many addresses to derive, up to 500. network: Override the server's network for this call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "derive_addresses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| change | No | ||
| source | Yes | ||
| account | No | ||
| network | No | ||
| passphrase | No | ||
| start_index | No | ||
| address_type | No | native_segwit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |