Skip to main content
Glama

Server Details

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

Ownership verified
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 tools
calc_liquidationInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
sideYes
entryYes
leverageYes
calc_position_sizeInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
stopYes
entryYes
balanceYes
risk_pctYes
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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_fear_greedInspect

Crypto Fear and Greed index, current value and classification.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

get_fundingInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
symbolNo
get_klinesInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
symbolYes
intervalNoMinutes: 1, 5, 15, 60, 240, 1440, 1008060
get_liquidationsInspect

Recent real liquidation events aggregated from nine exchanges.

ParametersJSON Schema
NameRequiredDescriptionDefault
symbolNo
get_marketsInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
asset_classNo
get_open_interestInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
symbolNo
get_priceInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
symbolYesSymbol 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.

ParametersJSON Schema
NameRequiredDescriptionDefault

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

paper_balanceInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

paper_cancel_orderInspect

Cancel a resting limit order. Requires an API key.

ParametersJSON Schema
NameRequiredDescriptionDefault
order_idYes
paper_closeInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
pctNoPercent 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNo1-90, default 30
step_minNoBucket 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
setNoOmit 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
slNo
tpNo
sideYes
symbolYes
leverageYes
margin_usdYes1 to 100000
limit_priceYesBelow the market for a long, above it for a short
client_order_idNo
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.

ParametersJSON Schema
NameRequiredDescriptionDefault
slNo
tpNo
leverageNo
order_idYes
trail_pctNo
margin_usdNo
limit_priceNo
paper_openInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
slNo
tpNo
sideYes
symbolYes
dry_runNotrue = validate and price the trade (entry, liquidation, quantity, fees) and write NOTHING
leverageYes1 to the symbol cap from get_markets
trail_pctNoTrailing stop distance in percent (0.05-50): the stop follows the best price seen, server-side, even while the bot is offline
margin_usdYes1 to 100000
client_order_idNoYour 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.

ParametersJSON Schema
NameRequiredDescriptionDefault

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
statusNoOmit 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
slippageNoFill 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_tiersNoRaise maintenance margin with position size, as an exchange risk-limit table does, so a large position is liquidated sooner.
margin_venueNobinance | 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
actNo"stop" ends the replay and returns the summary
dayNoStart: a complete past UTC day, YYYY-MM-DD
speedNoStart: 1-600, default 60
symbolNoStart: 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
daysNo1-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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

paper_sltpInspect

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

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
slNo
tpNo
trail_pctNoTrailing 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.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
beforeNoEpoch ms cursor from next_before

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 28 tool updates
    • First observedcalc_liquidation
    • First observedcalc_position_size
    • First observedget_economic_calendar
    • First observedget_fear_greed
    • First observedget_funding
    • First observedget_klines
    • First observedget_liquidations
    • First observedget_markets
    • First observedget_open_interest
    • First observedget_price
    • First observedget_screener
    • First observedpaper_accounts
    • First observedpaper_balance
    • First observedpaper_cancel_order
    • First observedpaper_close
    • First observedpaper_equity
    • First observedpaper_fees
    • First observedpaper_limit_order
    • First observedpaper_modify_order
    • First observedpaper_open
    • First observedpaper_orders
    • First observedpaper_positions
    • First observedpaper_realism
    • First observedpaper_replay
    • First observedpaper_report
    • First observedpaper_reset
    • First observedpaper_sltp
    • First observedpaper_trades

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    Enables 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.
    168
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables 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.
    7
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Prediction-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.
    2
    41
    4
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI agents to trade crypto with paper money, access market data, view leaderboards, and manage trading bots via an MCP-compatible interface.
    16
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.