io.github.Marginpad/sdk
Free crypto-futures paper trading and live market data for AI agents. 31 tools; no key for data.
- Repository
- github.com/marginpad/sdk
- Website
- marginpad.io/trading-api/#mcp
- Server address
https://marginpad.io/mcp(streamable-http)- Version
- 3.0.2
- Author
- Marginpad (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 16, 2026)
How to install it
The server optionally accepts a header: X-API-Key. Replace YOUR_KEY with your key.
Claude Code
In a terminal:
claude mcp add --transport http sdk https://marginpad.io/mcp \
--header "X-API-Key: YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://marginpad.io/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://marginpad.io/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"sdk": {
"url": "https://marginpad.io/mcp",
"headers": {
"X-API-Key": "YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"sdk": {
"type": "http",
"url": "https://marginpad.io/mcp",
"headers": {
"X-API-Key": "YOUR_KEY"
}
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 11:14 (test run by L’Atlas)
- Response time
- 211 ms (whole test)
- Tools found
- 31
- Announced name
- marginpad 2.4.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (31)
get_price
Live price and 24h change for a crypto perp, stock, index, forex pair or metal. No API key needed.get_klines
OHLC candles for a symbol. Use this to compute indicators or check a setup before trading.get_markets
Every tradable symbol with its asset class, maximum leverage and taker fee. Call this before sizing a trade.get_screener
Scored trade setups across top USDT perps: 0-100 technical score, RSI, MACD, funding and open interest.get_funding
Current funding rates across exchanges - who pays whom to hold a perp position.get_open_interest
Open interest per symbol - how much leveraged money is committed.get_catalysts
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 dget_what_moved_it
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 liquidatiget_liquidations
Recent real liquidation events aggregated from twelve exchanges.get_fear_greed
Crypto Fear and Greed index, current value and classification.get_economic_calendar
Upcoming macro events that move crypto (FOMC, CPI, NFP). Always check this before answering questions about dates - never answer those from memory.calc_liquidation
Liquidation price for a position: entry, leverage, side.calc_position_size
Risk-based position size from account balance, risk percent, entry and stop.paper_balance
Your paper account: balance, equity, free margin, unrealized P&L. Requires an API key.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.paper_trades
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_close
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 yourpaper_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 therepaper_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 slippapaper_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.paper_accounts
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_reset
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_equity
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_closepaper_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). Topaper_orders
Your resting limit orders, plus the last 20 that filled, expired or were cancelled. Requires an API key.paper_cancel_order
Cancel a resting limit order. Requires an API key.
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.marginpad/sdk)HTML
<a href="https://lagora.dev/en/entry/io.github.marginpad/sdk"><img src="https://lagora.dev/badge/io.github.marginpad/sdk.svg?lang=en" alt="io.github.Marginpad/sdk on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.