npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bridge-rates-mcp

v1.0.0

Published

An MCP server that delivers real-time cross-chain bridge rates and optimal transfer routes to support decision-making by onchain AI agents.

Readme

Bridge Rates MCP Server

An MCP server that delivers real-time cross-chain bridge rates and optimal transfer routes to support decision-making by onchain AI agents.

Discord License Node.js Status

Features

  • Get Bridge Rates: Retrieve cross-chain bridge rates for token pairs, including USD values, gas costs, route providers and tags, presented in a Markdown table.
  • List Supported Chains: Fetch a sorted list of blockchain networks supported by LI.FI.
  • List Supported Bridges: Obtain a sorted list of bridges and exchanges available for cross-chain transfers.

Prerequisites

  • Node.js: Version 18 or higher.
  • npm: For dependency management.
  • MCP Client: An MCP-compatible client (e.g., Claude Desktop) to interact with the server.

Installation

  1. Clone the Repository:

    git clone https://github.com/kukapay/bridge-rates-mcp.git
    cd bridge-rates-mcp
  2. Install Dependencies:

    npm install
  3. Integrate with an MCP Client: Configure your MCP client (e.g., Claude Desktop) to connect to the server. For Claude Desktop, edit the configuration file (e.g., ~/Library/Application Support/Claude/claude_desktop_config.json on Mac or %APPDATA%\Claude\claude_desktop_config.json on Windows):

    {
      "mcpServers": {
        "bridge-rates": {
          "command": "node",
          "args": ["/absolute/path/to/bridge-rates-mcp/index.js"]
        }
      }
    }

    Restart Claude Desktop and verify the tools are available (look for the hammer icon).

Tools

1. getBridgeRates

Fetches cross-chain bridge rates for a token pair between two chains, returning all available routes in a Markdown table.

Parameters:

  • fromChainId (string, required): Source chain ID (e.g., "1" for Ethereum).
  • toChainId (string, required): Destination chain ID (e.g., "10" for Optimism).
  • fromTokenAddress (string, required): Source token contract address.
  • toTokenAddress (string, required): Destination token contract address.
  • fromAmount (string, optional): Amount to bridge in the smallest token unit (default: "10000000").

Example Prompt:

What's the bridge rate from Arbitrum USDC to Optimism DAI?

Example Output:

| From Amount | From Amount USD | To Amount | To Amount USD | To Amount Min | Gas Cost USD | Providers | Tags                 |
|-------------|-----------------|-----------|---------------|---------------|--------------|-----------|----------------------|
| 10000000    | 10.00           | 9980000   | 9.98          | 9940000       | 0.2300       | hop       | RECOMMENDED,CHEAPEST |
| 10000000    | 10.00           | 9975000   | 9.97          | 9935000       | 0.2500       | connext   | None                 |

2. getSupportedChains

Fetches a sorted list of chains supported by LI.FI for cross-chain bridging, presented in a Markdown table.

Parameters: None.

Example Prompt:

List all supported chains for bridging.

Example Output:

| Chain Type | ID | Key | Name          | Native Token |
|------------|----|-----|---------------|--------------|
| EVM        | 1  | eth | Ethereum      | ETH          |
| EVM        | 10 | opt | Optimism      | ETH          |
| EVM        | 137| pol | Polygon       | MATIC        |
| SVM        | 101| sol | Solana        | SOL          |

3. getSupportedBridges

Fetches a sorted list of bridges and exchanges supported by LI.FI, presented in a Markdown table.

Parameters: None.

Example Prompt:

List all supported bridges for cross-chain bridging.

Example Output:

| Key           | Name                | Type     |
|---------------|---------------------|----------|
| across        | Across              | BRIDGE   |
| connext       | Connext             | BRIDGE   |
| hop           | Hop Protocol        | BRIDGE   |
| sushiswap     | SushiSwap           | EXCHANGE |
| uniswap       | Uniswap             | EXCHANGE |

License

This project is licensed under the MIT License. See the LICENSE file for details.