bridge-rates-mcp
桥接速率 MCP 服务器
MCP 服务器提供实时跨链桥接速率和最优传输路径,支持链上 AI 代理的决策。
特征
获取桥接率:检索代币对的跨链桥接率,包括美元价值、gas 成本、路线提供商和标签,以 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 install与 MCP 客户端集成:配置您的 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
获取两个链之间的代币对的跨链桥接率,返回 Markdown 表中所有可用的路由。
参数:
fromChainId(字符串,必需):源链 ID(例如,以太坊为“1”)。toChainId(字符串,必需):目标链 ID(例如,“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…
This server cannot be deployed
Maintenance
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.1291 npmMIT