About LayerHop
LayerHop is an MCP server for agents that need swap information across EVM and Solana chains. It provides quotes with fee details and prepared swap links, while leaving signing and broadcasting to the user's wallet.
Key features
- 01List supported chains and tokens
- 02Quote same-chain and cross-chain swaps
- 03Show itemized fees
- 04Build and simulate transactions
- 05Track orders and deposits
- 06Create prefilled swap links
Use cases
- 01Compare swap quotes across chains
- 02Review fees before a wallet signs
- 03Prepare a swap link for a user
MCP support
The server exposes chain, token, quote, transaction, order, and deposit tools to MCP clients. It does not hold private keys, sign, or broadcast transactions.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.layerhop.com/mcpclaude mcp add --transport http com-layerhop https://mcp.layerhop.com/mcp{"mcpServers":{"com-layerhop":{"type":"http","url":"https://mcp.layerhop.com/mcp"}}}Open in Cursor{"servers":{"com-layerhop":{"type":"http","url":"https://mcp.layerhop.com/mcp"}}}Open in VS Code{"mcpServers":{"com-layerhop":{"type":"http","url":"https://mcp.layerhop.com/mcp"}}}{"mcpServers":{"com-layerhop":{"serverUrl":"https://mcp.layerhop.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project README@layerhop/mcp
Model Context Protocol server for LayerHop: AI agents (Claude, ChatGPT, Cursor, …) can list chains and tokens, get best-price cross-chain / same-chain swap quotes with every fee spelled out, and hand the user a prefilled swap link.
The server holds no private keys and never signs or broadcasts. The user's own wallet signs.
Listed in the official MCP Registry as com.layerhop/mcp.
# stdio (Claude Desktop, Claude Code, Cursor, …)
npx -y @layerhop/mcp
claude mcp add layerhop -- npx -y @layerhop/mcp
# hosted, Streamable HTTP
claude mcp add --transport http layerhop https://mcp.layerhop.com/mcp
# self-host over HTTP: POST /mcp, GET /healthz
npx -y @layerhop/mcp --http --port 8090 --host 0.0.0.0
Env: LAYERHOP_API_URL (default https://api.layerhop.com), LAYERHOP_API_KEY (optional; required for deposit addresses), LAYERHOP_INTEGRATOR (optional partner id), LAYERHOP_APP_URL (default https://layerhop.com).
Tools: list_chains, list_tokens, get_quote, get_swap_link, build_transaction, simulate_transaction, report_submitted, get_order_status, list_orders, plus deposit addresses (API key required): create_deposit_address, list_deposit_addresses, get_deposit_address, refresh_deposit_address, disable_deposit_address, simulate_deposit (test keys only). Amounts in tool inputs are human decimals ("100" = 100 USDC).
Full guide: https://docs.layerhop.com/guides/ai-agents
MIT licensed.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.