THORChain MCP

v1.1.0
org.thorchain/thorchain-mcp Checked 3 hours ago Published 27 days ago

THORChain swap quotes, non-custodial swap prep, swap status, pools and network data.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_reference_memo Check Reference Memo

Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it's available for registration.

ParameterTypeDescription
amount *stringThe transaction amount in base units
asset *stringThe asset (e.g. BTC.BTC)

get_inbound_addresses Get Inbound Addresses

Returns vault addresses for depositing assets into THORChain. Each chain has its own inbound address along with gas rates and halted status.

get_lastblock Get Last Block Heights

Returns the last observed and signed block heights for all chains. Useful for monitoring chain sync status and detecting chain halts.

get_network_summary Get Network Summary

Compact THORChain network status for agents: node counts, bonding/liquidity APY, reserve, pooled RUNE, next churn height, vault migration flag. Prefer this over get_network_info (full toolset only), which returns large per-node bond arrays.

get_outbound_fees Get Outbound Fees

Returns outbound fee information for all assets including the fee amount, surplus/deficit tracking, and dynamic multiplier. Use this to estimate transaction costs.

get_pool Get Pool

Returns one liquidity pool by asset (e.g. BTC.BTC): depths, units, status and price. Use list_pools to find asset identifiers and get_pool_stats for volume, fees and APY.

ParameterTypeDescription
asset *stringThe asset identifier (e.g. BTC.BTC or ETH.ETH)

get_pool_stats Get Pool Stats

Returns detailed analytics and statistics for a specific liquidity pool including volume, fees, APY, and historical metrics.

ParameterTypeDescription
asset *stringThe asset identifier (e.g. BTC.BTC or ETH.ETH)

get_swap_status Get Swap Status

Answers "did my swap go through?" in plain terms. Returns a status (not_found, pending, streaming, sent, refunded, completed), whether it is done, a one-line summary to tell the user, streaming progress, an estimated wait, and the refund reason. refund=true with status sent means part was refunded. Start here for swap tracking; use get_tx_status only for raw stage detail.

ParameterTypeDescription
hash *stringThe deposit (inbound) transaction hash: the hash of what the user sent to THORChain. A 0x prefix is fine.

get_tx Get Transaction

Returns the observed transaction for a hash (inbound or outbound): chain, addresses, coins, memo and the heights THORChain saw it at. For "did my swap go through?" use get_swap_status.

ParameterTypeDescription
hash *stringThe transaction hash (inbound or outbound)

get_tx_status Get Transaction Status

Returns THORNode's raw status for an inbound transaction: every processing stage, planned outbounds and sent outbounds. For a plain answer (pending, streaming, sent, refunded) use get_swap_status; use this for stage-level detail.

ParameterTypeDescription
hash *stringThe inbound transaction hash to check status for

list_pools List Pools

Returns all active liquidity pools on THORChain with their balances, units, and status. Supports pagination with limit and offset parameters.

ParameterTypeDescription
limitintegerMaximum number of results to return (default 100, max 1000)
offsetintegerNumber of results to skip for pagination

lookup_thorname Look Up THORName

Returns THORName details including chain addresses, expiry, and owner.

ParameterTypeDescription
name *stringTHORName to look up

ping Ping THORNode

Health check endpoint. Returns 'pong' if the THORNode is responding. Use this to verify connectivity to the node.

prepare_swap Prepare Swap

Build a ready-to-execute THORChain swap. Returns the exact vault address to send to, the memo, the source chain, the expected output and guaranteed minimum, the estimated time, and an expiry. Use this when the user wants to actually perform a swap, not just price it (for pricing only, use quote_swap). The returned instruction is what a wallet signs and broadcasts; this tool itself never moves funds.

ParameterTypeDescription
amount *integerAmount to swap in THORChain base units (1e8; e.g. 50000000 = 0.5 BTC)
destination *stringThe address on the destination chain that will receive the swap output. Required to execute a swap.
from_asset *stringThe source asset to swap from (e.g. BTC.BTC)
to_asset *stringThe target asset to swap to (e.g. ETH.ETH)
affiliatestringOptional affiliate address or THORName that collects a fee
affiliate_bpsintegerOptional affiliate fee in basis points (0-1000; protocol caps total affiliate fees at 1000 bps)
max_slippage_bpsintegerMaximum acceptable slippage in basis points; sets the min-received limit baked into the memo (default 300 = 3%). Range 1-10000.

quote_limit Quote Limit Order

Get a limit order quote with expected output, expiry time, and a generated memo for executing the limit order. Limit orders execute when the target price is reached. For an immediate market swap use quote_swap.

ParameterTypeDescription
amount *integerThe amount in base units (1e8 for most assets)
from_asset *stringThe source asset (e.g. BTC.BTC)
target_out *integerThe limit price: minimum acceptable output amount in base units (1e8). The order executes only at this price or better
to_asset *stringThe target asset (e.g. ETH.ETH)
affiliatestringThe affiliate address or THORName
affiliate_bpsintegerThe affiliate fee in basis points (0-1000; protocol caps total affiliate fees at 1000 bps)
custom_ttlintegerCustom TTL in blocks for the limit order
destinationstringThe destination address for the swap output
refund_addressstringThe refund address if the swap fails
streaming_quantityintegerNumber of sub-swaps for streaming

quote_swap Quote Swap

Calculate how much output you would receive when swapping one asset for another. Use this tool to answer questions like 'how much ETH would I get for 100 RUNE?' Returns expected output amount, fees, slippage, estimated time, and a memo for executing the swap.

ParameterTypeDescription
amount *integerThe amount in base units (1e8 for most assets)
from_asset *stringThe source asset (e.g. BTC.BTC)
to_asset *stringThe target asset (e.g. ETH.ETH)
affiliatestringThe affiliate address or THORName
affiliate_bpsintegerThe affiliate fee in basis points (0-1000; protocol caps total affiliate fees at 1000 bps)
destinationstringThe destination address for the swap output