MarginPad
Server Details
Free crypto-futures paper trading and live market data for AI agents. 28 tools; no key for data.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- Marginpad/sdk
- GitHub Stars
- 0
TDQS
Score is being calculated.
Available Tools
28 toolscalc_liquidationInspect
Liquidation price for a position: entry, leverage, side.
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| entry | Yes | ||
| leverage | Yes |
calc_position_sizeInspect
Risk-based position size from account balance, risk percent, entry and stop.
| Name | Required | Description | Default |
|---|---|---|---|
| stop | Yes | ||
| entry | Yes | ||
| balance | Yes | ||
| risk_pct | Yes |
get_economic_calendarInspect
Upcoming macro events that move crypto (FOMC, CPI, NFP). Always check this before answering questions about dates - never answer those from memory.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_fear_greedInspect
Crypto Fear and Greed index, current value and classification.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
get_fundingInspect
Current funding rates across exchanges - who pays whom to hold a perp position.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No |
get_klinesInspect
OHLC candles for a symbol. Use this to compute indicators or check a setup before trading.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| interval | No | Minutes: 1, 5, 15, 60, 240, 1440, 10080 | 60 |
get_liquidationsInspect
Recent real liquidation events aggregated from nine exchanges.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No |
get_marketsInspect
Every tradable symbol with its asset class, maximum leverage and taker fee. Call this before sizing a trade.
| Name | Required | Description | Default |
|---|---|---|---|
| asset_class | No |
get_open_interestInspect
Open interest per symbol - how much leveraged money is committed.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No |
get_priceInspect
Live price and 24h change for a crypto perp, stock, index, forex pair or metal. No API key needed.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol without the USDT suffix, e.g. BTC, ETH, AAPL, EURUSD, XAU |
get_screenerInspect
Scored trade setups across top USDT perps: 0-100 technical score, RSI, MACD, funding and open interest.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
paper_accountsInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
paper_balanceInspect
Your paper account: balance, equity, free margin, unrealized P&L. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
paper_cancel_orderInspect
Cancel a resting limit order. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes |
paper_closeInspect
Close a simulated position, fully or partially. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| pct | No | Percent to close, 1-100. Omit for the whole position. |
paper_equityInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 1-90, default 30 | |
| step_min | No | Bucket minutes, 5-1440 |
paper_feesInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Omit to read. A venue key from the list, or "marginpad" to reset. |
paper_limit_orderInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| side | Yes | ||
| symbol | Yes | ||
| leverage | Yes | ||
| margin_usd | Yes | 1 to 100000 | |
| limit_price | Yes | Below the market for a long, above it for a short | |
| client_order_id | No |
paper_modify_orderInspect
Change a resting limit or stop order in place: its price, stop-loss, take-profit, margin, leverage or trailing stop. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| leverage | No | ||
| order_id | Yes | ||
| trail_pct | No | ||
| margin_usd | No | ||
| limit_price | No |
paper_openInspect
Open a simulated position at the live price. Simulated money only - no real funds are ever at risk. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| sl | No | ||
| tp | No | ||
| side | Yes | ||
| symbol | Yes | ||
| dry_run | No | true = validate and price the trade (entry, liquidation, quantity, fees) and write NOTHING | |
| leverage | Yes | 1 to the symbol cap from get_markets | |
| trail_pct | No | Trailing stop distance in percent (0.05-50): the stop follows the best price seen, server-side, even while the bot is offline | |
| margin_usd | Yes | 1 to 100000 | |
| client_order_id | No | Your own id - retrying with the same one returns the first position instead of opening a second |
paper_ordersInspect
Your resting limit orders, plus the last 20 that filled, expired or were cancelled. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
paper_positionsInspect
Your paper positions with live mark price and P&L net of fees; status "open" for just the open ones. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Omit for both |
paper_realismInspect
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%, Kraken 0.60%, Hyperliquid 1.25%, Coinbase 1.33%). Reading returns your setting, every venue rate and the whole size-tier ladder, so a liquidation price never has to be reverse-engineered. Positions keep the margin they were filled with. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| slippage | No | Fill against yourself the way a real order book does: 0.01% crypto majors, 0.05% other crypto, 0.005% forex, 0.02% stocks/metals/indices. | |
| margin_tiers | No | Raise maintenance margin with position size, as an exchange risk-limit table does, so a large position is liquidated sooner. | |
| margin_venue | No | binance | bybit | okx | bitget | mexc | kucoin | gate | kraken | hyperliquid | coinbase, or "marginpad" to reset. Omit every field to read. |
paper_replayInspect
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 the status (cursor, price, progress, candles up to the cursor). With act "stop" it closes everything at the cursor and returns the summary. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| act | No | "stop" ends the replay and returns the summary | |
| day | No | Start: a complete past UTC day, YYYY-MM-DD | |
| speed | No | Start: 1-600, default 60 | |
| symbol | No | Start: the market, e.g. BTC |
paper_reportInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | 1-30, default 30 |
paper_resetInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
paper_sltpInspect
Move the stop-loss, take-profit or trailing stop on an open simulated position. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| sl | No | ||
| tp | No | ||
| trail_pct | No | Trailing stop distance in percent (0.05-50); null switches trailing off |
paper_tradesInspect
Closed-trade ledger with paging - the full record for measuring a strategy. Requires an API key.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| before | No | Epoch ms cursor from next_before |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
28 tool updates
- First observed
calc_liquidation - First observed
calc_position_size - First observed
get_economic_calendar - First observed
get_fear_greed - First observed
get_funding - First observed
get_klines - First observed
get_liquidations - First observed
get_markets - First observed
get_open_interest - First observed
get_price - First observed
get_screener - First observed
paper_accounts - First observed
paper_balance - First observed
paper_cancel_order - First observed
paper_close - First observed
paper_equity - First observed
paper_fees - First observed
paper_limit_order - First observed
paper_modify_order - First observed
paper_open - First observed
paper_orders - First observed
paper_positions - First observed
paper_realism - First observed
paper_replay - First observed
paper_report - First observed
paper_reset - First observed
paper_sltp - First observed
paper_trades
Related MCP Connectors
Polymarket + Hyperliquid + macro for AI agents. 38 tools, signal backtest, SSE streaming. Free tier.
Open API Marketplace for AI Agents. Crypto data tools with USDC payments on Base.
Free crypto futures data: open interest, funding, long/short, liquidations, volume. No API key.
Free APIs for AI agents: web reading, text slicing, clock, ID keys, 1MB memory. No signup or fees.
Related MCP Servers
AlicenseBqualityAmaintenanceEnables AI assistants to interact with a complete trading infrastructure, including live futures bots, real market data, backtesting, and copy-trading signals. Supports 503 tools across 20 domains, from market data to order execution, with zero synthetic data.1681MIT- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to perform cryptocurrency trading analysis and execution with 38+ tools including real-time market data, technical indicators, risk management, and support for both paper trading and live execution on Hyperliquid.7MIT
- AlicenseAqualityBmaintenancePrediction-market intelligence and crypto paper trading for AI agents. Explore data across 12 venues with 38 MCP tools, including 11 keyless tools on the hosted endpoint. Compare markets, track whales and discover crypto movers. Add a CoinRithm API key for simulated spot, futures and prediction-market trading, portfolio tracking and execution exports.2414MIT
- AlicenseBqualityDmaintenanceEnables AI agents to trade crypto with paper money, access market data, view leaderboards, and manage trading bots via an MCP-compatible interface.16MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.