by zadescoxp
Open source live mcp server for order flow data
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/zadescoxp/order-flow-mcpGuides for using mcp servers skills like order-flow-mcp.
See how order-flow-mcp compares with popular alternatives.
Live crypto order flow for any AI agent. An MCP server that streams trades, order books, open interest, funding and liquidations from 10 exchanges and gives agents the same analytics as the Order Flow Screener terminal: footprint candles, CVD, volume profile, VWAP bands, book imbalance and walls, block prints, absorption and iceberg detection, OI regimes, venue lead/lag and a multi-symbol screener.
Works with Claude Code, Codex, Cursor, Claude Desktop, VS Code, Windsurf, Gemini CLI, or any client that speaks MCP. You don't need API keys or an account, and there's nothing to configure.
Website: mcp.order-flow.zadescoxp.com has a setup guide for each agent. The charting app it is built on is at order-flow.zadescoxp.com.
you ▸ What's the order flow on BTC right now?
agent ▸ (calls get_market_snapshot, get_footprint, get_derivatives)
BTC 59,197, 1.3σ above session VWAP and above value (VAH 59,110). Buyers took
76% of the last 5m; an iceberg offer at 59,098 absorbed the push before it broke.
OI flat, funding +0.003%/8h, 10/10 venues live.
Node.js 20 or newer is required. Pick your agent and paste one command or config block.
claude mcp add orderflow -- npx -y github:zadescoxp/order-flow-mcp
codex mcp add orderflow -- npx -y github:zadescoxp/order-flow-mcp
Or add it to ~/.codex/config.toml:
[mcp_servers.orderflow]
command = "npx"
args = ["-y", "github:zadescoxp/order-flow-mcp"]
startup_timeout_sec = 60 # the first run installs the package
Add this to the client's MCP config. The file is ~/.cursor/mcp.json for Cursor and
claude_desktop_config.json for Claude Desktop (Settings → Developer → Edit Config). Windsurf uses
~/.codeium/windsurf/mcp_config.json and Gemini CLI uses ~/.gemini/settings.json.
{
"mcpServers": {
"orderflow": {
"command": "npx",
"args": ["-y", "github:zadescoxp/order-flow-mcp"]
}
}
}
.vscode/mcp.json:
{
"servers": {
"orderflow": { "type": "stdio", "command": "npx", "args": ["-y", "github:zadescoxp/order-flow-mcp"] }
}
}
Faster startup: the first
npxrun downloads the package, which can take 20–40 s. To skip that, install it once withnpm install -g github:zadescoxp/order-flow-mcpand useorder-flow-mcpas the command (no args).
To run one server that several agents or machines share:
npx -y github:zadescoxp/order-flow-mcp --http --port 3333 --host 0.0.0.0 --token "$SECRET"
# or: docker build -t order-flow-mcp . && docker run -d --restart unless-stopped -p 3333:3333 -e ORDERFLOW_HTTP_TOKEN=$SECRET order-flow-mcp
Then connect a client:
claude mcp add --transport http orderflow http://your-host:3333/mcp --header "Authorization: Bearer $SECRET"
GET /health reports the server version and the markets being streamed.
git clone https://github.com/zadescoxp/order-flow-mcp && cd order-flow-mcp
npm install && npm run build
claude mcp add orderflow -- node "$PWD/dist/index.js"
The repo also ships a .mcp.json, so Claude Code picks the server up automatically inside the clone.
Ask your agent: "Use orderflow to get a market snapshot for BTC." You can also exercise every tool against the live exchanges with the bundled smoke test, or browse the tools in the MCP Inspector:
npm run smoke # BTC across all perp venues
node scripts/smoke.mjs ETH bybit
npm run inspect # MCP Inspector UI
| Tool | What it returns |
|---|---|
get_market_snapshot |
Start here. Price and spread, session OHLC, VWAP and σ distance, buy/sell volume and delta over 1m/5m/15m, volume z-score, realized volatility, POC/VAH/VAL, book imbalance and depth bands, OI and its regime, funding, basis, liquidations, block prints, absorption/iceberg events, plain-language signals, and the status of each venue |
get_footprint |
Footprint candles (1m–4h) with bid × ask volume per price row, delta, CVD, POC, VWAP, imbalance flags and stacked imbalances |
get_volume_profile |
Session volume at price: POC, value area (any %), high-volume nodes, buy/sell per row |
get_order_book |
Aggregated book with cumulative size, depth within 0.1–2 % of mid, large walls, and the top of book on each venue |
get_flow_series |
Time bars (1 s–1 h) with OHLC, buy/sell volume, delta, CVD, trade count and volume z-score, plus realized volatility |
get_trades |
Time & sales, filterable by notional, side and venue |
get_big_trades |
Block / whale prints at least N× the average print size |
get_derivatives |
Open interest, funding (native, 8h-normalized and annualized) and basis per venue, OI change over 1/5/15/60m with the price × OI regime (new longs, short covering, new shorts, long unwind) |
get_liquidations |
Long vs short liquidations, per-minute buckets, the largest liquidation and a cascade flag |
get_microstructure_events |
Absorption (passive side holds against aggressive flow) and iceberg (hidden size refilling) detections |
get_venue_comparison |
Each venue's price premium, volume share and delta, and which exchange leads price (in ms) |
get_liquidity_heatmap |
Resting depth over time within ±1 % of mid, with persistent walls marked pulled, added or held |
scan_markets |
Screener: rank up to 15 symbols by volume z-score, delta, buy %, VWAP stretch, OI change, liquidations… |
open_screener |
Opens the live screener page for the user (see below) and returns its URL |
wait_for |
Blocks until a condition fires on up to 10 markets (price level, % move, liquidation cascade, liquidation total, single print ≥ $N, absorption, iceberg) or times out, so the agent reacts in under a second instead of polling |
watch_markets / unwatch_market / list_active_markets |
Add markets to the watchlist, stop one, or see what is streaming and for how long |
list_markets |
The 120+ supported assets, which venues list each one, and timeframes |
There is also an analyze_order_flow prompt (a slash command in clients that support MCP prompts).
Every market tool takes symbol ("BTC", "eth", "SOL-PERP", "DOGEUSDT"…), plus optional venue
(default "all", or one of binance, bybit, okx, bitget, hyperliquid, deribit, coinbase, gate,
kucoin, kraken, htx) and market_type (perp by default, or spot).
open_screener opens a watchlist page in your browser. Every market the server is streaming is on it, and
it updates as trades arrive:
The page reads from the same streams as the agent, so you and the agent see the same data. Ask for markets
by name ("open the screener with BTC, ETH, SOL and DOGE") and they are added. Over stdio the page is served on
http://127.0.0.1:3334/screener (or the next free port), and starts on the first open_screener call or at
startup with --screener. Over --http it is at /screener on the same port (add ?token= when a token is set).
JSON for your own tools: /screener/data.json?window=1h, or the Server-Sent Events stream at /screener/stream.
Prefer the terminal? Run the same board full-screen, Bloomberg style, in a split pane or a second tab next to your agent:
npx -y github:zadescoxp/order-flow-mcp tui
It streams BTC, ETH, SOL, XRP, DOGE, BNB, HYPE and SUI perps across every venue by default. Pass your own list
(tui BTC,ETH,PEPE), --window 15m|1h|4h|session, --venue bybit or --spot. To show exactly what your
agent's server is streaming, with its full history, point it at that server's screener:
tui --connect http://127.0.0.1:3334 (stdio, after open_screener or with --screener) or
tui --connect http://localhost:3333 (--http). Keys: 1–4 change the window, s cycles the sort
(change, volume, delta, liquidations), q quits. Prices flash green or red on each tick, and a
liquidation cascade lights a red banner.
To have the agent keep watch, ask it to use wait_for, e.g. "wait for a liquidation cascade on the BTC perp
and tell me when it happens". Each call waits up to timeout_seconds (default 300) and the agent calls it
again to keep watching.
| Venues | |
|---|---|
| Perpetuals | Binance, Bybit, OKX, Bitget, Hyperliquid, Deribit, Gate, KuCoin, Kraken, HTX |
| Spot | Binance, Coinbase, OKX, Bybit, Bitget, Gate, KuCoin, Kraken, HTX |
| Also | Gold and silver (XAU/XAG) perpetuals |
Exchange WebSockets (Siebly SDKs)
→ venue adapters → normalized trades / books / OI / funding / liquidations
→ order-flow engine (footprint, profile, CVD, VWAP, absorption, icebergs, venue lead/lag)
→ per-market in-memory session → MCP tools (compact JSON) → your agent
The engine is the Order Flow Screener's own code (src/lib), running headless in Node.
order-flow-mcp is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by zadescoxp. Open source live mcp server for order flow data. It has 56 GitHub stars.
order-flow-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/zadescoxp/order-flow-mcp" and add it to your Claude Code skills directory (see the Installation section above).
order-flow-mcp is primarily written in TypeScript. It is open-source under zadescoxp on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh order-flow-mcp against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars