Derive MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Derive MCP Server show me the liquid SOL options chain for the nearest expiry"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Derive MCP Server
Experimental version. This MCP server is still experimental and should not be treated as production-grade trading infrastructure. Tool names, response shapes, lifecycle helpers, and operational behavior may change. Review every action carefully before using it with live funds.
An MCP (Model Context Protocol) server for Derive (formerly Lyra), built for AI assistants that need structured market data, account visibility, raw execution primitives, and safer lifecycle helpers for derivatives trading.
This repo currently exposes 52 tools total:
43 core Derive tools mapped from the API
8 lifecycle and audit tools layered on top
1
auth_statusmeta tool for runtime capability checks
It works with Claude Code, Claude Desktop, and any MCP client that supports stdio.
What It Covers
Public market data: options chains, tickers, instruments, trade history, charts, funding, liquidations, rates
Authenticated account data: subaccounts, notifications, positions, portfolio summary, margin, transfers, session keys
Raw execution: place/replace/cancel orders, RFQ flows, open orders, order history, private trade history
Operational controls: cancel-on-disconnect and market maker protection (MMP)
Lifecycle helpers: normalized receipts, audit logging, RFQ polling, quote acceptance, multi-leg margin checks, reconciliation
Related MCP server: hyperliquid-mcp
What It Looks Like In Use
You: "Show me the liquid SOL options chain for the nearest expiry"
Client: [calls get_options_chain] -> structured chain with bid/ask/mark/IV/greeks
You: "Check my current Derive portfolio"
Client: [calls get_portfolio_summary] -> balance, positions, aggregate greeks, PnL
You: "Buy 0.1 of this contract and verify the fill"
Client: [calls place_and_verify] -> normalized receipt, warnings, audit log event
You: "Price this two-leg spread through RFQ and execute the best quote"
Client: [calls create_rfq -> await_rfq_quotes -> accept_rfq_quote]Quick Start
1. Install
git clone https://github.com/yashhsm/derive-mcp-server.git
cd derive-mcp-server
npm install
npm run buildRequires Node.js >=18.
2. Choose an auth mode
You can run the server in three modes:
Mode | Required env | What it unlocks |
Public only | none | Public market data and chart tools only |
API key |
| Authenticated private requests that do not require local EIP-712 signing |
Session-key trading |
| Signed order placement and RFQ quote execution |
Notes:
DERIVE_SUBACCOUNT_IDis effectively required for signed trading flows because order signing uses the default subaccount from env.Legacy aliases are also supported:
LYRA_SESSION_PRIVATE_KEY,LYRA_WALLET_ADDRESS,LYRA_SUBACCOUNT_ID.DERIVE_TESTNET=trueswitches the server tohttps://api-demo.lyra.finance.DERIVE_API_URLcan override the base URL directly.
Example env file:
mkdir -p ~/.config/derive-mcp
cat > ~/.config/derive-mcp/env << 'EOF'
# Signed trading mode
DERIVE_SESSION_PRIVATE_KEY=your_session_key_here
DERIVE_WALLET_ADDRESS=0xyourwallet
DERIVE_SUBACCOUNT_ID=123
# Optional alternatives / overrides
# DERIVE_API_KEY=your_api_key_here
# DERIVE_TESTNET=true
# DERIVE_API_URL=https://api.lyra.finance
EOF
chmod 600 ~/.config/derive-mcp/env3. Create a launcher script
This keeps secrets out of repo config and works for public-only mode too.
mkdir -p ~/.local/bin
cat > ~/.local/bin/derive-mcp-launcher << 'SCRIPT'
#!/bin/bash
set -euo pipefail
DERIVE_SERVER="/absolute/path/to/derive-mcp-server/dist/index.js"
DERIVE_ENV_FILE="${DERIVE_ENV_FILE:-$HOME/.config/derive-mcp/env}"
if [ -f "$DERIVE_ENV_FILE" ]; then
set -a
. "$DERIVE_ENV_FILE"
set +a
fi
exec node "$DERIVE_SERVER" "$@"
SCRIPT
chmod +x ~/.local/bin/derive-mcp-launcher4. Add it to your MCP client
Generic stdio example:
{
"mcpServers": {
"derive": {
"command": "/Users/you/.local/bin/derive-mcp-launcher"
}
}
}Claude Code (~/.claude.json):
{
"mcpServers": {
"derive": {
"type": "stdio",
"command": "/Users/you/.local/bin/derive-mcp-launcher"
}
}
}Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"derive": {
"command": "/Users/you/.local/bin/derive-mcp-launcher"
}
}
}Recommended Tooling Patterns
If you are building an agent on top of this server, these are the safest defaults:
Start with
auth_statusto see which capabilities are actually available at runtime.Start with
get_options_chainfor options analysis, notget_ticker.Use
get_tickersfor executable options quotes from market makers; useget_instruments(compact=true)alongside it when you need lot sizes.Prefer
place_and_verifyover rawplace_orderif you want normalized receipts, error classification, and audit logging.Prefer
create_rfq,await_rfq_quotes, andaccept_rfq_quoteover raw RFQ tools if you want a complete multi-step flow.Run
check_multi_leg_marginbefore any short-leg or spread strategy, especially on Standard Margin accounts.Use
order_audit_logandreconcileif you want a local operational history of orders placed through lifecycle tools.
Tool Surface
Public Market Data And Charts (12)
Tool | Description |
| Structured options chain with strikes as rows and call/put columns. Best starting point for options analysis. |
| Batch pricing with market-maker quotes, greeks, IV, and liquidity filtering. Primary pricing tool for options. |
| Detailed single-instrument metadata. Best for perps and instrument metadata, not option bid/ask discovery. |
| Active instruments for a currency and type, with useful filters for options. |
| Paginated list of all instruments across currencies. |
| Public trade history. |
| Historical perp funding rates. |
| Historical USDC borrow and supply APY. |
| Liquidation auction history. |
| Transaction status lookup. |
| Spot or index OHLC candles. |
| Instrument OHLCV candle data. |
Account, Portfolio, Transfers, And Session (12)
Tool | Description |
| Account details such as fee tier, rate limits, and subaccount info. |
| List available subaccount IDs. |
| Full subaccount snapshot including margin type, positions, open orders, and value. |
| Account notifications. |
| All active positions with greeks, PnL, margin, and liquidation data. |
| Collateral holdings with mark values and interest. |
| Current margin plus optional position or collateral simulation. |
| One-call portfolio summary with balance, positions, and aggregate greeks. |
| Deposit history. |
| Withdrawal history. |
| ERC20 transfer history between subaccounts. |
| Session keys for the configured wallet. |
Raw Orders, RFQ, And Account Controls (16)
Tool | Description |
| Raw order placement with automatic EIP-712 signing. |
| Atomic cancel-and-replace for an existing order. |
| Cancel a single order. |
| Cancel all open orders for one instrument. |
| Cancel open orders by label. |
| Cancel all open orders for a subaccount. |
| Current open orders. |
| Current state of a single order. |
| Historical orders. |
| Private trade fills with fees and realized PnL. |
| Send a request for quote. |
| Retrieve RFQs. |
| Retrieve quotes for an RFQ. |
| Execute a specific RFQ quote with signed legs. |
| Cancel an RFQ. |
| Enable or disable auto-cancel on disconnect. |
Market Maker Protection (3)
Tool | Description |
| Read current MMP configuration. |
| Configure MMP thresholds and freeze behavior. |
| Manually reset or unfreeze MMP. |
Lifecycle And Audit Helpers (8)
These are composite tools built in this repo on top of the raw Derive endpoints.
Tool | Description |
| Preferred order placement wrapper with normalized receipts, fill verification, and audit logging. |
| Re-check any order and emit audit corrections if the state changed. |
| Open an RFQ and immediately return a normalized receipt. |
| Poll an RFQ for quotes without executing them. |
| Execute a chosen RFQ quote by |
| Compare atomic and sequential margin behavior for multi-leg strategies. |
| Query the local append-only audit trail with summary stats. |
| Compare the local audit log with Derive state and optionally backfill corrections. |
Meta (1)
Tool | Description |
| Reports the configured auth mode, API URL, default subaccount, and available capabilities. |
Important Behavior Notes
Public vs signed trading tools
Public tools require no auth.
Most authenticated read paths use the private API and can run with an API key or session-key auth.
Signed trading flows require
DERIVE_SESSION_PRIVATE_KEY,DERIVE_WALLET_ADDRESS, andDERIVE_SUBACCOUNT_ID.In practice, signed order execution includes
place_order,execute_quote, and lifecycle tools that depend on them such asplace_and_verifyandaccept_rfq_quote.
Options pricing
get_options_chainandget_tickersare the primary options analysis and pricing tools.get_tickerexposes CLOB resting bid and ask, which can be misleading for options because options trade primarily through market-maker streaming quotes.When placing orders, use
get_instruments(compact=true)orget_tickerforminimum_amount,amount_step, andtick_size.
Margin and spread safety
Standard Margin (
SM) does not net option spreads.Portfolio Margin (
PM/PM2) does.For short options or credit spreads, inspect
margin_typeviaget_subaccount, simulate withget_margin, and prefercheck_multi_leg_marginor RFQ-based execution when appropriate.
Local audit log
Lifecycle tools write an append-only JSONL audit trail to:
~/.config/derive-mcp/audit/<subaccount_id>.jsonlThis is local state owned by the MCP server process. It is useful for:
debugging order outcomes
reconstructing lifecycle receipts
tracking fill rate and fees
reconciling raw orders that bypassed lifecycle tools
LLM-Friendly Design Choices
This server is not a thin API wrapper. It includes several choices specifically made for AI agents:
get_options_chainreturns a structured chain instead of forcing callers to stitch together raw ticker data.get_portfolio_summarycollapses balance, positions, and aggregate greeks into one call.get_tickers(only_liquid=true)keeps option responses smaller and more relevant.Numeric strings are rounded for MCP display when Derive returns excessive precision, while the lifecycle audit log retains the underlying raw values that matter operationally.
Lifecycle tools normalize common failure cases such as zero liquidity, insufficient funds, transport errors, and partially filled orders.
Included Skills
The repo also includes higher-level Claude Code skills that pair with this MCP server:
Skill | Description |
| Interactive HTML payoff diagrams with PnL curves, DTE views, scenario analysis, and plain-English strategy summaries. |
| Live options chain scanning for trade ideas across skew, term structure, unusual activity, yield screens, and lottery-ticket setups. |
| Natural-language trade parsing that validates instruments, checks liquidity and margin, previews the trade, and can hand off to execution flows. |
Repo Layout
derive-mcp-server/
├── src/
│ ├── index.ts
│ └── protocols/derive/
│ ├── client.ts
│ ├── signing.ts
│ ├── response-schemas.ts
│ ├── public/
│ ├── private/
│ └── lifecycle/
├── docs/
│ └── ORDER_LIFECYCLE_MANAGER.md
├── skills/
│ ├── payoff-diagram/
│ ├── strategy-scanner/
│ └── trade-intent-parser/
├── agents/
│ └── sol-momentum-scalper.ts
├── dist/
├── package.json
└── tsconfig.jsonExtra Docs And Examples
docs/ORDER_LIFECYCLE_MANAGER.md: design notes for the lifecycle layer, audit model, and normalized receiptsagents/sol-momentum-scalper.ts: experimental example agent using the lifecycle and RFQ toolsskills/: higher-level Claude Code skills that pair with this server
Environment Variables
Variable | Required | Description |
| Signed trading | Session key private key used for EIP-712 order signing |
| Signed trading | Wallet address associated with the Derive session key |
| Signed trading / useful elsewhere | Default subaccount used by signed trading flows and as the fallback for tools that accept |
| Optional | Alternative auth path for authenticated private requests that do not require local signing |
| Optional | Override the base API URL directly |
| Optional | Set to |
| Optional | Legacy alias for |
| Optional | Legacy alias for |
| Optional | Legacy alias for |
Market Coverage
Market listings on Derive change over time. Instead of relying on a static README list, use:
get_instrumentsget_all_instrumentsget_options_chain
to discover the current set of live options, perps, strikes, expiries, and collateral-supported markets.
License
MIT
Available Tools
52 toolsaccept_rfq_quoteA
Execute a specific quote from an RFQ. Fetches the quote details automatically — you only need rfq_id and quote_id (no need to replay legs). Optional max_total_cost safety bound prevents execution if quote cost exceeds limit. Returns LifecycleResult with trade details on success.
Inputs: rfq_id (required), quote_id (required), subaccount_id, max_total_cost.
auth_statusB
Check what authentication is configured and what capabilities are available.
Inputs: no named parameters.
await_rfq_quotesA
Poll for quotes on an open RFQ. Returns all received quotes without executing any. Does NOT cancel the RFQ on timeout — it remains open until valid_until or explicit cancel. If quotes are found, status is 'QUOTED'. If timeout with no quotes, status remains 'OPEN'. Use accept_rfq_quote to execute a specific quote.
Inputs: rfq_id (required), subaccount_id, max_wait_seconds, poll_interval_seconds.
cancel_all_ordersC
Cancel ALL open orders for a subaccount. Use with caution.
Inputs: subaccount_id, cancel_trigger_orders.
cancel_by_instrumentC
Cancel all orders for a specific instrument.
Inputs: instrument_name (required), subaccount_id.
cancel_by_labelC
Cancel all orders with a specific label.
Inputs: label (required), subaccount_id, instrument_name.
cancel_orderC
Cancel a single order by order ID.
Inputs: order_id (required), instrument_name (required), subaccount_id.
cancel_rfqC
Cancel an open RFQ.
Inputs: rfq_id (required), subaccount_id.
check_multi_leg_marginA
Pre-flight margin check for multi-leg strategies. Simulates BOTH as an atomic portfolio AND sequentially (leg-by-leg in execution order). CRITICAL for Standard Margin (SM) which does NOT net spreads — short options require full naked margin even with protective long legs. Returns warnings when portfolio simulation passes but sequential execution would fail. Execution order: buy legs first (lowest premium), then sell legs (highest margin). For atomic multi-leg execution, use RFQ instead of CLOB.
Inputs: legs (required), subaccount_id.
create_rfqA
Send an RFQ (Request for Quote) to market makers and return immediately. Does NOT poll for quotes or auto-execute — use await_rfq_quotes and accept_rfq_quote for that. RFQs remain open until valid_until (~30 min) or explicit cancel. For multi-leg options strategies, this is the preferred path for atomic execution.
Inputs: legs (required), label, subaccount_id.
execute_quoteA
Accept and execute an RFQ quote. Completes the RFQ flow: send_rfq → get_quotes → execute_quote. Each leg needs EIP-712 signing, which is handled automatically. The quote_id ties the execution to the MM's quote, ensuring you get the quoted price.
Inputs: legs (required), quote_id (required), label, subaccount_id.
get_accountB
Get account details: fee tiers, rate limits, subaccount IDs, cancel-on-disconnect status.
Inputs: wallet.
get_all_instrumentsA
Paginated list of all instruments across currencies. Returns {instruments, pagination}.
Inputs: instrument_type (required), page, expired, page_size.
get_collateralsB
Get all collateral holdings with mark values, interest, and PnL.
Inputs: subaccount_id.
get_deposit_historyC
Get deposit history for a subaccount.
Inputs: end_timestamp, subaccount_id, start_timestamp.
get_erc20_transfer_historyC
Get ERC20 transfer history between subaccounts.
Inputs: wallet, end_timestamp, subaccount_id, start_timestamp.
get_funding_rate_historyA
Get funding rate history for a perp instrument. Max 30 days lookback.
Inputs: instrument_name (required), period, end_timestamp, start_timestamp.
get_index_chart_dataC
Get spot/index OHLC candle data for a currency.
Inputs: period (required), currency (required), end_timestamp (required), start_timestamp (required).
get_instrumentsA
Get active instruments for a currency and type. For options, this can return hundreds of instruments — use strike_min/strike_max and/or expiry_date to filter, and compact=true for minimal output. Without filters, the response can be very large (200KB+).
Inputs: currency (required), instrument_type (required), compact, expired, +3 more.
get_interest_rate_historyC
Get USDC borrow/supply APY history.
Inputs: to_timestamp_sec (required), from_timestamp_sec (required), page, page_size.
get_liquidation_historyC
Get liquidation auction history.
Inputs: page, page_size, end_timestamp, subaccount_id, +1 more.
get_marginA
Get current margin. Optionally simulate position/collateral changes before trading. Validates simulated amounts against instrument minimum_amount and amount_step — if amounts violate constraints, returns is_valid_trade=false with violations (the real order would reject). CRITICAL: Simulation evaluates all positions ATOMICALLY as a portfolio — but orders execute LEG BY LEG. A multi-leg spread may show is_valid_trade=true in simulation but FAIL on execution because each leg is margined independently. For multi-leg strategies: simulate EACH sell/short leg INDIVIDUALLY against current positions to verify it passes margin alone. Standard Margin (SM) does NOT net spreads — short options require full naked margin. Portfolio Margin (PM/PM2) does net spreads. Always check margin_type from get_subaccount before placing short option orders.
Inputs: subaccount_id, simulated_position_changes, simulated_collateral_changes.
get_mmp_configC
Get MMP (Market Maker Protection) configuration.
Inputs: currency, subaccount_id.
get_notificationsC
Get account notifications.
Inputs: page, type, status, wallet, +2 more.
get_open_ordersB
Get all open orders for a subaccount.
Inputs: subaccount_id.
get_options_chainA
Get a structured options chain for a currency — strikes as rows, calls and puts as columns, with bid/ask/mark/IV/greeks/OI. This is the RECOMMENDED tool for analyzing options. Returns a compact, pre-filtered chain instead of raw ticker data. Defaults to only_liquid=true and ±30% from spot. Bid/ask here are from MM streaming quotes (real executable prices). NOTE: Does NOT include minimum_amount or amount_step. Call get_instruments(compact=true) alongside if you need lot sizes for order placement. Response: {index_price, expiries: [{expiry, dte, chain: [{strike, call: {bid,ask,mark,iv,delta,...}, put: {...}}]}]}
Inputs: currency (required), strike_max, strike_min, expiry_date, +1 more.
get_orderA
Get a single order's current state: status, filled_amount, average_price, fees. Use this after place_order to confirm fills — especially for IOC orders which vanish from get_open_orders immediately. Returns: order_id, status (open/filled/cancelled/expired), filled_amount, average_price, limit_price, direction, label, creation_timestamp.
Inputs: order_id (required), subaccount_id.
get_order_historyC
Get historical orders for a subaccount or wallet.
Inputs: page, wallet, page_size, to_timestamp, +2 more.
get_portfolio_summaryA
Get a complete portfolio overview in a single call: USDC balance, all positions with greeks, and aggregate totals. Returns {balance, positions: [...], totals: {value, unrealized_pnl, delta, gamma, vega, theta}}. Use this INSTEAD of calling get_collaterals + get_positions separately — saves a tool call and does the aggregation for you. IMPORTANT: totals.delta is summed across ALL currencies (BTC + ETH + SOL + HYPE). For hedging a specific currency, filter positions by currency prefix (e.g., instrument.startsWith('ETH')) and sum their deltas. NOTE: positions include mark_price but NOT bid/ask. To close options, use get_tickers(expiry) for real MM quotes. Theta values are in USD/day for the full position size (already scaled by amount).
Inputs: subaccount_id.
get_positionsB
Get all active positions with Greeks, PnL, margin, and liquidation prices.
Inputs: subaccount_id.
get_quotesC
Get quotes for a subaccount. Filter by RFQ, quote ID, or status.
Inputs: page, rfq_id, status, quote_id, +2 more.
get_rfqsC
Get RFQs for a subaccount. Filter by status or time.
Inputs: page, rfq_id, status, page_size, +1 more.
get_session_keysC
List all session keys for a wallet.
Inputs: wallet.
get_subaccountA
Full subaccount snapshot: collaterals, open orders, positions, margin, portfolio value. IMPORTANT: Check margin_type field (SM = Standard Margin, PM/PM2 = Portfolio Margin). SM: short options require full naked margin, spreads NOT netted. Only long options and perps practical. PM/PM2: spreads are netted, credit spreads work, lower margin for hedged positions. Always check margin_type BEFORE planning any strategy involving short options.
Inputs: subaccount_id.
get_subaccountsB
List all subaccount IDs for a wallet.
Inputs: wallet.
get_tickerA
Get detailed instrument data: mark price, index, Greeks, funding, open interest, fees, tick size, minimum_amount, amount_step. WARNING FOR OPTIONS: bid/ask here are CLOB resting orders only — options trade primarily via MM streaming quotes, so CLOB bid/ask is often $0 or wildly off-market. For option pricing/execution, ALWAYS use get_tickers instead. For PERPS: bid/ask from get_ticker is fine — perps have active CLOB liquidity. Use this tool for: perp pricing, instrument metadata (tick_size, minimum_amount, amount_step), and funding rates.
Inputs: instrument_name (required).
get_tickersA
Batch pricing for all instruments of a type. Returns MM streaming quotes (bid/ask/mark/greeks). This is the PRIMARY pricing tool — shows real market maker quotes unlike get_ticker which only shows CLOB resting orders. For options: currency AND expiry_date (YYYYMMDD) are required. Use only_liquid=true to filter out dead strikes with no quotes (recommended — reduces response by ~60%). Use min_delta/max_delta to focus on specific moneyness ranges. Response: {tickers: {instrument_name: {bid, ask, bid_size, ask_size, mark, delta, iv, ...}}}
Inputs: instrument_type (required), currency, max_delta, min_delta, +2 more.
get_trade_history_privateC
Get private trade history (fills) with PnL, fees, tx status.
Inputs: page, page_size, to_timestamp, subaccount_id, +2 more.
get_trade_history_publicC
Get public trade history. Filter by currency, instrument, type, or time range.
Inputs: page, currency, page_size, instrument_name, +1 more.
get_tradingview_chart_dataB
Get OHLCV candle data for a specific instrument (trades-based).
Inputs: period (required), end_timestamp (required), instrument_name (required), start_timestamp (required).
get_transactionA
Look up transaction status: requested, pending, settled, reverted, ignored, or timed_out.
Inputs: transaction_id (required).
get_withdrawal_historyC
Get withdrawal history for a subaccount.
Inputs: end_timestamp, subaccount_id, start_timestamp.
order_audit_logA
Query the local audit trail of orders placed through lifecycle tools. Returns filtered order history with a summary including fill rate, total fees, and volume. Note: only orders placed via place_and_verify or rfq tools are tracked. Use reconcile to backfill orders placed via raw place_order.
Inputs: label, limit, status, to_timestamp, +3 more.
place_and_verifyA
Place an order with automatic fill verification, error classification, and audit logging. Returns a LifecycleResult — never throws for expected failures (zero liquidity, insufficient funds). Submission states: 'accepted' (order on exchange), 'rejected' (exchange rejected), 'unknown' (transport error). For IOC/FOK that can't match, returns rejected with ZERO_LIQUIDITY — no phantom order created. For GTC that crosses the spread, returns filled with trades inline. All events are appended to the audit log.
Inputs: amount (required), direction (required), limit_price (required), instrument_name (required), +6 more.
place_orderA
Place an order. Handles EIP-712 signing automatically. Returns order_id and order status. IMPORTANT: For IOC/FOK orders, the order may already be filled or cancelled by the time you read the response. Use get_order(order_id) after placing to confirm fill status, filled_amount, and average_price. MARGIN RULES: Selling/shorting options requires margin. On Standard Margin (SM), short options are treated as NAKED — the full margin is required even if you hold a protective long leg. SM does NOT recognize spreads. Credit spreads (bull put, bear call) ONLY work on Portfolio Margin (PM/PM2). Before selling options: 1) check margin_type via get_subaccount, 2) simulate the sell leg ALONE via get_margin, 3) if SM, only sell options if you have enough margin for naked exposure. Buying options only requires the premium — no additional margin needed. INSTRUMENT CONSTRAINTS: Check minimum_amount and amount_step via get_instruments before placing. Common minimums: ETH options 0.1, BTC options 0.01, SOL options 0.1, HYPE options 1.
Inputs: amount (required), direction (required), limit_price (required), instrument_name (required), +5 more.
reconcileA
Compare local audit log against Derive's actual order state. Detects: orders on Derive not in local log (placed via raw tools), local orders marked as open that Derive shows as filled/cancelled. With auto_fix=true, appends correction events to bring local log in sync.
Inputs: auto_fix, subaccount_id.
replace_orderA
Atomically cancel an existing order and create a new one. If cancel fails, the new order is not placed.
Inputs: amount (required), direction (required), limit_price (required), instrument_name (required), +6 more.
reset_mmpC
Manually reset/unfreeze MMP.
Inputs: currency, subaccount_id.
send_rfqC
Send a Request for Quote (multi-leg) to market makers.
Inputs: legs (required), label, subaccount_id.
set_cancel_on_disconnectB
Enable/disable auto-cancel all orders on WebSocket disconnect.
Inputs: enabled (required), wallet.
set_mmp_configC
Configure MMP. Set interval=0 to disable, frozen_time=0 for manual-only reset.
Inputs: currency (required), mmp_interval (required), mmp_frozen_time (required), subaccount_id, +2 more.
verify_orderA
Check current state of any order and return normalized OrderReceipt. If the order's status changed since last check (e.g., OPEN → FILLED), emits a correction event to the audit log. Use after place_and_verify to check if a GTC order has been filled, or to get settlement details. With include_settlement=true, fetches tx_hash from trade history for filled orders.
Inputs: order_id (required), subaccount_id, include_settlement.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 52 tools
Descriptions work hard to differentiate closely related tools (get_ticker vs get_tickers vs get_options_chain, get_portfolio_summary vs get_collaterals+get_positions), but there are genuine duplicate pairs with overlapping purpose: send_rfq vs create_rfq, execute_quote vs accept_rfq_quote, place_order vs place_and_verify, get_order vs verify_order, and get_quotes vs await_rfq_quotes. An agent must read long descriptions to know which of two near-identical RFQ tools is 'the preferred path', and pricing has at least four overlapping entry points.
Nearly everything follows a snake_case verb_noun convention (get_*, cancel_*, set_*, place_*, create_*). Minor deviations exist: auth_status and order_audit_log are noun-style, reconcile is a bare verb, and singular/plural pairs (get_ticker/get_tickers, get_rfq vs get_rfqs) rely on tiny spelling differences to mean different things.
52 tools is well past the heavy threshold and includes a visible second layer bolted on top of the first (RFQ v1 vs v2, raw place_order vs place_and_verify, plus an audit/reconcile subsystem). While a full derivatives exchange is broad, the count is inflated by redundant legacy/new parallel surfaces rather than by distinct capabilities.
Coverage is genuinely deep: instrument discovery, pricing, order lifecycle with replace/cancel variants, RFQ flow, margin simulation, MMP, session keys, histories, and audit reconciliation. Main gaps are funding/withdrawal actions (only history is exposed, no initiate transfer/withdraw) and no order-amend beyond replace_order.
Maintenance
Related MCP Connectors
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
OpenFinance gives any AI agent easy trading across every major market through one hosted MCP server. Trade crypto spot and perpetuals on Hyperliquid with market, limit and TWAP orders, leverage and margin control. Trade stocks, indices, commodities, forex and pre-IPO names as Hyperliquid HIP-3 perps. Trade Polymarket prediction markets with odds, order books, positions, PnL and trader leaderboards. Swap and bridge across 40+ EVM chains and Solana with Relay and Jupiter, find memecoins across 200+ chains, launch tokens on Robinhood Chain and Solana, and buy crypto with card, bank or UPI. Write actions are designed to ask for your confirmation first. Connect with OAuth (sign in to OpenFinance and approve) or an API key. Works with Claude, ChatGPT, Cursor, VS Code, Codex and any MCP client. No install. Home: https://openfinance.tech/agents · Docs: https://docs.openfinance.tech · GitHub: https://github.com/openfinance-tech/mcp
Trading tools for AI agents: token risk checks, swap quotes, unsigned swaps, holdings on 5 chains.
Pre-trade risk gating and verifiable decision evidence for AI trading agents. Oracle-backed price/safety checks across Base, Solana, Hyperliquid and BNB, plus signed receipts and portable evidence bundles for any agent action.
Related MCP Servers
- AlicenseAqualityBmaintenanceHyperliquid liquidations, wallets and live order-flow signals for trading bots and agents. Liquidation map, funding, open interest and SQL from Ironflow's own nodes. 46 tools, no key to start.4461,189 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely trade on Hyperliquid perpetual exchange, including order placement, position management, market data retrieval, and vault operations via natural language.24MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to query live BTC and ETH perpetual markets, wallet analytics, leaderboards, and liquidation maps, then preview and execute guarded trades through non-custodial session keys.85 npm4MIT

bytx-traderofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to scan crypto perpetuals, assess derivatives and entry/exit setups, simulate trades, size positions, run risk checks, and execute paper or demo trades through a gated confirmation workflow.89MIT