MCP server

sdk

io.github.Marginpad/sdk

MCP server OK 31 tools

Get a review See pricing

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

Technical sheet

Author
Marginpad (registry namespace)
Repository
github.com/marginpad/sdk
Site
marginpad.io/trading-api/#mcp
Version
3.0.2
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://marginpad.io/mcp Streamable HTTP
Tools
31
Categories
Development and code, Finance and payments
Last updated
16 Nov 2026
Published
16 Nov 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.Marginpad/sdk.svg?lang=en)](https://latlas.dev/en/mcp/io.github.Marginpad/sdk)
HTML
<a href="https://latlas.dev/en/mcp/io.github.Marginpad/sdk"><img src="https://latlas.dev/badge/fiche/io.github.Marginpad/sdk.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://marginpad.io/mcp
Last result
OK 28 Nov 2026, 11:14
Response time
211 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
marginpad 2.4.0
Tools
31

History

DateResultResponseTools
28 Nov 2026, 11:14OK211 ms31

Exposed tools (31, from tools/list, 28 Nov 2026)

get_price

Live price

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

ParameterTypeRequiredDescription
symbolstringyesSymbol without the USDT suffix, e.g. BTC, ETH, AAPL, EURUSD, XAU

get_klines

OHLC candles

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

ParameterTypeRequiredDescription
symbolstringyes
intervalstringnoMinutes: 1, 5, 15, 60, 240, 1440, 10080

get_markets

Tradable markets

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

ParameterTypeRequiredDescription
asset_classenum: "crypto" | "stock" | "forex" | "metal" | "index"no

get_screener

Setup screener

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

No parameters.

get_funding

Funding rates

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

ParameterTypeRequiredDescription
symbolstringno

get_open_interest

Open interest

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

ParameterTypeRequiredDescription
symbolstringno

get_catalysts

Catalysts (news, listings, macro, hacks)

Dated events that can move a coin, as they land: exchange listings and delistings, filings, macro prints, hacks (scored by the money lost), ETF and regulation headlines, official channels and fast news desks - one story per event with the desks that reported it, a 0-100 score, the coins named, the direction implied and how much events of that kind have measurably moved price.

ParameterTypeRequiredDescription
symbolstringnoOnly items naming this coin
kindstringnolisting, delisting, macro, hack, etf, regulation, politics, whale, unlock, protocol, adoption, filing, news
min_scorenumbernoMinimum score 0-100 (default 25)
limitnumberno

get_what_moved_it

What moved it (30 days)

Every abnormal jump or drop of the last 30 days for any market (coin, stock, index, forex, metal) with its causes and their shares, dated by the FIRST report of a story: the story that moved it (with desks and measured realism), a liquidation cascade or forced closes, the whale tracker, the tape, Bitcoin and why Bitcoin moved, US stocks, open interest (deleveraging, short covering, new positioning), the chart structure (a broken level, a new 30-day extreme), with a sentence on every move - unknown said out loud. Pass at (ms) with pct for a live verdict on a move happening now.

ParameterTypeRequiredDescription
symbolstringno
tfnumbernoCandle minutes: 5, 15 or 60
daysnumberno
atnumbernoLive verdict: the move start in ms
pctnumberno
nnumberno

get_liquidations

Liquidations (24h)

Recent real liquidation events aggregated from twelve exchanges.

ParameterTypeRequiredDescription
symbolstringno

get_fear_greed

Fear and Greed index

Crypto Fear and Greed index, current value and classification.

No parameters.

get_economic_calendar

Economic calendar

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

No parameters.

calc_liquidation

Liquidation price calculator

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

ParameterTypeRequiredDescription
entrynumberyes
leveragenumberyes
sideenum: "long" | "short"yes

calc_position_size

Position size calculator

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

ParameterTypeRequiredDescription
balancenumberyes
risk_pctnumberyes
entrynumberyes
stopnumberyes

paper_balance

Paper account balance

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

No parameters.

paper_positions

Paper positions

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

ParameterTypeRequiredDescription
statusenum: "open" | "closed"noOmit for both

paper_trades

Closed paper trades

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

ParameterTypeRequiredDescription
limitnumberno
beforenumbernoEpoch ms cursor from next_before

paper_open

Open a paper position

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

ParameterTypeRequiredDescription
symbolstringyes
sideenum: "long" | "short"yes
margin_usdnumberyes1 to 100000
leveragenumberyes1 to the symbol cap from get_markets
slnumber | nullno
tpnumber | nullno
trail_pctnumber | nullnoTrailing stop distance in percent (0.05-50): the stop follows the best price seen, server-side, even while the bot is offline
dry_runbooleannotrue = validate and price the trade (entry, liquidation, quantity, fees) and write NOTHING
client_order_idstringnoYour own id - retrying with the same one returns the first position instead of opening a second

paper_close

Close a paper position

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

ParameterTypeRequiredDescription
idstringyes
pctnumbernoPercent to close, 1-100. Omit for the whole position.

paper_sltp

Set stop / take-profit

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

ParameterTypeRequiredDescription
idstringyes
slnumber | nullno
tpnumber | nullno
trail_pctnumber | nullnoTrailing stop distance in percent (0.05-50); null switches trailing off

paper_modify_order

Modify a resting 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.

ParameterTypeRequiredDescription
order_idstringyes
limit_pricenumberno
slnumber | nullno
tpnumber | nullno
margin_usdnumberno
leveragenumberno
trail_pctnumber | nullno

paper_fees

Fee venue

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.

ParameterTypeRequiredDescription
setstringnoOmit to read. A venue key from the list, or "marginpad" to reset.

paper_sim

Simulation profile

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 results are measured against and whether it is a real budget (margin_enforced), what crossing the book costs on entry and exit (slippage, slippage_bps, impact_bps_per_100k), how long your order is in flight (latency_ms), whether orders fill part-way (partial_fills, min_fill_pct), how often the venue refuses (reject_rate_pct), your own fee (taker_bps), funding (funding, funding_mult) and where liquidation sits (margin_venue, margin_tiers, mmr_pct). Easiest route: pass a preset - frictionless, realistic, binance, bybit, okx, hyperliquid, thin_book or brutal. Reading returns every field with its range, its default and what it changes, the presets, and what a fill would look like right now. Out-of-range values are refused, never clamped. Positions keep the simulation they were filled under. Requires an API key.

ParameterTypeRequiredDescription
presetstringnofrictionless | realistic | binance | bybit | okx | hyperliquid | thin_book | brutal. A preset starts from the defaults, so it is a clean slate plus that configuration. Omit every field to READ.
resetbooleannotrue = back to the engine defaults.
start_balance_usdnumberno100 to 10,000,000. The book return_pct, the equity curve and max drawdown are measured against.
margin_enforcedbooleannotrue = an open needing more than free margin is refused 402, as a venue refuses it. Free margin is balance minus committed margin; unrealized profit is not collateral, because every position is isolated.
leverage_maxnumbernoYour own leverage ceiling below the market cap. 0 = the market cap.
max_notional_usdnumbernoYour own ceiling on one position’s notional. 0 = none.
slippagebooleannoFill against yourself the way a real book does: 0.01% crypto majors, 0.05% other crypto, 0.005% forex, 0.02% stocks/metals/indices.
slippage_bpsnumberno0-500. Your own crossing cost in basis points instead of that table. 10 = 0.10%.
impact_bps_per_100knumberno0-500. Extra basis points per $100,000 of notional, because size walks further down the book.
exit_slippagebooleannoPay the crossing cost on the way out too (default true). A stop, take-profit or liquidation still fills at its level.
latency_msnumberno0-2000. Your order is in flight this long and the price is re-read afterwards.
partial_fillsbooleannoAllow a market order to fill less than it asked for.
min_fill_pctnumberno10-100. The worst fill ratio with partial_fills on.
reject_rate_pctnumberno0-50. Share of opens refused 503 venue_rejected on purpose.
taker_bpsnumberno0-100. Your own per-side fee in basis points. 5.5 = 0.055%.
fundingbooleannofalse = never charge funding, which is how you separate an execution edge from a carry edge.
funding_multnumberno0-5. Scale the real 8-hourly funding rate.
margin_venuestringnobinance | bybit | okx | bitget | mexc | kucoin | gate | kraken | hyperliquid | coinbase, or "marginpad". Moves ONLY where liquidation sits.
margin_tiersbooleannoRaise maintenance margin with size, as a risk-limit ladder does, so a large position liquidates sooner.
mmr_pctnumberno0.05-10. Your own maintenance margin, beating margin_venue.

paper_realism

Fill 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%, 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.

ParameterTypeRequiredDescription
slippagebooleannoFill 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_tiersbooleannoRaise maintenance margin with position size, as an exchange risk-limit table does, so a large position is liquidated sooner.
margin_venuestringnobinance | bybit | okx | bitget | mexc | kucoin | gate | kraken | hyperliquid | coinbase, or "marginpad" to reset. Omit every field to read.

paper_report

Trading report

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.

ParameterTypeRequiredDescription
daysnumberno1-30, default 30

paper_accounts

Paper books

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.

No parameters.

paper_reset

Reset the paper book

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.

No parameters.

paper_equity

Equity curve

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.

ParameterTypeRequiredDescription
daysnumberno1-90, default 30
step_minnumbernoBucket minutes, 5-1440

paper_replay

Replay a past day

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.

ParameterTypeRequiredDescription
symbolstringnoStart: the market, e.g. BTC
daystringnoStart: a complete past UTC day, YYYY-MM-DD
speednumbernoStart: 1-600, default 60
actenum: "stop"no"stop" ends the replay and returns the summary

paper_limit_order

Place a limit or stop 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.

ParameterTypeRequiredDescription
symbolstringyes
sideenum: "long" | "short"yes
limit_pricenumberyesBelow the market for a long, above it for a short
margin_usdnumberyes1 to 100000
leveragenumberyes
slnumber | nullno
tpnumber | nullno
client_order_idstringno

paper_orders

Resting orders

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

No parameters.

paper_cancel_order

Cancel a resting order

Cancel a resting limit order. Requires an API key.

ParameterTypeRequiredDescription
order_idstringyes

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://marginpad.io/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http sdk https://marginpad.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : sdk ; URL : https://marginpad.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : sdk ; Server URL : https://marginpad.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "sdk": {
      "url": "https://marginpad.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "sdk": {
      "type": "http",
      "url": "https://marginpad.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "sdk": {
      "url": "https://marginpad.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "sdk": {
      "httpUrl": "https://marginpad.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.sdk]
url = "https://marginpad.io/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

sdk · L’Atlas · Tested on

Markdown
[sdk — L’Atlas](https://latlas.dev/en/mcp/io.github.Marginpad/sdk)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 30 Nov 2026. L’Atlas adds no data beyond this source and its own tests.