Rubin Exchange for Claude Code
trade.rubin/exchange
Rubin: self-custody DEX for crypto perpetuals & spot - trade, read positions, orders, balances.
client:Claude Code
transport:streamable-http
tools:33
Install Rubin Exchange in Claude Code
run in your project directory
claude mcp add --transport http exchange https://mcp.mainnet.rubin.trade/mcp
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs
What Claude Code can do once it is connected
- whoami
- get_block_height
- list_markets
- get_market
- get_orderbook
- get_candles
- get_candles_multi
- get_balance
- get_equity
- get_positions
- get_open_orders
- get_portfolio
- get_position_risk
- get_fills
- get_pnl
- get_funding_status
- deposit_to_subaccount
- top_up_gas
- place_limit_order
- place_market_order
- cancel_order
- cancel_all_orders
- batch_cancel
- place_stop_loss