SD

Sdk

io.github.Marginpad/sdk

Free crypto-futures paper trading and live market data for AI agents. 29 tools; no key for data.

Yes, your AI can use this right now.Answered a live MCP handshake in 216 ms with no sign-in needed and exposes 29 tools.

Connect it

Settings → Connectors → Add custom connector
URL: https://marginpad.io/mcp

29 tools, verified live

Pulled straight from the server with tools/list on 2026-10-17.
get_priceread-only

Live price and 24h change for a crypto perp, stock, index, forex pair or metal. No API key needed.

get_klinesread-only

OHLC candles for a symbol. Use this to compute indicators or check a setup before trading.

get_marketsread-only

Every tradable symbol with its asset class, maximum leverage and taker fee. Call this before sizing a trade.

get_screenerread-only

Scored trade setups across top USDT perps: 0-100 technical score, RSI, MACD, funding and open interest.

get_fundingread-only

Current funding rates across exchanges - who pays whom to hold a perp position.

get_open_interestread-only

Open interest per symbol - how much leveraged money is committed.

get_liquidationsread-only

Recent real liquidation events aggregated from eight exchanges.

get_fear_greedread-only

Crypto Fear and Greed index, current value and classification.

get_economic_calendarread-only

Upcoming macro events that move crypto (FOMC, CPI, NFP). Always check this before answering questions about dates - never answer those from memory.

calc_liquidationread-only

Liquidation price for a position: entry, leverage, side.

calc_position_sizeread-only

Risk-based position size from account balance, risk percent, entry and stop.

paper_balanceread-only

Your paper account: balance, equity, free margin, unrealized P&L. Requires an API key.

paper_positionsread-only

Your paper positions with live mark price and P&L net of fees; status "open" for just the open ones. Requires an API key.

paper_tradesread-only

Closed-trade ledger with paging - the full record for measuring a strategy. Requires an API key.

paper_open

Open a simulated position at the live price. Simulated money only - no real funds are ever at risk. Requires an API key.

paper_closecan modify

Close a simulated position, fully or partially. Requires an API key.

paper_sltp

Move the stop-loss, take-profit or trailing stop on an open simulated position. Requires an API key.

paper_modify_order

Change a resting limit or stop order in place: its price, stop-loss, take-profit, margin, leverage or trailing stop. Requires an API key.

paper_fees

Which exchange fee schedule your paper fills are charged at: lists the venues we model (Bybit, Binance, OKX, Bitget, MEXC, Gate, KuCoin, Kraken, Hyperliquid) with their taker rate and the referral discount a MarginPad sign-up gets, and your current default. Pass set to change the default (a venue key, or "marginpad" for the default rate). Requires an API key.

paper_sim

The whole paper-trading simulation, configurable. By default this engine is deliberately easy: a market order fills whole at the live price, maintenance margin is a flat 0.5%, the balance is a scorecard that never refuses an open, and there is no latency, no size impact and no partial fill. That is right for learning and optimistic for proving out a bot. This sets any of it: the book size your res

paper_realism

How honestly your paper fills are simulated. By default a market order fills at the live price with no slippage and maintenance margin is a flat 0.5%, which is easier than a real exchange and increasingly so as a position grows. Pass slippage and/or margin_tiers to turn either on, and margin_venue to build on a named venue’s published maintenance-margin rate (Binance 0.40%, Bybit 0.50%, MEXC 0.10%

paper_reportread-only

The 30-day trading report for this account, measured from its own closed trades: totals and a skill score (free), win rate and return by coin, leverage band, side, hour and day plus written findings (API Pro and above). Requires an API key.

paper_accountsread-only

Every book (sub-account) of this account with lifetime numbers and the keys bound to it. A book is a separate journal, balance and report; a key minted with a book name trades that book. Requires an API key.

paper_resetcan modify

Restart this key’s book at $10,000: closed trades are archived (never deleted), resting orders cancelled, the report and equity curve start from now. Refused while positions are open - close them first. Requires an API key.

paper_equityread-only

The equity curve of this key’s book: starting balance + realized P&L per bucket from the ledger, the live unrealized point at the end, and max drawdown. Requires an API key.

paper_replay

Backtest with the real routes: replay one past UTC day on MarginPad’s 1-minute candles. With symbol+day it STARTS a replay (speed = market seconds per real second, 1-600, default 60): from then on paper_open / paper_positions / paper_close act on a separate replay journal priced at the candle under the cursor, with stops, targets and liquidations checked on every candle. With no arguments it reads

paper_limit_order

Place a resting order that fills only when the market reaches your price, and fills AT that price. type "limit" = a pullback entry (long below the market, short above); type "stop" = a breakout entry (long above the market, short below). To open right now use paper_open instead. Simulated money only. Requires an API key.

paper_ordersread-only

Your resting limit orders, plus the last 20 that filled, expired or were cancelled. Requires an API key.

paper_cancel_ordercan modify

Cancel a resting limit order. Requires an API key.

Alternatives in Finance & Payments

Compare →
Try “Notion”, “Stripe”, “create invoice”, “browser”