Skip to content
MCP server

LayerHop

Best-price cross-chain swap quotes across 70 chains, with no keys held or signing

Install
Pricing
Open source
Platforms
API, CLI, self-hosted
Runs
Locally or Remotely
Version
0.5.0
Listing updated
2 days ago

About LayerHop

LayerHop is an open-source MCP server for finance and payments. It can run locally on your machine or as a hosted remote server.

An agent can ask for the cheapest way to move a token between EVM chains or to Solana and get live quotes with every fee itemized. It then either hands the user a prefilled swap link to review and sign on layerhop.com or, for agents that already have a user-controlled signer, returns an unsigned transaction. The server never holds keys and never signs or broadcasts.

Beyond quotes there are order tracking tools, a token lookup with a risk check, Solana limit orders that only produce unsigned transactions, and deposit-address tools that require an API key. Amounts are given as human decimals, so "100" means 100 USDC.

It runs hosted over Streamable HTTP with no OAuth, or locally over stdio via npm. Without a key it works under a per-IP rate limit; a key from the dashboard raises limits, and a partner id adds your fee to quotes and links. The package is MIT licensed.

Install

Run in a terminal

claude mcp add --transport http mcp https://mcp.layerhop.com/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.layerhop.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.layerhop.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.layerhop.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.layerhop.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.layerhop.com/mcp"
    }
  }
}

Configuration

  • LAYERHOP_API_KEYOptional LayerHop API key from dashboard.layerhop.com, for higher rate limits
  • LAYERHOP_INTEGRATOROptional partner ID, so swaps made through your agent earn your partner fee

Tools this server provides (22)

Taken from the project documentation; the running server may differ.

list_chains
Lists supported chains.
list_tokens
Lists tokens on a chain.
get_quote
Gets a best-price swap quote with fees.
get_swap_link
Returns a prefilled swap link for the user.
build_transaction
Prepares an unsigned transaction.
simulate_transaction
Simulates a prepared transaction.
report_submitted
Reports a transaction as submitted.
get_order_status
Checks the status of an order.
list_orders
Lists orders.
lookup_token
Looks up a token.
get_token_risk
Returns risk information for a token.
create_limit_order
Creates a Solana limit order as an unsigned transaction.
submit_limit_order
Submits a Solana limit order.
list_limit_orders
Lists limit orders.
get_limit_order
Gets one limit order.
cancel_limit_order
Cancels a limit order.
create_deposit_address
Creates a deposit address (API key required).
list_deposit_addresses
Lists deposit addresses.
get_deposit_address
Gets one deposit address.
refresh_deposit_address
Refreshes a deposit address.
disable_deposit_address
Disables a deposit address.
simulate_deposit
Simulates a deposit (test keys only).

What it does

Itemized swap quotes
Best-price cross-chain and same-chain quotes with every fee shown.
Non-custodial
Holds no private keys and never signs or broadcasts.
Prefilled swap links
Hands users a link to review and sign in their own wallet.
Solana limit orders
Create and cancel limit orders as unsigned transactions.
Deposit addresses
Create and manage deposit addresses with an API key.
Hosted or local
Remote Streamable HTTP or an npx stdio server.

Good for

  • Find the cheapest route for 100 USDC from Base to Solana
  • Check a token's risk before swapping
  • Track the status of a submitted swap order
  • Let a wallet-equipped agent build unsigned transactions

Pricing

Open source

MIT-licensed package; optional API key for higher rate limits

Prices change. Check docs.layerhop.com before you buy.

LayerHop FAQ

Can it move my funds?

No. It holds no keys and never signs; your wallet signs every swap.

Do I need an API key?

No. It works anonymously under a per-IP limit; deposit-address tools always need a key.

How many tools are there?

The docs describe fifteen tools; the README names more, including limit orders and deposit addresses.

Can I self-host it?

Yes, run npx -y @layerhop/mcp --http to serve over HTTP.

Is LayerHop free?

Yes. LayerHop is open source, so you can use and self-host it for free.

How do I add LayerHop to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.layerhop.com/mcp

What are the best alternatives to LayerHop?

The closest alternatives to LayerHop are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

Alternatives to LayerHop

  1. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  2. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  3. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments
  4. Stock scores, what a price assumes, earnings quality and quiet profit revisions

    • 11 tools
    • Remote
    • Free
    • Finance and payments
  5. Provyan

    MCP server

    Backtested crypto signal results on 94 coins, with luck odds and sources

    • 4 tools
    • Remote
    • Free
    • Finance and payments
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government