LayerHop
Best-price cross-chain swap quotes across 70 chains (EVM + Solana). Holds no keys, never signs.
Use Solana with: ChatGPT · Claude · Cursor · Claude Code · VS Code
Connect it
Settings → Connectors → Add custom connector
URL: https://mcp.layerhop.com/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://mcp.layerhop.com/mcp{
"mcpServers": {
"mcp": {
"url": "https://mcp.layerhop.com/mcp"
}
}
}claude mcp add --transport http mcp https://mcp.layerhop.com/mcp{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.layerhop.com/mcp"
}
}
}{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@layerhop/mcp@0.5.0"
],
"env": {
"LAYERHOP_API_KEY": "<value>"
}
}
}
}claude mcp add mcp -- npx -y @layerhop/mcp@0.5.015 tools, pulled live
list_chainsread-onlyList every blockchain LayerHop can swap from or to: slug, numeric chain id, name, VM type (evm or svm = Solana) and native coin. Read-only.
list_tokensread-onlyList LayerHop's built-in tokens on one chain (symbol, contract address or mint, decimals). Symbols can be used directly in get_quote; other tokens can be quoted by address. Read-only.
get_quoteread-onlyGet the best price to swap or bridge tokens, within one chain or across chains (EVM <-> Solana). Asks every liquidity provider and returns the best quote plus alternatives with human-readable amounts, minimum received after slippage, fees (LayerHop fee, partner fee, provider fee, gas) and ETA. Returns a quoteId (valid until expiresAt) and a layerhop.com swapLink a human can open to review and sign
build_transactionTurn a quoteId from get_quote into the UNSIGNED transaction the user's own wallet must sign: EVM {chainId, to, data, value in wei, optional ERC-20 approval to send first} or Solana {serializedTx base64}. Includes plain-language signing steps. The LayerHop MCP server holds no private keys and never signs or broadcasts transactions. Only use this when the user has their own signer and explicitly wan
simulate_transactionread-onlyBuild the transaction for a quoteId and dry-run it on-chain (EVM eth_call + gas estimate from the sender; Solana simulateTransaction) without sending anything or recording an order. Reports whether it would succeed, gas / compute units, whether an ERC-20 approval is still needed, and the error if it would fail. Read-only: The LayerHop MCP server holds no private keys and never signs or broadcasts
report_submittedTell LayerHop that the user's wallet broadcast the transaction for a quoteId, so the order is tracked (status, webhooks). Call this once after broadcasting, with the EVM tx hash (0x + 64 hex) or Solana signature. Idempotent. Does not sign or send anything.
get_order_statusread-onlyCheck the status of a swap or bridge after the source transaction was sent: pending, filled (funds delivered), refunded, failed, or unknown (some same-chain providers; check the tx on an explorer). Read-only.
list_ordersread-onlyList LayerHop orders (swaps built or submitted through LayerHop) where the address is the sender or recipient, newest first, with status. Public data (addresses only). Read-only.
get_swap_linkread-onlyCreate a https://layerhop.com/swap link prefilled with the swap, which the user opens to review the live quote and fees and sign in their own wallet. This is the default, safest way to execute a swap. The LayerHop MCP server holds no private keys and never signs or broadcasts transactions. The amount is in human units.
create_deposit_addressCreate an address the user sends tokens to; every deposit is swapped/bridged and delivered as toToken on toChain to recipient. No wallet connection or signing needed. Non-custodial: the address belongs to the liquidity provider (Relay), LayerHop never holds funds. Tell the user: send ONLY srcToken on srcChain to the address (other tokens or chains may be lost for good), at least $1 worth; refundTo
list_deposit_addressesread-onlyList the deposit addresses of the API key's account and mode (live or test), newest first: address, route, status, deposit count. Needs a LayerHop API key. Read-only.
get_deposit_addressread-onlyGet one deposit address with its 20 most recent deposits (orders, quoteId starting with dep_): amount deposited and delivered, status (submitted, pending, filled, refunded, failed) and tx hashes. Tell the user: send ONLY srcToken on srcChain to the address (other tokens or chains may be lost for good), at least $1 worth; refundTo must be the user's own address on srcChain, never an exchange (CEX)
refresh_deposit_addressAsk LayerHop to check a deposit address for new deposits right away (instead of waiting for the next scheduled check). Call it when the user says they sent funds, then call get_deposit_address after ~15-30 s. Needs a LayerHop API key.
disable_deposit_addresscan modifyDisable a deposit address: LayerHop stops tracking it (no more orders or webhooks for it). The provider may still process funds sent to it later, so the user must stop using it. Cannot be undone. Confirm with the user first. Needs a LayerHop API key.
simulate_depositTEST MODE ONLY (lh_test_ key and a test deposit address): record a fake deposit so the integration can be tested end to end; it becomes a test order that settles with webhooks. The amount decides the outcome: base units ending in 4001 -> refunded, 4002 -> failed, anything else -> filled. Moves no real funds. Fails with a live key.
Alternatives in Crypto & Web3
Compare →
Chainflip Broker as a ServiceA
Native cross-chain swaps: Bitcoin, Ethereum, Solana, Polkadot, Tron, Arbitrum. Quote, swap, track.
CHChainstackA
Deploy and manage blockchain nodes across 70+ protocols, search docs, request testnet funds.
SXSingIt x402A
Web search, page reading, prices and market data for agents via x402, in USDC on Base or Solana.
HFHorus Flow MCPA
Crypto order flow, cross-venue derivatives and US market context for AI agents, with a track record.
INInsumerA
Wallet auth: send a wallet and conditions, get a signed boolean across 37 chains.
Alchemy MCP ServerA
Blockchain data across 100+ chains: token prices, NFTs, transfers, simulation, traces, Solana DAS