v0.2.0 — LIVE

Funding Rate Intelligence
for AI Agents

MCP server that scans funding rate arbitrage across Binance, OKX, and Bybit. Analysis only — no execution, no custody, no access to your funds.

terminal
scan_cross_exchange_arbitrage --top 20 --min-spread 0.03
# Response:
{
  "pair": "ETH/USDT",
  "long_exchange": "binance", "long_rate": -0.0120,
  "short_exchange": "bybit", "short_rate": 0.0350,
  "spread": 0.0470, "annualized": "51.47%"
}

A Model Context Protocol server that gives AI agents real-time access to crypto funding rate data, carry trade opportunities, and position risk analysis. Plug it into any MCP-compatible client and let your agent find alpha.

Cross-Exchange FR Scanner

Compare funding rates across Binance, OKX, and Bybit. Find the widest spreads for perp-perp arbitrage.

Position Analysis

Health checks on open positions — cost tracking, trend detection, risk scoring, and regime analysis.

Real-time, 3 Exchanges

Live data from Binance, OKX, and Bybit. Rate-limited, cached, and normalized.

01
scan_single_exchange_carry_trade

Single-exchange carry trade (5 modes). Supports top N by volume

02
scan_cross_exchange_arbitrage

Cross-exchange funding rate spread arbitrage

03
get_historical_rates_7d

7-day funding rate history

04
analyze_position

Position health check — cost, trend, risk

05
analyze_position_pro Coming Soon

OU model + HMM regime detection

B
Binance
8h settlement
OK
OKX
8h settlement
By
Bybit
8h settlement
scan_cross_exchange_arbitrage
Cross-Exchange FR Spread

Same pair on two exchanges with different funding rates. Long the lower-rate exchange, short the higher-rate exchange. Earn the spread.

Example: ETH/USDT — long on Binance (-0.01%), short on OKX (+0.04%) = 0.05% spread per settlement
scan_single_exchange_carry_trade
5 Carry Trade Modes
1
spot_long_um_short — Buy spot + short UM perp (positive FR)
2
spot_long_cm_short — Buy spot + short CM perp (positive FR)
3
um_cm_hedge — UM vs CM rate differential hedge
4
borrow_short_um_long — Borrow + short spot + long UM (negative FR)
5
borrow_short_cm_long — Borrow + short spot + long CM (negative FR)

Remote (Recommended)

Connect any MCP client to the hosted endpoint. No setup needed.

https://mcp.0xcarry.com

Claude Desktop Config

{
  "mcpServers": {
    "0xcarry": {
      "url": "https://mcp.0xcarry.com"
    }
  }
}

Local (stdio)

Run the MCP server locally for development or self-hosting.

# Clone and build
git clone https://github.com/ichoyb/0xCarry.git
cd 0xCarry
npm install
npm run build

# Start (stdio mode)
npm start

# Or HTTP mode
npm start -- --http --port 3000