mcp
v0.5.0Crypto market data: spot order books, taker flow, futures funding, open interest and liquidations
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
blackforge_catalog BlackForge catalog
List every venue BlackForge covers (the major spot exchanges) and every column it measures (one wide row per (exchange, symbol) per minute, served at 1m, 5m, 1h and 1d: order-book depth and shape, resting-liquidity lifetimes, trade-explained vs book-implied volume, spreads, and market-wide context). `metricCount` is the exact number of columns available now. Each metric carries a precise measurement definition, unit, family, and the minimum plan that includes it, the `intervals` it is served at, and, where the 5m/1h/1d value is a rollup of minute values rather than a re-measurement, a one-sent…
blackforge_symbols BlackForge symbols
List the trading pairs (symbols) a given venue trades, as an array of symbol strings. Use these values as the `symbol` argument to blackforge_latest and blackforge_series. Valid `exchange` values come from blackforge_catalog (e.g. binance, bybit, coinbase, kraken, okx). A venue outside the caller's plan returns HTTP 403 with the plan and an upgrade URL.
| Parameter | Type | Description |
|---|---|---|
exchange * | string | Venue identifier from blackforge_catalog, e.g. binance, okx, coinbase. |
blackforge_latest BlackForge latest bucket
Return the latest completed bucket for one (exchange, symbol), at the key plan's interval (1 minute on Ultra and PAYG, 5 minutes otherwise): a `values` object mapping each column key to its measured number (or null when not observed), plus the window END timestamp `ts` in epoch milliseconds. Omit `columns` to get every column your plan includes; pass a subset of column keys (from blackforge_catalog) to narrow the payload. Columns your plan does not cover are dropped and reported in `columnsOmitted` so you can see why a key is absent. WHEN PRESENT, a `quality` object reports the row's measureme…
| Parameter | Type | Description |
|---|---|---|
exchange * | string | Venue identifier, e.g. binance. |
symbol * | string | Trading pair from blackforge_symbols, e.g. BTCUSDT. |
columns | array | Optional subset of column keys from blackforge_catalog. Omit for all plan-included columns. |
blackforge_series BlackForge time series
Return a time series for one column of one (exchange, symbol): `points` is an ascending array of { ts, value } where `ts` is epoch milliseconds and `value` is the measured number (or null). `from`/`to` are ISO-8601 datetimes; `interval` is one of 1m, 5m, 1h, 1d. 1m is on Ultra and PAYG (PAYG bills a 1m row at five times a 5m row); Max and below go down to 5m, and a finer interval than the plan allows is a 403. 1m rows exist only from the switch to one-minute rows on (see blackforge_catalog `availableFrom`); for earlier ranges use 5m, which covers all history. The server caps a response at 50,0…
| Parameter | Type | Description |
|---|---|---|
exchange * | string | Venue identifier, e.g. binance. |
from * | string | Start datetime, ISO-8601, e.g. 2026-07-01T00:00:00Z. |
interval * | string | Bucket size: 1m (Ultra and PAYG), 5m, 1h, or 1d. |
metric * | string | Column key from blackforge_catalog, e.g. spreadMean. |
symbol * | string | Trading pair, e.g. BTCUSDT. |
to * | string | End datetime, ISO-8601, e.g. 2026-07-02T00:00:00Z. |
blackforge_usage BlackForge usage
Report the calling key's recent usage: `days` is a per-day breakdown of request counts and the last request time, and `rowsRemaining` is the monthly row quota still available (omitted for usage-based plans that have no monthly ceiling). Use this to check headroom before a large pull.
blackforge_futures_symbols BlackForge futures contracts
The linear futures contracts (perpetual and dated) a futures venue lists now, as an array of contract symbols: the `symbol` values blackforge_futures_latest and blackforge_futures_series accept. Contracts are spelled the way each venue spells them: binance, bybit and bitget `BTCUSDT`, okx `BTC-USDT-SWAP`, gate and mexc `BTC_USDT`, kucoin `XBTUSDTM`, dated contracts such as `BTCUSDT_261225`. The futures venues and the plan each needs are under `futures.venues` in blackforge_catalog; a venue outside the key's plan is an HTTP 403 carrying the plan and an upgrade URL. Not metered.
| Parameter | Type | Description |
|---|---|---|
exchange * | string | Futures venue from blackforge_catalog `futures.venues`, e.g. binance, okx, bybit. |
blackforge_futures_latest BlackForge futures latest bucket
The latest complete bucket for one linear futures contract at the key plan's interval (1m on Ultra and PAYG, 5m on Max, 1h on Pro, 1d on Free). `values` maps each futures column key to its value: a number, a string for the text columns (`baseAsset`, `quoteAsset`, `contractType`), or null where the venue did not publish it. `ts` (epoch milliseconds, with `tsIso`) and `interval` identify the bucket; `ts` is 0 with empty `values` when the contract has no row. The columns are defined under `futures.metrics` in blackforge_catalog: mark, index, last, best bid and best ask prices; `fundingRate` (per…
| Parameter | Type | Description |
|---|---|---|
exchange * | string | Futures venue, e.g. binance. |
symbol * | string | Contract from blackforge_futures_symbols, e.g. BTCUSDT or BTC-USDT-SWAP. |
columns | array | Optional subset of futures column keys. Omitted: every column the plan includes. |
blackforge_futures_series BlackForge futures time series
A time series of one numeric futures column for one contract: `points` is an ascending array of { ts, value } with `ts` in epoch milliseconds and `value` the number or null. `from`/`to` are ISO-8601 datetimes; `interval` is one of 1m, 5m, 1h, 1d, and an interval finer than the plan's (1m on Ultra and PAYG, 5m on Max, 1h on Pro, 1d on Free) is an HTTP 403. Futures history is a rolling window: `futures.historyDays` and `futures.availableFrom` in blackforge_catalog, shorter on Free; a `from` before the plan's window is moved forward to it without an error, so the first point can start later than…
| Parameter | Type | Description |
|---|---|---|
exchange * | string | Futures venue, e.g. bybit. |
from * | string | Start datetime, ISO-8601, e.g. 2026-11-08T00:00:00Z. |
interval * | string | Bucket size: 1m (Ultra and PAYG), 5m (Max), 1h, or 1d. |
metric * | string | Numeric futures column key from blackforge_catalog `futures.metrics`, e.g. fundingRate, openInterestValue. |
symbol * | string | Contract from blackforge_futures_symbols, e.g. BTCUSDT. |
to * | string | End datetime, ISO-8601, e.g. 2026-11-09T00:00:00Z. |
blackforge_futures_top BlackForge futures ranking
Futures contracts ranked by one numeric column on the latest complete bucket at the key plan's interval, on one venue (`exchange`) or across every futures venue the plan includes. `rows` is an array of { exchange, symbol, baseAsset, value } in `order` (`desc`, the default, is largest first), with the bucket's `ts` (epoch milliseconds, with `tsIso`) and `interval`. `baseAsset` (e.g. BTC) keeps one coin, which with no `exchange` puts that coin's contracts on every venue side by side; `contractType` keeps `perpetual` or `dated` contracts. `limit` is 1 to 100 (default 50). `metric` is a numeric ke…
| Parameter | Type | Description |
|---|---|---|
metric * | string | Numeric futures column key, e.g. fundingRate. |
baseAsset | string | One coin as `baseAsset` spells it, e.g. BTC (kucoin XBT reads BTC). |
contractType | string | perpetual (funded, no expiry) or dated. |
exchange | string | One futures venue. Omitted: every futures venue the plan includes. |
limit | integer | Rows, 1 to 100. Default 50. |
order | string | desc (largest first, the default) or asc. |
blackforge_futures_liquidations BlackForge futures liquidations
Individual liquidation events from the futures venues that publish a public liquidation feed, newest first. `events` is an array of { ts, exchange, symbol, side, price, quantity, notional }: `ts` is the venue's time in epoch milliseconds, `side` is the POSITION liquidated (a long is closed by a forced sell), `quantity` is in base units and `notional` in the quote currency. `from`/`to` (ISO-8601) default to the last hour, echoed as `fromIso`/`toIso`; `limit` is 1 to 1000 (default 100) and `truncated: true` means the window held more. Feed coverage per venue is `futures.venues[].liquidations` in…
| Parameter | Type | Description |
|---|---|---|
exchange | string | One futures venue. Omitted: every venue with a feed the plan includes. |
from | string | Start datetime, ISO-8601. Default: one hour before `to`. |
limit | integer | Events, 1 to 1000. Default 100. |
side | string | The position liquidated: long or short. |
symbol | string | One contract, as the venue spells it. |
to | string | End datetime, ISO-8601. Default: now. |
blackforge_formula_validate Check a live formula
Check a live formula without saving it. Free and unmetered, so iterate on it freely. On success returns { ok: true, normalised, pairs, primitives, horizonSeconds, cost: { rowsPerEvaluation, rowsPer30Days } }. On a refusal returns { ok: false, error } where error carries a stable code, a message, the location (at, pointer under the source) and suggestions such as the correct pair spelling: apply them and check again. A formula is an arithmetic expression over live order book and trade data, evaluated server-side every interval (default 1 s). Pairs are written venue:SYMBOL exactly as blackforge_…
| Parameter | Type | Description |
|---|---|---|
expr * | string | The formula source, e.g. mid(binance:BTCUSDT) - mid(okx:BTC-USDT). |
interval | integer | Seconds between evaluations, 1 to 60. Default 1. |
blackforge_formula_create Save a live formula
Save a live formula to the account so it can be streamed (blackforge_formula_watch) and carry notifications (blackforge_alert_create). Returns { formula: { id, name, expr, interval, pairs, horizonSeconds, ... } }. A refused formula comes back as an error with the same located, coded detail blackforge_formula_validate gives; validate first. Saving is free; a formula is charged one row per referenced pair per evaluation only while it is streamed or watched by a notification. Live formulas and notifications are part of the Ultra plan.
| Parameter | Type | Description |
|---|---|---|
expr * | string | The formula source (see blackforge_formula_validate for the language). |
name * | string | A short name, 1 to 80 characters. |
ephemeral | boolean | true stores it for one hour only, outside the saved-formula count. Default false. |
interval | integer | Seconds between evaluations, 1 to 60. Default 1. |
blackforge_formula_list List live formulas
List the account's saved live formulas, with the plan's limits and current usage ({ formulas, limits, usage: { live, stored, connections } }). Live formulas and notifications are part of the Ultra plan.
blackforge_formula_delete Delete a live formula
Delete a saved live formula. Its notifications are deleted with it and listed in deletedAlerts. Cannot be undone.
| Parameter | Type | Description |
|---|---|---|
formulaId * | string | The formula id, fml_... |
blackforge_formula_watch Watch a live formula
Stream a live formula for a few seconds and return what arrived: first, last, min, max, the number of samples, which value flags appeared (with a plain note for each), and the full series of { ts, value, flags? } with ts in epoch milliseconds. Pass formulaId for a saved formula, or expr to watch a formula once (it is saved as a one-hour formula first). seconds is 1 to 60, default 20. A value flagged WARMING is computed over less than its full window, because the formula is younger than its horizon; it settles by warmUntil. null means there was no number (for example no print in a trade window)…
| Parameter | Type | Description |
|---|---|---|
expr | string | A formula source to watch once. Pass this or formulaId. |
formulaId | string | A saved formula id, fml_... Pass this or expr. |
interval | integer | Only with expr: seconds between evaluations, 1 to 60. Default 1. |
seconds | integer | How long to collect, 1 to 60 s. Default 20. |
blackforge_alert_create Notify when a formula crosses a value
Get notified when a saved live formula crosses a value you set. It is evaluated server-side every interval, whether or not anything is connected. direction: above (goes from at or below the threshold to above it), below (the reverse), or cross (either). After it fires it waits until the value is back on the other side by at least hysteresis and cooldownSeconds (60 to 86400, default 900) have passed. If the condition is already true when created, it starts disarmed and arms once the value is back across. It never fires on null or on a WARMING or stale value. Email goes to the account's verified…
| Parameter | Type | Description |
|---|---|---|
direction * | string | above, below or cross. |
formulaId * | string | The saved formula id, fml_... |
threshold * | number | The value your formula must cross. |
cooldownSeconds | integer | Minimum seconds between notifications. Default 900. |
email | boolean | Email the account's verified address. Default true. |
hysteresis | number | How far back across it must go to re-arm. Default 0. |
webhookUrl | string | Optional https URL that receives a signed JSON POST. |
blackforge_alert_list List formula notifications
List the account's formula notifications ({ alerts, limits }). Each carries its formula, direction, threshold, status (active, paused, quota, plan), whether it is armed, and when it last fired. Live formulas and notifications are part of the Ultra plan.
blackforge_alert_delete Delete a formula notification
Delete a formula notification. The formula itself is kept. Cannot be undone.
| Parameter | Type | Description |
|---|---|---|
alertId * | string | The notification id, alr_... |
blackforge_book Live order book
Read the live order book for one pair right now: the top levels on both sides as [price, quantity] pairs, when it was read (observedAtMs), whether the book is synced or crossed, and level counts. levels is 1 to 200, default 20. Charged 2 rows per level returned. Live order book reads need the Max or Ultra plan and are charged against the monthly row quota.
| Parameter | Type | Description |
|---|---|---|
exchange * | string | Venue from blackforge_catalog, e.g. binance. |
symbol * | string | Pair as blackforge_symbols spells it, e.g. BTCUSDT or BTC-USDT. |
levels | integer | Levels per side, 1 to 200. Default 20. |
blackforge_fill Simulate a market order
Walk the live order book to price a market order of a given size right now, without placing anything. Give usd (notional in USD) or size (base quantity). Returns { complete, bps, partialBps, levelsWalked, vwap, depthLimited, bookExhausted }: bps is the cost against the mid in basis points and is null unless the visible book could fill the whole order (then see partialBps, and do not quote it as the cost). Charged one row per level walked. Live order book reads need the Max or Ultra plan and are charged against the monthly row quota.
| Parameter | Type | Description |
|---|---|---|
exchange * | string | Venue, e.g. binance. |
side * | string | buy walks the asks, sell walks the bids. |
symbol * | string | Pair as blackforge_symbols spells it. |
size | number | Order size in the base asset. Pass this or usd. |
usd | number | Order notional in USD. Pass this or size. |
blackforge_spread_map Live spread across venues
Best bid and best ask for one base/quote pair on every venue that lists it, all read within the same moment, so a difference between venues is a real difference rather than a timing artefact. Charged 2 rows per venue. Live order book reads need the Max or Ultra plan and are charged against the monthly row quota.
| Parameter | Type | Description |
|---|---|---|
base * | string | Base asset, e.g. BTC. |
quote * | string | Quote asset, e.g. USDT. |