ProFunding Docs

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.

NeedsWhat it takes
NoneNothing. Works without an API key and doesn't count toward your daily requests
API keyPROFUNDING_API_KEY in your MCP config. A free key is enough
Exchange keysThe 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

ToolWhat it returnsNeeds
get_opportunitiesLive pairs with positive net APR: each leg's venue and APR, net APR, breakeven days. Filters: min_apr, symbol, exchange, pre_tge_only, limitNone
get_exchangesEvery venue ProFunding collects funding from, with its funding quote periodNone
get_historical_ratesFunding history for a symbol on one venue over 1 to 30 days. raw=true adds the hourly seriesNone
get_rate_chart_dataThe funding spread between two venues, hour by hour, over 1 to 30 daysNone
get_price_spread_dataThe price gap between two venues, hour by hour, over 1 to 30 days: average, maximum and hours above 0.5%None
run_backtestA simulated pair on historical rates: total PnL, funding, fees, Sharpe, and the price-gap PnL when price history existsNone
analyze_pairOne 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 venuesNone (order books need a key)
compare_exchangesEvery 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 buyNone (order books need a key)
find_best_tradeThe pairs to open at your size right now, with live and 30-day backtested APR, stability, entry cost, risk level and scoreAPI key
get_smart_opportunitiesThe same ranking as a shorter listAPI key
get_pair_intelligenceThe top 15 pairs by smart score, with backtested APR, stability, depth tier and risk level. Recomputed hourlyNone
check_liquidityThe order book for a symbol on one venue: spread, depth, open interest, and slippage at several sizesAPI 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.

ToolWhat it returns
get_live_alphaUp to 5 live pairs, one per coin, with high smart scores and a small price gap between venues
get_still_payingPairs that have stayed above 50% APR for at least min_hours in a row and are still above it
get_top_holdersPairs with the most hours above 50% APR over the last 7 or 14 days
get_momentum_moversPairs whose live funding spread rose the most over the last few hours
get_unbroken_streaksStreaks of hours above an APR level in the last 7 days. mode: top5, spotlight, fresh or elite
get_record_roiThe pair with the best return over the last day or 7 days
get_weekly_recapThe 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.

ToolWhat it does
open_tradeOpens one leg at market, or rests a limit with order_type="limit" and limit_price. post_only asks for maker-only
close_tradeCloses one leg at market, or rests a reduce-only limit close at limit_price
open_delta_neutralOpens a pair at market: long on one venue, short on the other, the same number of coins on each
close_delta_neutralCloses both legs of a pair at market
convert_stablecoinConverts 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

ToolWhat it does
get_open_ordersLists resting orders on one venue. On Lighter and Lighter RH a symbol is required
cancel_orderCancels a resting order by id
get_order_fillsWhether an order filled: status, size, price and fee. Pass the trade_log_id from open_trade
VenueWhat differs
Variationalpost_only isn't enforced; the response warns you
ExtendedOn order-book markets a crossing limit is moved to rest on its own side. On RFQ markets post_only isn't enforced
Lighter, Lighter RHA post-only order that would cross is refused, with nothing filled
OndoA post-only order that would cross is rejected with post_only_has_match
n1xyzRFQ markets refuse limit orders. Use a market order

TWAP

TWAP jobs run on ProFunding's server and keep going after your chat ends.

ToolWhat it doesNeeds
twap_open_dnOpens a pair in slices, sized by total margin across both legsExchange keys
twap_close_dnCloses a pair in slices, sized in coins per legExchange keys
twap_job_statusStatus, % complete, slices filled and skippedAPI key
twap_cancelStops a job at the next sliceAPI key
twap_jobsYour 20 most recent jobsAPI key
SettingDefaultRange
target_margin_usd (open)requiredTotal margin across both legs, up to $1,000,000
leverage (open)51 to 100
total_slices101 to 200
duration_minutes30Up to 720
max_slippage_bps201 to 500. A slice is skipped above it
max_consecutive_skips31 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

ToolWhat it returnsNeeds
get_positionsWith exchange: live positions on that venue. Without: the pairs ProFunding tracks for youExchange keys with exchange
get_balanceOne venue's available balance, margin in use and totalExchange keys
get_alertsRecent alerts your position watches firedAPI key
store_credentialsSaves trading keys for a venue (Hyperliquid, Lighter, Aster or Pacifica fields)API key
list_credentialsEvery wallet per venue, the default, and its state. Keys are never shownAPI key
revoke_credentialsDeletes a venue's keys, or one wallet'sAPI key
revoke_all_credentialsDeletes every saved key. Refused while anything still trades with one of themAPI 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

ToolWhat it doesNeeds
find_exit_previewPrice PnL against the job's target, net if closed now, exit cost and the next funding paymentExchange keys
find_exit_startStarts the job. Optional max_wait_hours, 0.1 to 720Exchange keys
find_exit_statusProgress, price PnL of fills, target and the latest decision-log entriesAPI key
find_exit_cancelStops the job. Filled slices stay closedAPI 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.

SettingDefaultFires when
funding_flip_alertonThe pair's funding spread has turned negative on two checks in a row
min_apr_thresholdoffThe 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_pctoffUnrealized PnL falls below this percent of margin (a negative number, such as -5)
max_duration_hoursoffThis many hours have passed since the watch started
spread_divergence_alertoffThe 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.

On this page