bridge-rates-mcp
ブリッジレートMCPサーバー
オンチェーン AI エージェントによる意思決定をサポートするために、リアルタイムのクロスチェーン ブリッジ レートと最適な転送ルートを提供する MCP サーバー。
特徴
ブリッジ レートの取得: USD 値、ガス コスト、ルート プロバイダー、タグなど、Markdown テーブルに表示されるトークン ペアのクロスチェーン ブリッジ レートを取得します。
サポートされているチェーンのリスト: LI.FI でサポートされているブロックチェーン ネットワークの並べ替えられたリストを取得します。
サポートされているブリッジの一覧: クロスチェーン転送に使用できるブリッジと取引所の並べ替えられたリストを取得します。
Related MCP server: chainlink-feeds-mcp
前提条件
Node.js : バージョン 18 以上。
npm :依存関係管理用。
MCP クライアント: サーバーと対話するための MCP 互換クライアント (例: Claude Desktop)。
インストール
リポジトリのクローンを作成します:
git clone https://github.com/kukapay/bridge-rates-mcp.git cd bridge-rates-mcp依存関係をインストール:
npm installMCPクライアントとの統合:MCPクライアント(例:Claude Desktop)をサーバーに接続するための設定を行います。Claude Desktopの場合は、設定ファイル(例:Macの場合は
~/Library/Application Support/Claude/claude_desktop_config.json、Windowsの場合は%APPDATA%\Claude\claude_desktop_config.json)を編集します。{ "mcpServers": { "bridge-rates": { "command": "node", "args": ["/absolute/path/to/bridge-rates-mcp/index.js"] } } }Claude Desktop を再起動し、ツールが利用可能であることを確認します (ハンマー アイコンを探します)。
ツール
1. getBridgeRates
2 つのチェーン間のトークン ペアのクロスチェーン ブリッジ レートを取得し、利用可能なすべてのルートを Markdown テーブルで返します。
パラメータ:
fromChainId(文字列、必須): ソースチェーン ID (例: Ethereum の場合は "1")。toChainId(文字列、必須): 宛先チェーン ID (例: Optimism の場合は「10」)。fromTokenAddress(文字列、必須): ソーストークン契約アドレス。toTokenAddress(文字列、必須): 宛先トークン契約アドレス。fromAmount(文字列、オプション): 最小トークン単位でブリッジする金額 (デフォルト: "10000000")。
プロンプトの例:
What's the bridge rate from Arbitrum USDC to Optimism DAI?出力例:
| 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
LI.FI がクロスチェーン ブリッジング用にサポートするチェーンの並べ替えられたリストを取得し、Markdown テーブルで表示します。
パラメータ: なし。
プロンプトの例:
List all supported chains for bridging.出力例:
| 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
LI.FI でサポートされているブリッジと取引所の並べ替えられたリストを取得し、Markdown テーブルで表示します。
パラメータ: なし。
プロンプトの例:
List all supported bridges for cross-chain bridging.出力例:
| Key | Name | Type |
|---------------|---------------------|----------|
| across | Across | BRIDGE |
| connext | Connext | BRIDGE |
| hop | Hop Protocol | BRIDGE |
| sushiswap | SushiSwap | EXCHANGE |
| uniswap | Uniswap | EXCHANGE |ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server for building and testing AI agents with multi-model experimentation and insights.
An MCP memory server. One memory your agents share — across models, devices and apps.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
AlicenseCqualityDmaintenanceAn MCP server providing unified access to blockchain operations, bridging, swapping, and crypto trading strategies for AI agents.37178GPL 3.0- AlicenseBqualityDmaintenanceAn MCP server that provides real-time access to Chainlink's decentralized on-chain price feeds, optimized for seamless integration into AI agents and autonomous systems.57MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server designed for AI agents to perform optimal token swaps on the Sui blockchain.6MIT
- AlicenseAqualityDmaintenanceCross-chain bridge aggregator MCP server for AI agents. Compares routes across LI.FI, deBridge, Relay, Across and Squid to find the best rate. Use when an agent needs to bridge or swap tokens between EVM chains, Solana, or Cosmos. The aggregator of aggregators.1285 npmMIT