An MCP server that streams real-time crypto-exchange funding rates, returning a pivoted table so agents (or Claude Desktop) can spot arbitrage opportunities.
https://github.com/kukapay/funding-rates-mcpStop manually checking funding rates across six different exchange tabs. This MCP server aggregates real-time funding rate data from Binance, OKX, Bybit, Bitget, Gate, and CoinEx into a single pivoted table that highlights arbitrage opportunities with a calculated divergence column.
You're trading derivatives and need to monitor funding rates across exchanges to catch arbitrage opportunities. Right now, you're probably:
Meanwhile, funding rate arbitrage opportunities appear and disappear within minutes.
This server connects to six major exchanges simultaneously and returns funding rate data in a format designed for opportunity detection:
| Symbol\Exchange | binance | okx | bybit | bitget | gate | coinex | Divergence |
|-----------------|-----------|-----------|-----------|-----------|-----------|-----------|------------|
| BTC/USDT:USDT | 0.005161% | 0.007548% | 0.010000% | 0.002900% | -0.019200% | -0.035013% | 0.045013% |
| ETH/USDT:USDT | 0.010000% | 0.005839% | 0.010000% | 0.010000% | -0.008200% | 0.000000% | 0.018200% |
That Divergence column is where the money lives - it shows you exactly where the biggest funding rate gaps exist.
Funding Rate Arbitrage: When BTC shows 0.045% divergence (like above), you can go long on the exchange paying the highest funding rate and short on the one with the lowest rate, collecting the difference every 8 hours.
Risk Management: Before opening large perpetual positions, check if you're about to pay excessive funding rates compared to other exchanges.
Market Analysis: Funding rate divergences often signal market stress or opportunity. Large negative rates on one exchange while others stay positive? Something's happening.
Automated Trading Integration: Feed this data directly into your trading algorithms instead of building separate exchange connectors.
Ask Claude in natural language: "Compare funding rates for BTC, ETH, and SOL across all exchanges" and get an immediate table showing exactly where opportunities exist. No need to remember exchange APIs or data formats.
The server includes intelligent prompts that let Claude understand exactly what you're looking for, whether that's specific exchange comparisons or broad market scans.
git clone https://github.com/kukapay/funding-rates-mcp.git
cd funding-rates-mcp
uv sync
Add to your Claude Desktop config:
{
"mcpServers": {
"funding-rates-mcp": {
"command": "uv",
"args": ["--directory", "/path/to/funding-rates-mcp", "run", "funding-rates-mcp"]
}
}
}
Uses CCXT for reliable exchange connections and pandas for fast data pivoting. The server handles all the API complexity, rate limiting, and data normalization - you just get clean, actionable results.
Whether you're scanning for quick arbitrage opportunities or building more sophisticated trading strategies, this MCP server eliminates the manual work of funding rate monitoring and puts the data in a format that actually helps you make decisions.
The funding rate market moves fast. Your tooling should keep up.