BitCLI

io.github.BitCLI-ioPublished by GitHub account BitCLI-iov1.0.0Updated Oct 30, 2026

Real-time crypto futures order flow, BCT-30 matrices, and HFT alerts across 1,650+ contracts.

VerifiedStreamable HTTPWeb executableFinanceCommunication & CollaborationData & Analytics

Overview

AI-generated overview

Remote MCP server giving assistants crypto futures market data, risk calculations, price alerts and Telegram/Discord notifications, billed per call.

What you can do
  • Read official BitCLI documentation, command grammar and indicator formulas
  • Fetch derivatives market data across Binance, Bybit and Hyperliquid, including compact candlestick matrices, cross-exchange TA consensus and screening of 1,650+ perpetuals
  • Compute risk models such as position sizing, liquidation price, DCA break-even and multi-target R:R
  • Create and remove price, volume, liquidation and order-flow triggers that push alerts out of band
  • Send notifications to the user's verified Telegram chat or Discord webhook
  • Inspect account balance, subscription tier, daily quota and verified notification destinations
When to use it
Useful when an assistant needs compact, pre-computed crypto derivatives data and risk math without burning context on raw exchange JSON, or when you want alerts that fire after the conversation ends. Most valuable for trading analysis and monitoring workflows rather than general tasks.
Requirements
Remote streamable HTTP endpoint at mcp.bitcli.io; no local package. A BitCLI API key generated from the web dashboard or Telegram bot, sent as an Authorization Bearer header. A funded account or daily quota for paid tools; verified Telegram or Discord destinations for notifications.
Before you install
Most tools cost money per call ($0.001, alerts up to $0.002), deducted from a daily quota or USD balance. alert_manager and send_notification write state and send messages to third-party channels. The API key is a billable credential and should be kept secret. Market data and alerts are informational; the server states it does not custody funds or need exchange trading keys.

Installation

In SourceWeft

  1. Open BitCLI in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.BitCLI-io%2Fbitcli-mcp-server/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "bitcli": {
      "type": "http",
      "url": "https://mcp.bitcli.io/mcp"
    }
  }
}

README

BitCLI Model Context Protocol (MCP) Server

Institutional-grade crypto derivatives infrastructure, order flow analytics, and HFT triggers for AI Agents.

[MCP Protocol] [TDQS Score] [License: MIT] [Status: Production]

Website • Documentation • Web Dashboard • Telegram Bot


💡 The Economics of AI Trading: Why Raw APIs Bleed Capital

Most AI trading agents connect to crypto exchanges using standard REST endpoints (CCXT, Binance FAPI, or Bybit V5). This burns massive token context on raw formatting boilerplate.

A standard 100-candle JSON array from an exchange dumps 13-digit Unix timestamps, quote/base volume strings, and trade counts. The agent's LLM context window gets clogged with unparsed strings, while having to compute RSI, EMA, and MACD inside its own context—burning tokens and hallucinating math.

The Token Benchmark (100 Candles, 5m Timeframe)

Data Provider / FormatPayload StrategyTokens (100 Bars)Inference Cost (10k Calls)*Context Efficiency
Bybit V5 REST APINamed JSON Key-Value Objects~3,450$86.25Baseline (Bloated)
CCXT Library (Python)Raw 6-element JSON arrays~2,680$67.00Industry Average
BitCLI BCT-30 MatrixKilo-scaled USD + Server-Side Indicators~790$19.75🔥 70% Less Tokens

*Pricing based on standard OpenAI GPT-4o / Claude 3.5 Sonnet input token pricing ($2.50 / 1M).

💰 The Bottom Line

BitCLI queries cost $0.001 USD (Pay-As-You-Go).
By cutting ~1,900 tokens per call, BitCLI saves ~$0.0048 in model inference fees on every single request.
You pay micro-cents for curated market data to save full dollars on LLM compute.


⚡ The BCT-30 Candlestick Matrix

Instead of raw exchange JSON, BitCLI returns dense, mathematical BCT-30 (BitCLI Compact Candlesticks) matrices:

text
@BCT: BYBIT:BTCUSDT|5m|1719705600|kUSD@META: OI:$1.54B(+0.05%|+0.21%|-2.14%) | Fund_8h:+0.0100% | RVOL:2.4x | RSI:62.14 | EMA200:64,250.00@FIELDS: idx o h l c v dv rsi:14 ema:200-4 64120.5 64180.0 64100.0 64150.0 1250 +420 58.2 64210.0-3 64150.0 64210.0 64140.0 64195.0 2100 +1150 61.4 64225.0-2 64195.0 64230.0 64180.0 64210.0 1800 +350 62.1 64238.0-1 64210.0 64260.0 64190.0 64245.0 3400 +2100 64.8 64248.0 0 64245.0 64280.0 64220.0 64270.0 1450 +680 66.2 64250.0
  • Zero-Token Temporal Grids: No 13-digit Unix timestamps per row. Relative integer delta indices (-N ... 0) reconstruct exact time deterministically from the @BCT base timestamp.
  • Normalized Metrics: Volume (v) and Cumulative Volume Delta (dv) are converted to thousands of USD (kUSD).
  • Zero Math Hallucination: RSI, EMA, ATR, MACD, and Bollinger Bands are calculated in C++ on the server with 3,000 bars of historical warmup. The agent reads raw institutional truth.

📡 Dual Integration Architecture

1. Stateless Assistants (Cursor, Claude Desktop, ChatGPT)

  • Endpoint: POST https://mcp.bitcli.io/mcp
  • Mode: The agent queries market data or executes risk calculations on prompt.
  • Asynchronous Alerting: When setting a trigger via alert_manager, the agent does not need to hang open or poll. The trigger is injected into the C++ memory core. When hit, BitCLI dispatches an instant push to the user's Telegram or Discord channel.

2. Autonomous Trading Agents (Python SDK)

  • Endpoint: wss://mcp.bitcli.io/stream
  • Mode: Full duplex event stream with automatic reconnection and Replay API. Agents sleep in memory and wake up via sub-millisecond WebSocket frame pushes.

🛠️ The 6 Core MCP Tools

ToolActionPricingDescription
system_docsreadFree ($0.00)Access official BitCLI documentation, command grammar, and indicator formulas via RAG.
market_dataread$0.001BCT-30 Candlestick matrices, Cross-Exchange Quant TA consensus, and dynamic screening across 1,650+ contracts.
calc_enginecompute$0.001Mathematical risk models: Lot sizing by dollar risk (/pos), True liquidation with MMR (/liq), DCA break-even, multi-target R:R.
alert_managerwrite$0.001 - $0.002Injects sub-500ns triggers into C++ RAM. Dispatches notifications to Telegram / Discord when hit.
send_notificationwrite$0.001AI sends direct HTML messages to the human user's Telegram chat/channel or Discord webhook.
user_accountreadFree ($0.00)Inspect USD balance, daily quota usage, and list verified Telegram/Discord destination IDs.

🚀 Quickstart: Connecting Your AI Client

1. Generate an API Key

Log in to the Web Dashboard (via Discord, Telegram, or Web3) or use /profile in @bitclibot to generate your developer key:

text
bcli_your_api_key_here

2. Cursor IDE Integration

Add BitCLI to your project's .cursor/mcp.json:

json
{  "mcpServers": {    "bitcli": {      "url": "https://mcp.bitcli.io/mcp",      "headers": {        "Authorization": "Bearer bcli_your_api_key_here"      }    }  }}

3. Claude Desktop Configuration

Add BitCLI to your claude_desktop_config.json:

json
{  "mcpServers": {    "bitcli": {      "command": "npx",      "args": [        "-y",        "mcp-remote",        "https://mcp.bitcli.io/mcp",        "--header",        "Authorization: Bearer bcli_your_api_key_here"      ]    }  }}

⌨️ Unified Command Syntax (Used in Chat & alert_manager)

The exact same syntax works whether typed into Telegram or passed into the MCP command parameter:

  • Exact Price: btc 95k or binance eth 3150
  • Velocity (Rapid Moves): sol +3.5% 5m (Surges >3.5% in 5 min)
  • Whale Volume Spikes: * vol 15m x4 (Global scan: 4x above 20-SMA)
  • Liquidation Cascades: * liq z3 (Liquidations exceed 3 standard deviations)
  • Order Flow (CVD): btc cvd div 15m (Cumulative Volume Delta Divergence)
  • Risk Position Sizing: /pos btc 65k 63.7k 50 ($50 fixed risk calculation)

🛡 Security & Transparency

  • No Exchange API Keys Needed: BitCLI does not custody funds or request your private exchange trading keys.
  • Isolated Routing: The send_notification tool strictly enforces ownership validation—agents can only message destination IDs explicitly verified by your account.
  • Zero Polling Overhead: Avoid burning tokens on cron-loops. Set a trigger via alert_manager and let our infrastructure notify your channels.

📄 License

This MCP specification and client wrappers are open-source under the MIT License.

Source: README.md at commit 0937c82

Tools

6

system_docs

BEHAVIOR: Read-only RAG documentation tool. Reads and returns official BitCLI markdown specifications, indicator formulas, CLI command guides, and webhook setups. Returns a single string containing the requested Markdown document. PRICING: Free ($0.000). Does not consume quotas. USAGE GUIDELINES: Use this tool FIRST to understand BitCLI mechanics, verify command grammar, or check webhook templates before constructing queries. Do NOT use this tool to query live market prices or active triggers (use `market_data` or `alert_manager` instead). TOPICS: - 'syntax': Price targets, percentage corridors, velocity moves. - 'calculators': Position sizing, true MMR liquidation, DCA break-even, multi-target R:R. - 'market_intel': Screener filters, cross-exchange aggregation. - 'indicators': CVD divergence, Z-Scores, 8h normalized funding. - 'webhooks': PineScript relay setup, private chat routing. - 'tariffs': Subscription tiers and limits. - 'partners': Affiliate program rules. - 'ai': AI Copilot features. - 'mcp': Model Context Protocol architecture. - 'index': System overview. ERRORS: Requesting an invalid topic returns a structured JSON error indicating the file was not found.

Parameterstopicrequired

market_data

BEHAVIOR: Read-only analytical gateway. Fetches real-time derivatives intelligence across Binance, Bybit, and Hyperliquid. PRICING: $0.001 USD per execution. Deducted from daily tariff quota or USD balance. ACTIONS & RETURNS: - 'screener': Scans 1,650+ perpetuals. Returns a JSON array of matched assets containing fields: symbol, price, rvol, fund, oi, oichg, rsi, bias, natr, cvd. - 'consensus': Returns JSON with Quant TA consensus score, CVD slope, RSI, ATR, and EMA bias for a single coin. - 'bct_matrix': Returns compact historical candlestick matrices with server-side computed indicators to minimize token usage. USAGE GUIDELINES: Use this to analyze market state or find trade setups. Do NOT use this tool to continuously poll for price updates or wait for conditions to be met; instead, invoke `alert_manager` to establish asynchronous monitoring. ERRORS: Malformed filters or unlisted tickers return an explicit JSON error object with syntax correction guidance.

Parameterstfcoinlimitactionrequiredcolumnscommandexchangeindicatorsinline_indicators

calc_engine

BEHAVIOR: Deterministic mathematical calculation. Evaluates crypto futures risk management models using live exchange parameters. PRICING: $0.001 USD per execution. Deducted from daily tariff quota or USD balance. SYNTAX EXAMPLES (Passed in 'command'): - '/pos btc 65k 63.7k 50' (Position Sizing) - '/liq sol 20x short' (True Liquidation with MMR) - '/dca btc 65k:100 64k:200' (DCA Break-Even with exit fees) - '/rr btc 65k 64k 67k 69k' (Multi-Target R:R) - '/fncost btc 10000 long' (Carry Cost) - '/atr btc 1h 2' (Volatility Stops) RETURNS: Output is a structured JSON payload. Depending on the command, keys include: 'ideal_lot_coins', 'notional_usd', 'required_margin', 'liquidation_price', 'true_breakeven_price', 'effective_rr_ratio', or 'stop_distance'. USAGE GUIDELINES: Use this tool exclusively for mathematical risk modeling and lot sizing. For live market scanning, use `market_data`. For setting execution triggers, use `alert_manager`. After calculating risk parameters, it is highly recommended to route the generated stop-loss or liquidation prices into `alert_manager` to automate monitoring. ERRORS: Malformed syntax returns an 'error' JSON key with correction guidance.

Parameterscommandrequiredexchange

alert_manager

BEHAVIOR: State-mutating operation. Injects or removes in-memory execution triggers in the C++ engine. When triggered, it dispatches asynchronous out-of-band notifications (Telegram/Discord) without requiring the agent to remain awake. PRICING: Targeted coin alerts cost $0.001 USD. Global wildcard scans ('*') cost $0.002 USD. Wildcards require a positive USD balance on Free/Trader plans. ACTIONS & PARAMETER INTERACTIONS: - 'create': Deploys a new trigger. Requires 'command'. Returns the assigned alert_id and expiration time. - 'list': Returns an array of currently active triggers, their IDs, and remaining TTLs. Ignores 'command' and 'alert_id'. - 'cancel': Removes a specific trigger. Requires 'alert_id'. Ignores 'command'. - 'clear_all': Purges all active triggers for the account. Ignores 'command' and 'alert_id'. USAGE GUIDELINES: Use this tool to establish asynchronous monitoring instead of polling `market_data`. Requires an authenticated API key; anonymous guests will receive an authorization error. Enforces plan capacity limits. ERRORS: Authentication failures, capacity limit breaches, or syntax errors return an explicit 'isError: true' payload detailing the rejection reason.

Parametersactionrequiredcommandalert_idttl_minutesdestinations

user_account

BEHAVIOR: Read-only configuration query. Inspects user ledger states, subscription tiers, and verified notification endpoints. PRICING: Free ($0.000). Does not consume daily quotas or balance. ACTIONS: - 'get_billing': Returns subscription tier, available daily USD API quota, remaining USD balance, active alert count, and per-key daily spending safety limits. - 'list_destinations': Returns verified external dispatch targets (Telegram chat IDs, Discord Webhooks) that can be supplied to the `alert_manager`. USAGE GUIDELINES: Use this tool at the beginning of a workflow to understand available budget and determine valid delivery destinations. Do NOT use this tool to manage triggers (use `alert_manager`) or query market data (use `market_data`). ERRORS: Unauthenticated requests lacking a valid API key return an HTTP 401 equivalent error with a registration portal link.

Parametersactionrequired

send_notification

BEHAVIOR: Outbound messaging operation. Routes proactive notifications to the human trader's verified Telegram chat, channel, or Discord webhook. Dispatches discretionary trade ideas, market condition updates, or risk reports to keep the user informed without waiting for prompts. PRICING: $0.001 USD per dispatch. Deducted from daily tariff quota or USD balance. PARAMETER INTERACTIONS: - 'target': Destination identifier string obtained from `user_account.list_destinations`. Prefixes determine transport: 'tg_user:' / 'tg_channel:' for Telegram, 'out_wh:' for Discord webhooks. Must belong to the authenticated account. - 'message': Main message body. For Telegram, supports HTML tags. For Discord, maps to the embed description. - 'title': Optional subject line. For Discord, renders as the embed headline. For Telegram, prepends as a bold header if provided. RETURNS: Structured JSON confirming transmission: 'status' ('dispatched'), 'target', 'message_length', 'timestamp_utc', and '_usage' (cost_usd and remaining quota/balance). USAGE GUIDELINES: Call `user_account` with action='list_destinations' prior to sending to retrieve valid target strings. Use this tool exclusively for informative messaging and human-in-the-loop updates. Do NOT use this tool to monitor market prices or set execution triggers (use `alert_manager` instead). ERRORS: Unauthenticated calls, unverified/foreign destinations, empty messages, or exhausted quotas return an explicit 'isError: true' payload.

Parameterstitletargetrequiredmessagerequired

Version history

1
  1. v1.0.0LatestOct 30, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts