
kukapay/funding-rates-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
An MCP server that provides real-time funding rate data across major crypto exchanges.
概要
An MCP server that provides real-time funding rate data across major crypto exchanges, enabling agents to detect arbitrage opportunities. - : Fetches current funding across Binance, OKX, Bybit, Bitget, Gate and CoinEx. - : Displays symbols as rows, exchanges as columns, and includes a Divergence column for max funding rate difference. - : Runs as an MCP server for interactive queries. - Python 3.10+ - uv for dependency management - Claude Desktop (optional, for interactive queries) - Git To use with Claude Desktop: 1. Edit the Claude configuration file: - : ~/Library/Application Support/Claude/claude_desktop_config.json - : %APPDATA%\Claude\claude_desktop_config.json 2. Add the MCP server: 3. Restart Claude Desktop. Look for the hammer icon to confirm integration.
README
以下は原文 README の抜粋です。原文を見る。
Funding Rates MCP
An MCP server that provides real-time funding rate data across major crypto exchanges, enabling agents to detect arbitrage opportunities.
Features
- Real-Time Funding Rates: Fetches current funding across Binance, OKX, Bybit, Bitget, Gate and CoinEx.
- Pivoted Table Output: Displays symbols as rows, exchanges as columns, and includes a
Divergencecolumn for max funding rate difference. - Claude Desktop Integration: Runs as an MCP server for interactive queries.
Installation
Prerequisites
- Python 3.10+
- uv for dependency management
- Claude Desktop (optional, for interactive queries)
- Git
Steps
-
Clone the Repository:
git clone https://github.com/kukapay/funding-rates-mcp.git cd funding-rates-mcp -
Set Up Dependencies with uv:
uv sync -
Configuring Claude Desktop:
To use with Claude Desktop:
- Edit the Claude configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the MCP server:
{ "mcpServers": { "funding-rates-mcp": { "command": "uv", "args": ["--directory", "/absolute/path/to/funding-rates-mcp", "run", "funding-rates-mcp"] } } } - Restart Claude Desktop. Look for the hammer icon to confirm integration.
- Edit the Claude configuration file:
Usage
Tools
The server provides the following MCP tool for querying funding rates:
compare_funding_rates:- Description: Compares current funding rates for multiple symbols across specified exchanges, returning a pivoted Markdown table with a
Divergencecolumn showing the maximum funding rate difference for each symbol. - Parameters:
symbols(List[str]): List of trading pairs (e.g.,["BTC/USDT:USDT", "ETH/USDT:USDT"]). Required.exchanges(List[str], optional): List of exchanges to compare (e.g.,["binance", "okx"]). Defaults to all supported exchanges (binance,okx,bybit,bitget,gate,coinex).params(Dict, optional): Additional parameters for the API call. Defaults to{}.
- Returns: A Markdown table with symbols as rows, exchanges as columns, funding rates as values (formatted as percentages), and a
Divergencecolumn. - Example: See the Examples section below.
- Description: Compares current funding rates for multiple symbols across specified exchanges, returning a pivoted Markdown table with a
Prompts
The server includes the following MCP prompt for generating natural language queries:
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"funding-rates-mcp": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/funding-rates-mcp", "run", "funding-rates-mcp"]
}
}
}