# LayerHop (npm · @layerhop/mcp)

Best-price cross-chain swap quotes across 70 chains (EVM + Solana). Holds no keys, never signs.

- Trust score: 74/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-10-22

## Components

- remote · `mcp.layerhop.com`: 68/100, [markdown](https://verifymcp.io/servers/com-layerhop-mcp/mcp.md), [page](https://verifymcp.io/servers/com-layerhop-mcp/mcp)
- npm · `@layerhop/mcp`: 74/100 (this document), [markdown](https://verifymcp.io/servers/com-layerhop-mcp/layerhop-mcp.md), [page](https://verifymcp.io/servers/com-layerhop-mcp/layerhop-mcp)

## Channel facts

- Registry: `npm`
- Package: `@layerhop/mcp`
- Version: `0.5.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-10-22.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 31 of 93 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 48/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 2 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 86/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 3646 tokens (~45/item across 81 items; 9 tools + 72 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 13/100
  - Stability observed for 4 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 9 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 11 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the LayerHop MCP server?

LayerHop runs locally as an npm package, launched with npx -y @layerhop/mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add com-layerhop-mcp -- npx -y @layerhop/mcp
```

### Cursor

```json
{
  "mcpServers": {
    "com-layerhop-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@layerhop/mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "com-layerhop-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@layerhop/mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add com-layerhop-mcp -- npx -y @layerhop/mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-layerhop-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@layerhop/mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-layerhop-mcp --command npx --arg -y --arg @layerhop/mcp
```

### Hermes

```yaml
mcp_servers:
  com-layerhop-mcp:
    command: "npx"
    args: ["-y", "@layerhop/mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "com-layerhop-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@layerhop/mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add com-layerhop-mcp -t stdio -c npx -a -y @layerhop/mcp
```

### Other

```json
{
  "mcpServers": {
    "com-layerhop-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@layerhop/mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-10-21 (score 74, +1)

No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-19 (score 73, +1)

No change was recorded against any check on this day. Stability & Change Management went from 0 to 3. That category is still filling its 30-day observation window: 0 days of observed history at the previous scan, 1 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-18 (score 72)

First indexed and scored.

## MCP tools (9)

### `list_chains` (~46 tokens)

List supported chains

List 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_tokens` (~94 tokens)

List tokens on a chain

List 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.

Input parameters:

- `chain` (string|number, required): The chain: slug ("base", "solana", "ethereum", "arbitrum"...) or numeric chain id (Solana is 7565164). See list_chains.

### `get_quote` (~588 tokens)

Get swap/bridge quotes

Get 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. Read-only: The LayerHop MCP server holds no private keys and never signs or broadcasts transactions. Always show the user the fees and output and get confirmation before proceeding.

Input parameters:

- `amount` (string|number, required): Amount to send in HUMAN units of fromToken as a decimal string, e.g. "100" for 100 USDC or "0.05" for 0.05 ETH. NOT base units/wei/lamports. Must be greater than 0.
- `fromChain` (string|number, required): Source chain: slug ("base", "solana", "ethereum", "arbitrum"...) or numeric chain id (Solana is 7565164). See list_chains.
- `fromToken` (string, required): Token to send (source) token: symbol from list_tokens ("USDC", "ETH", "SOL") or the token contract address / SPL mint. Use "native" for the chain's gas coin.
- `fromTokenDecimals` (integer): Only needed when fromToken is an address that is not in list_tokens: the token's decimals (e.g. 6 for USDC, 18 for most ERC-20s).
- `recipient` (string): Address that receives funds on the destination chain. Defaults to sender when both chains use the same VM; REQUIRED for EVM <-> Solana.
- `sender` (string, required): Wallet address that sends the funds on the source chain (0x... for EVM, base58 for Solana). Only used to build the quote; no access is needed.
- `slippageBps` (integer): Max slippage in basis points (1 bp = 0.01%). Default 50 (= 0.5%).
- `toChain` (string|number, required): Destination chain: slug ("base", "solana", "ethereum", "arbitrum"...) or numeric chain id (Solana is 7565164). See list_chains.
- `toToken` (string, required): Token to receive (destination) token: symbol from list_tokens ("USDC", "ETH", "SOL") or the token contract address / SPL mint. Use "native" for the chain's gas coin.
- `toTokenDecimals` (integer): Only needed when toToken is an address that is not in list_tokens: the token's decimals (e.g. 6 for USDC, 18 for most ERC-20s).

### `build_transaction` (~141 tokens)

Build the unsigned transaction for a quote

Turn 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 wants raw transaction data, after they confirmed the quote; otherwise give them the swap link.

Input parameters:

- `quoteId` (string, required): quoteId from get_quote (starts with "q_"). Quotes expire after a short time (see expiresAt).

### `simulate_transaction` (~124 tokens)

Dry-run a quote's transaction

Build 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 transactions.

Input parameters:

- `quoteId` (string, required): quoteId from get_quote (starts with "q_"). Quotes expire after a short time (see expiresAt).

### `report_submitted` (~127 tokens)

Report a broadcast transaction

Tell 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.

Input parameters:

- `quoteId` (string, required): quoteId from get_quote (starts with "q_"). Quotes expire after a short time (see expiresAt).
- `txHash` (string, required): Source-chain transaction hash (EVM 0x...) or Solana signature (base58).

### `get_order_status` (~102 tokens)

Get swap/bridge order status

Check 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.

Input parameters:

- `provider` (string, required): The provider of the quote that was executed (the `provider` field from get_quote / build_transaction).
- `txHash` (string, required): Source-chain transaction hash (EVM) or signature (Solana).

### `list_orders` (~116 tokens)

List orders for a wallet

List 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.

Input parameters:

- `address` (string, required): Wallet address (EVM 0x... or Solana base58).
- `cursor` (string): nextCursor from a previous list_orders call, for the next page.
- `limit` (integer): Max orders to return (default set by the API).
- `status` (string): Only orders with this status.

### `get_swap_link` (~386 tokens)

Get a layerhop.com swap link

Create 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.

Input parameters:

- `amount` (string|number): Amount to send in HUMAN units of fromToken as a decimal string, e.g. "100" for 100 USDC or "0.05" for 0.05 ETH. NOT base units/wei/lamports. Must be greater than 0.
- `fromChain` (string|number, required): Source chain: slug ("base", "solana", "ethereum", "arbitrum"...) or numeric chain id (Solana is 7565164). See list_chains.
- `fromToken` (string, required): Token to send (source) token: symbol from list_tokens ("USDC", "ETH", "SOL") or the token contract address / SPL mint. Use "native" for the chain's gas coin.
- `recipient` (string): Optional destination address to prefill (the user can still edit it).
- `slippageBps` (integer): Max slippage in basis points (1 bp = 0.01%). Default 50 (= 0.5%).
- `toChain` (string|number, required): Destination chain: slug ("base", "solana", "ethereum", "arbitrum"...) or numeric chain id (Solana is 7565164). See list_chains.
- `toToken` (string, required): Token to receive (destination) token: symbol from list_tokens ("USDC", "ETH", "SOL") or the token contract address / SPL mint. Use "native" for the chain's gas coin.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/com-layerhop-mcp/layerhop-mcp#diagnostics

## Score history

- 2026-10-22: 74
- 2026-10-21: 74
- 2026-10-20: 73
- 2026-10-19: 73
- 2026-10-18: 72

## Common questions

### What is the LayerHop MCP server?

LayerHop is an MCP server listed in the public MCP registry as com.layerhop/mcp. Best-price cross-chain swap quotes across 70 chains (EVM + Solana). Holds no keys, never signs. This page covers its npm package (@layerhop/mcp).

### Is the LayerHop MCP server safe to use?

LayerHop scores 74 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 22 October 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the LayerHop MCP server expose?

LayerHop exposes 9 tools: list_chains, list_tokens, get_quote, build_transaction, simulate_transaction, and 4 more. Their descriptions and schemas cost roughly 1,724 tokens of context every time the server is loaded.

### Is the LayerHop MCP server still maintained?

LayerHop is still listed as active in the MCP registry. We last reached this channel on 22 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the LayerHop MCP server under?

LayerHop declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@layerhop/mcp
- Socket report: https://socket.dev/npm/package/@layerhop/mcp
- Repository: https://github.com/layerhop/layerhop-js
- Website: https://docs.layerhop.com/guides/ai-agents
- Changelog RSS feed: https://verifymcp.io/servers/com-layerhop-mcp/layerhop-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-layerhop-mcp/layerhop-mcp.json
- HTML version of this page: https://verifymcp.io/servers/com-layerhop-mcp/layerhop-mcp
