Ask your assistant.
Get the real numbers.
NockTrade ships a Model Context Protocol server. Point your assistant at it and questions about markets, depth, funding and what an order would actually cost get answered from the live venue instead of from memory.
It is read-only and holds no keys. Your assistant can research markets and read a public account, but it cannot place an order, cancel one, or move funds — that is a property of the code, not a promise.
Two minutes, one config entry.
- 1Open Settings, then Developer, then Edit Config.
- 2Add the nocktrade entry to mcpServers and save.
- 3Quit Claude completely (from the tray or menu bar, not just the window) and reopen it.
{
"mcpServers": {
"nocktrade": {
"command": "npx",
"args": ["-y", "nocktrade-mcp"]
}
}
}Needs Node 20 or newer. Nothing to clone and nothing to install — npx fetches the server on demand and runs it locally on your machine.
Things it can answer.
Not typed into this page — computed from the live book when it was last built, by the same code the terminal runs before it enables the submit button. The liquidation price is an estimate; the venue's risk engine owns the real one.
Seven of them. All read-only.
list_marketsEvery perp on the venue, sorted by 24h volume, filterable by symbol.
get_marketMark and index price, 24h range and change, open interest, max leverage, minimum size.
get_orderbookLive depth on both sides, mid price, spread in basis points.
get_candlesOHLCV history from one minute to one day.
get_accountCollateral, open positions with live PnL and return on margin, asset balances.
get_fundingFunding rate history, hourly or daily.
estimate_order_costThe whole cost of an order before anyone commits: margin, both fees, liquidation price.
What about placing orders?
Not from this server. Execution needs a key, and a key that lives anywhere an assistant can reach it is a key you have partly given away. If we ever ship a trading server it will run on your own machine with a key you generated yourself, behind limits an assistant cannot talk its way past: per-order and daily caps, a market allowlist, reduce-only by default, and your explicit confirmation for every order.
Until then, research in the chat and execute in the terminal, where you can see the whole cost before you press anything.