API Tools
layerhop.com
LayerHop provides API tools for listing supported chains and tokens, quoting token swaps or bridges across EVM and Solana, and building or simulating unsigned transactions for user wallets to sign.
ENDPOINT 1
https://mcp.layerhop.com/mcp
MCP server metadata
- Name
- layerhop
- Version
- 0.9.0
LayerHop finds the best-priced route for cross-chain and same-chain token swaps (EVM chains and Solana) across many liquidity providers. The LayerHop MCP server holds no private keys and never signs or broadcasts transactions. Amounts in tool inputs are HUMAN decimal strings in the token's own units ("100" = 100 USDC, "0.05" = 0.05 ETH), never base units. Outputs show human amounts; fields named *BaseUnits are integers in the token's smallest unit. Safe workflow: list_chains / list_tokens if unsure -> get_quote -> show the user output, minimum received, every fee and the ETA -> get explicit confirmation -> prefer giving the user the swapLink (or get_swap_link) so they review and sign in their own wallet on layerhop.com. Only use build_transaction when the user has their own signer and asks for raw transaction data; never ask for or accept private keys or seed phrases. Before a user buys or receives a token that is unverified or unfamiliar, call get_token_risk and show any caution or danger reasons. When get_quote fails with NO_ROUTE, the error may list alternatives that do quote (another destination or source token, or two steps through a hub): offer them, never switch silently. Gasless quotes (typed data) and Tron transactions can't be signed or completed through this server: give the user the swap link. Limit orders (create_limit_order and friends) return UNSIGNED transactions (Solana) or EIP-712 typed data to sign (EVM, CoW Protocol): only the maker's own wallet signs them; submit_limit_order only relays an already-made signature. Deposit addresses (create_deposit_address and friends, API key required) let a user swap or bridge by just sending a token to an address. When you show one, always tell the user: send ONLY that token on that chain (anything else may be lost), at least $1 worth, and refunds go to refundTo, which must be their own address, never an exchange deposit address. Test-key addresses are fake: never send real funds; use simulate_deposit.
Known tools 22
list_chainsList every blockchain LayerHop can swap from or to: slug, numeric chain id, name, VM type (evm or svm = Solana) and native coin.
Inferred read-onlylist_tokensList LayerHop's built-in tokens on one chain (symbol, contract address or mint, decimals).
Inferred read-onlyget_quoteGet the best price to swap or bridge tokens, within one chain or across chains (EVM <-> Solana).
Inferred read-onlybuild_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}.
Potential side effectssimulate_transactionBuild 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.
Inferred read-onlyreport_submittedTell LayerHop that the user's wallet broadcast the transaction for a quoteId, so the order is tracked (status, webhooks).
Inferred read-onlyget_order_statusCheck 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).
Inferred read-onlylist_ordersList LayerHop orders (swaps built or submitted through LayerHop) where the address is the sender or recipient, newest first, with status.
Inferred read-onlylookup_tokenGet one token's symbol, name, decimals, USD price and verified flag from its contract address or SPL mint.
Inferred read-onlyget_token_riskSafety report for a token before the user buys or receives it: honeypot (can't sell), buy/sell/transfer taxes, owner powers (mint, blacklist, pause, freeze), unpublished code, few holders, and fake majors (a token calling itself USDC/ETH/SOL at the wrong address).
Potential side effectslist_limit_ordersList limit orders (Solana: Jupiter Trigger; EVM: CoW Protocol) of a wallet, or of the API key's account without a wallet: what is sold, the minimum received, status (built, open, filled, cancelled, expired, failed) and fills.
Inferred read-onlyget_limit_orderGet one limit order with its fills (each fill is an order whose quoteId starts with lof_).
Inferred read-onlycreate_limit_orderBuild a limit order: sell sellAmount of sellToken once the market gives at least minReceive of buyToken.
Inferred read-onlysubmit_limit_orderSend a limit order's create or cancel step AFTER the maker's own wallet signed it (from create_limit_order or cancel_limit_order): the signed Solana transaction, or the EIP-712 signature of an EVM order.
Potential side effectscancel_limit_orderCancel an open limit order: returns the UNSIGNED cancel transaction (Solana) or the cancellation typed data (EVM, no gas) for the maker's wallet to sign, then submit_limit_order.
Inferred read-onlycreate_deposit_addressCreate an address the user sends tokens to; every deposit is swapped/bridged and delivered as toToken on toChain to recipient.
Potential side effectslist_deposit_addressesList the deposit addresses of the API key's account and mode (live or test), newest first: address, route, status, deposit count.
Inferred read-onlyget_deposit_addressGet 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.
Inferred read-onlyrefresh_deposit_addressAsk LayerHop to check a deposit address for new deposits right away (instead of waiting for the next scheduled check).
Inferred read-onlydisable_deposit_addressDisable a deposit address: LayerHop stops tracking it (no more orders or webhooks for it).
Inferred read-onlysimulate_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.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.layerhop]
url = "https://mcp.layerhop.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"layerhop": {
"type": "http",
"url": "https://mcp.layerhop.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: layerhop
Remote MCP URL: https://mcp.layerhop.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"layerhop": {
"url": "https://mcp.layerhop.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"layerhop": {
"type": "http",
"url": "https://mcp.layerhop.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "layerhop",
"transport": "streamable-http",
"url": "https://mcp.layerhop.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.