MCP tools reference
Every ProFunding MCP tool, what it returns, its defaults and limits, and whether it needs an API key or saved exchange keys.
The ProFunding MCP server gives your AI assistant 44 tools to read live funding data, test a pair, trade on your own venue accounts and watch what you hold. This page lists each tool with what it returns and what it needs. The list matches profunding-mcp 0.9.20. To install it, see MCP setup. There are no MCP tools for Autopilot, Farming or Darkside.
| Needs | What it takes |
|---|---|
| None | Nothing. Works without an API key and doesn't count toward your daily requests |
| API key | PROFUNDING_API_KEY in your MCP config. A free key is enough |
| Exchange keys | The API key, plus keys for that venue saved to your ProFunding account. Connect the venue in the app (Wallets and keys) |
Every call that uses your key counts toward a daily limit: 100 a day on a free key, 10,000 on a key whose wallet has an active subscription. It resets at 00:00 UTC.
Market data and discovery
| Tool | What it returns | Needs |
|---|---|---|
get_opportunities | Live pairs with positive net APR: each leg's venue and APR, net APR, breakeven days. Filters: min_apr, symbol, exchange, pre_tge_only, limit | None |
get_exchanges | Every venue ProFunding collects funding from, with its funding quote period | None |
get_historical_rates | Funding history for a symbol on one venue over 1 to 30 days. raw=true adds the hourly series | None |
get_rate_chart_data | The funding spread between two venues, hour by hour, over 1 to 30 days | None |
get_price_spread_data | The price gap between two venues, hour by hour, over 1 to 30 days: average, maximum and hours above 0.5% | None |
run_backtest | A simulated pair on historical rates: total PnL, funding, fees, Sharpe, and the price-gap PnL when price history exists | None |
analyze_pair | One pair in one call: current funding, a 7-day backtest, 30-day intelligence, the slippage on both legs at your size, and the price gap between the venues | None (order books need a key) |
compare_exchanges | Every venue that lists the symbol in a live pair (or only the ones you name in exchanges), with funding APR, bid-ask spread, 24h volume and slippage on a $5,000 buy | None (order books need a key) |
find_best_trade | The pairs to open at your size right now, with live and 30-day backtested APR, stability, entry cost, risk level and score | API key |
get_smart_opportunities | The same ranking as a shorter list | API key |
get_pair_intelligence | The top 15 pairs by smart score, with backtested APR, stability, depth tier and risk level. Recomputed hourly | None |
check_liquidity | The order book for a symbol on one venue: spread, depth, open interest, and slippage at several sizes | API key |
A venue's APR in these tools is its raw quoted rate annualized, so a positive number means longs pay shorts there. Stability is the share of the last 30 days, in 4-hour windows, in which the funding spread was positive. Slippage figures are estimates from one snapshot of the book, not fills. A backtest is a simulation on past quoted rates, not a record of what a position earned.
Deep analytics
All seven need an API key. They read ProFunding's hourly funding history and leave out pairs with too little volume.
| Tool | What it returns |
|---|---|
get_live_alpha | Up to 5 live pairs, one per coin, with high smart scores and a small price gap between venues |
get_still_paying | Pairs that have stayed above 50% APR for at least min_hours in a row and are still above it |
get_top_holders | Pairs with the most hours above 50% APR over the last 7 or 14 days |
get_momentum_movers | Pairs whose live funding spread rose the most over the last few hours |
get_unbroken_streaks | Streaks of hours above an APR level in the last 7 days. mode: top5, spotlight, fresh or elite |
get_record_roi | The pair with the best return over the last day or 7 days |
get_weekly_recap | The best pairs and venue combination of the last 7 or 14 days |
Trading
Trading tools place real orders on your venue accounts. All need exchange keys.
| Tool | What it does |
|---|---|
open_trade | Opens one leg at market, or rests a limit with order_type="limit" and limit_price. post_only asks for maker-only |
close_trade | Closes one leg at market, or rests a reduce-only limit close at limit_price |
open_delta_neutral | Opens a pair at market: long on one venue, short on the other, the same number of coins on each |
close_delta_neutral | Closes both legs of a pair at market |
convert_stablecoin | Converts USDC to or from USDE, USDT0 or USDH on Hyperliquid |
size_usd is notional, not margin: at 5x, a $1,000 leg posts about $200. One call accepts up to $100,000 per leg, leverage 1 to 100 (default 5). An order below the venue's minimum is refused before it is sent.
Opening a pair: the long goes first, then the short. If the long fails, no short is sent; if the short fails, the long stays open and the response says so. The open is refused when another tracked pair already has a leg on that coin on either venue, or the venue shows a position ProFunding has no record of. It is also refused when the two venues price the coin 3% or more apart. One open runs at a time per account.
Trading venues: Hyperliquid and its HIP-3 markets (TradeXYZ and Entropy, on your Hyperliquid key), Lighter, Lighter RH, Aster, Extended, Variational, Pacifica, Hibachi, Nado, GRVT, n1xyz (01xyz), RISEx, Ondo, Perpl, Phoenix, TxFlow, Katana, Arcus, QFEX, PopDEX and Bulk.
Limit orders
| Tool | What it does |
|---|---|
get_open_orders | Lists resting orders on one venue. On Lighter and Lighter RH a symbol is required |
cancel_order | Cancels a resting order by id |
get_order_fills | Whether an order filled: status, size, price and fee. Pass the trade_log_id from open_trade |
| Venue | What differs |
|---|---|
| Variational | post_only isn't enforced; the response warns you |
| Extended | On order-book markets a crossing limit is moved to rest on its own side. On RFQ markets post_only isn't enforced |
| Lighter, Lighter RH | A post-only order that would cross is refused, with nothing filled |
| Ondo | A post-only order that would cross is rejected with post_only_has_match |
| n1xyz | RFQ markets refuse limit orders. Use a market order |
TWAP
TWAP jobs run on ProFunding's server and keep going after your chat ends.
| Tool | What it does | Needs |
|---|---|---|
twap_open_dn | Opens a pair in slices, sized by total margin across both legs | Exchange keys |
twap_close_dn | Closes a pair in slices, sized in coins per leg | Exchange keys |
twap_job_status | Status, % complete, slices filled and skipped | API key |
twap_cancel | Stops a job at the next slice | API key |
twap_jobs | Your 20 most recent jobs | API key |
| Setting | Default | Range |
|---|---|---|
target_margin_usd (open) | required | Total margin across both legs, up to $1,000,000 |
leverage (open) | 5 | 1 to 100 |
total_slices | 10 | 1 to 200 |
duration_minutes | 30 | Up to 720 |
max_slippage_bps | 20 | 1 to 500. A slice is skipped above it |
max_consecutive_skips | 3 | 1 to 20 |
A TWAP open fails when a slice would put less than $20 of notional on a leg. A pair runs one TWAP or Find the Exit job at a time.
Account and credentials
| Tool | What it returns | Needs |
|---|---|---|
get_positions | With exchange: live positions on that venue. Without: the pairs ProFunding tracks for you | Exchange keys with exchange |
get_balance | One venue's available balance, margin in use and total | Exchange keys |
get_alerts | Recent alerts your position watches fired | API key |
store_credentials | Saves trading keys for a venue (Hyperliquid, Lighter, Aster or Pacifica fields) | API key |
list_credentials | Every wallet per venue, the default, and its state. Keys are never shown | API key |
revoke_credentials | Deletes a venue's keys, or one wallet's | API key |
revoke_all_credentials | Deletes every saved key. Refused while anything still trades with one of them | API key |
Keys you give store_credentials pass through your AI conversation and may be logged by your AI provider. Prefer connecting the venue in the app, and never paste a wallet's private key.
Find the Exit
| Tool | What it does | Needs |
|---|---|---|
find_exit_preview | Price PnL against the job's target, net if closed now, exit cost and the next funding payment | Exchange keys |
find_exit_start | Starts the job. Optional max_wait_hours, 0.1 to 720 | Exchange keys |
find_exit_status | Progress, price PnL of fills, target and the latest decision-log entries | API key |
find_exit_cancel | Stops the job. Filled slices stay closed | API key |
How the job decides is in Find the Exit.
Monitoring
watch_position sets alerts on a pair. It needs an API key, and exchange keys for both venues if you turn on auto-close.
| Setting | Default | Fires when |
|---|---|---|
funding_flip_alert | on | The pair's funding spread has turned negative on two checks in a row |
min_apr_threshold | off | The pair's net APR falls below this. If the pair drops off the live list, its funding gap before fees is compared instead, and the alert says so |
pnl_threshold_pct | off | Unrealized PnL falls below this percent of margin (a negative number, such as -5) |
max_duration_hours | off | This many hours have passed since the watch started |
spread_divergence_alert | off | The price gap between the venues moves the set number of points from where it started, on 3 checks in a row |
With auto_close and close_on_trigger on, the server closes the pair when a condition fires; otherwise it only alerts. Watches are checked every 60 seconds, and alerts go to Telegram when your wallet is linked.
Several wallets and timeouts
Single-leg tools take an optional wallet; pair tools take long_wallet and short_wallet. Leave them out and an open uses each venue's default wallet, while a close or watch uses the wallets the pair opened on.
A read that gets no answer within 30 seconds fails. A write waits 90 seconds; if no answer arrives, the tool says the order may have been placed. Check get_positions or get_open_orders before retrying.
FAQ
How many tools does the ProFunding MCP server have?
44 tools covering market data, deep analytics, trading, limit orders, TWAP, account, credentials, Find the Exit and monitoring. There are no MCP tools for Autopilot, Farming or Darkside.
What happens if an MCP trade times out?
A write waits 90 seconds. If no answer arrives, the tool says the order may have been placed; check get_positions or get_open_orders before retrying.
Is store_credentials safe to use?
Keys you give it pass through your AI conversation and may be logged by your AI provider. Prefer connecting the venue in the app, and never paste a wallet's private key.
Questions?
Ask in our Telegram chat. Traders compare pairs, venues and fills there, and the team answers questions.