Bridge Rates MCP Server

Bridge Rates MCP Server

Real-time cross-chain bridge rates and routes for onchain AI agents

4
Stars
3
Forks
4
Watchers
2
Issues
Bridge Rates MCP Server provides an MCP-compliant server that delivers real-time cross-chain bridge rates, optimal transfer routes, and up-to-date information on supported blockchains and bridges. It enables seamless integration with MCP-compatible clients, such as Claude Desktop, to facilitate AI-driven decision-making for token transfers. The server fetches data from LI.FI and presents results in structured Markdown tables for easy consumption by AI models and agents.

Key Features

Fetch real-time cross-chain bridge rates for token pairs
Provide optimal transfer routes with detailed parameters
List supported blockchain networks from LI.FI
List supported bridges and exchanges for token transfers
Markdown table output format for easy parsing by AI models
Seamless integration with MCP-compatible clients
Node.js 18+ server implementation
Active development and MIT licensed
Supports gas cost and providers in rate queries
Customizable amount and token address parameters

Use Cases

Query and compare cross-chain token bridge rates for automated trading
Support decision-making for onchain AI and autonomous agents
Integrate with AI assistants like Claude Desktop for real-time bridge data
Aggregate and display supported blockchain networks for UI or bots
List and analyze available bridge providers for cross-chain transfers
Optimize token bridge transactions by evaluating multiple providers and routes
Automate routing of crypto assets across blockchains based on up-to-date rates
Build dashboards or bots that require current bridge and network information
Enhance smart contract or agent logic with current bridge and gas cost data
Facilitate research and analytics on cross-chain liquidity movements

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:

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

    bash
    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):

    json
    {
      "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.

Star History

Star History Chart

Repository Owner

kukapay
kukapay

User

Repository Details

Language JavaScript
Default Branch main
Size 26 KB
Contributors 1
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

JavaScript
100%

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Chainlink Feeds MCP Server

    Chainlink Feeds MCP Server

    Real-time Chainlink price feeds via the Model Context Protocol.

    Provides an MCP server that enables real-time access to Chainlink’s decentralized on-chain price feeds, designed for seamless integration with AI agents and autonomous systems. Supports multiple blockchain networks and hundreds of price feeds, allowing querying of latest prices, historical data (by round ID), and discovery of supported feeds and chains. Allows configuration of custom feeds and endpoints via a JSON file, and is optimized for integration into agents using standardized MCP tools and workflows. Features tight integration with tools like Claude Desktop and MCP Inspector for both natural language and programmatic querying.

    • 5
    • MCP
    • kukapay/chainlink-feeds-mcp
  • Uniswap Trader MCP

    Uniswap Trader MCP

    Automate token swaps on Uniswap across multiple blockchains for AI agents.

    Uniswap Trader MCP provides an MCP server interface enabling AI agents to automate token swaps on Uniswap V3 across several EVM-compatible blockchains. It offers real-time price quoting, optimized trade route suggestions, and direct execution of swaps with configurable slippage and deadlines. Multi-chain support allows seamless integration with networks such as Ethereum, Polygon, Arbitrum, and others for robust DeFi trading automation.

    • 34
    • MCP
    • kukapay/uniswap-trader-mcp
  • Funding Rates MCP

    Funding Rates MCP

    Real-time crypto funding rate comparison via Model Context Protocol

    Provides a Model Context Protocol (MCP) server delivering real-time funding rate data across major cryptocurrency exchanges. Enables agents and applications to query and compare funding rates, identify arbitrage opportunities, and output pivoted tables with calculated divergences. Integrates seamlessly with Claude Desktop for interactive AI-driven analysis.

    • 6
    • MCP
    • kukapay/funding-rates-mcp
  • Uniswap V3 Price MCP Server

    Uniswap V3 Price MCP Server

    Real-time Uniswap V3 token price server for AI agents and DeFi automation.

    Uniswap V3 Price MCP Server delivers real-time token prices from Uniswap V3 across major EVM-compatible networks, including Ethereum, Polygon, Arbitrum, and Optimism. Optimized for AI agents and DeFi automation, it queries token prices in USD or other stablecoins, with optional conversion via CryptoCompare. The server is designed for compatibility with MCP clients, enabling seamless and standardized integrations. Environment setup is straightforward, leveraging Infura endpoints and Node.js.

    • 2
    • MCP
    • kukapay/uniswap-price-mcp
  • Crypto Projects MCP Server

    Crypto Projects MCP Server

    AI-accessible server that delivers comprehensive cryptocurrency project data in structured formats.

    Crypto Projects MCP Server provides AI agents with detailed cryptocurrency project data sourced from Mobula.io, accessible via the Model Context Protocol (MCP). It offers both raw JSON and formatted Markdown outputs, making project information easy to parse and consume by large language models. The server features language customization and returns organized details including price, market data, tokenomics, links, investors, and more. Integration with tools like Claude Desktop is supported for seamless AI interactions.

    • 0
    • MCP
    • kukapay/crypto-projects-mcp
  • Chainlist MCP Server

    Chainlist MCP Server

    Fast, structured EVM chain info for AI agents via the Model Context Protocol

    Chainlist MCP Server enables AI agents and MCP-compatible clients to quickly access and search verified EVM blockchain data. It sources data from Chainlist.org and provides efficient REST-like tools for retrieving details by chain ID or searching by keyword. The server outputs structured Markdown responses, supporting AI context integration with tabulated RPC endpoints and explorers for clarity.

    • 2
    • MCP
    • kukapay/chainlist-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results