BitCLI MCP server
Commit Nov 3, 2026Provides institutional-grade crypto derivatives market data, BCT-30 candlestick matrices, and HFT risk calculation tools for AI agents.
Also known as BitCLI-io/bitcli-mcp-server, bitcli-mcp-server
- Stars
- 1
- Tools
- 6
- Downloads, 30 days
- —
- Latest version
- 1.0.0
- Last commit
- Nov 3, 2026
- License
- MIT
What is BitCLI MCP?
BitCLI provides institutional-grade crypto derivatives market data, BCT-30 candlestick matrices, and HFT risk calculation tools for AI agents. It exposes 6 tools, such as system_docs, market_data, calc_engine.
Summary generated from the project's README
About BitCLI MCP server
BitCLI provides institutional-grade crypto derivatives market data and high-frequency trading tools designed specifically for AI agents. It solves the problem of high token consumption by replacing bloated exchange JSON with BCT-30 candlestick matrices. These dense mathematical grids use relative integer indices and kilo-scaled USD values to reduce token usage by approximately 70% compared to standard REST APIs. This allows developers to save on model inference fees while providing agents with accurate, server-side calculated indicators like RSI, EMA, and MACD.
Users can connect via a stateless endpoint for assistants like Claude Desktop and Cursor, or use a WebSocket stream for autonomous Python agents. The server requires an API key generated through the BitCLI web dashboard or Telegram bot. It includes specialized tools such as market_data for scanning over 1,650 contracts, calc_engine for mathematical risk modeling, and alert_manager for setting sub-500ns triggers that dispatch notifications to Telegram or Discord. Because it does not require exchange API keys, it provides a secure way to access market intelligence without fund custody.
What you can do with it
- 1Perform technical indicator analysisAn AI client can retrieve pre-calculated technical data to avoid performing complex math within its own context window.
Written from the project's README. Every use case is checked against a quote from it.
How to install BitCLI MCP
Formats verified 10 Nov 2026Install BitCLI MCP in Claude Code
$ claude mcp add --transport http bitcli-mcp-server https://mcp.bitcli.io/mcpInstall BitCLI MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"bitcli-mcp-server": {
"url": "https://mcp.bitcli.io/mcp"
}
}
}Install BitCLI MCP in VS Code
.vscode/mcp.json
{
"servers": {
"bitcli-mcp-server": {
"type": "http",
"url": "https://mcp.bitcli.io/mcp"
}
}
}Install BitCLI MCP in Codex
~/.codex/config.toml
[mcp_servers.bitcli-mcp-server] url = "https://mcp.bitcli.io/mcp"
Install BitCLI MCP in Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"bitcli-mcp-server": {
"httpUrl": "https://mcp.bitcli.io/mcp"
}
}
}BitCLI MCP tools 6
Detected from the READMEsystem_docsmarket_datacalc_enginealert_managersend_notificationuser_account
| system_docs | — | |
| market_data | — | |
| calc_engine | — | |
| alert_manager | — | |
| send_notification | — | |
| user_account | — |
Automated checks
Ran Nov 14, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work
- Source repository linked and reachablebitcli-io/bitcli-mcp-server is public and reachablegithub.com/bitcli-io/bitcli-mcp-server ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-11-03github.com/bitcli-io/bitcli-mcp-server ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model6 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNo tool named like delete, drop or execPass
- Remote endpoint answers the MCP handshakeinitialize answered with protocol 2024-11-05 in 692 msPass
README
View on GitHubBitCLI Model Context Protocol (MCP) Server
Institutional-grade crypto derivatives infrastructure, order flow analytics, and HFT triggers for AI Agents.
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 / Format | Payload Strategy | Tokens (100 Bars) | Inference Cost (10k Calls)* | Context Efficiency |
|---|---|---|---|---|
| Bybit V5 REST API | Named JSON Key-Value Objects | ~3,450 | $86.25 | Baseline (Bloated) |
| CCXT Library (Python) | Raw 6-element JSON arrays | ~2,680 | $67.00 | Industry Average |
| BitCLI BCT-30 Matrix | Kilo-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:
@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@BCTbase 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
| Tool | Action | Pricing | Description |
|---|---|---|---|
system_docs |
read |
Free ($0.00) | Access official BitCLI documentation, command grammar, and indicator formulas via RAG. |
market_data |
read |
$0.001 | BCT-30 Candlestick matrices, Cross-Exchange Quant TA consensus, and dynamic screening across 1,650+ contracts. |
calc_engine |
compute |
$0.001 | Mathematical risk models: Lot sizing by dollar risk (/pos), True liquidation with MMR (/liq), DCA break-even, multi-target R:R. |
alert_manager |
write |
$0.001 - $0.002 | Injects sub-500ns triggers into C++ RAM. Dispatches notifications to Telegram / Discord when hit. |
send_notification |
write |
$0.001 | AI sends direct HTML messages to the human user's Telegram chat/channel or Discord webhook. |
user_account |
read |
Free ($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:
bcli_your_api_key_here
2. Cursor IDE Integration
Add BitCLI to your project's .cursor/mcp.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:
{
"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 95korbinance 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_notificationtool 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_managerand let our infrastructure notify your channels.
📄 License
This MCP specification and client wrappers are open-source under the MIT License.
BitCLI MCP questions
How do I add BitCLI MCP to Claude Code?
Run claude mcp add --transport http bitcli-mcp-server https://mcp.bitcli.io/mcp in your terminal. Add --scope user to make it available in every project.
How do I add BitCLI MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does BitCLI MCP provide?
It exposes 6 tools, including system_docs, market_data, calc_engine, alert_manager, send_notification.
Do I need to provide my exchange API keys to use BitCLI?
No, BitCLI does not require your private exchange trading keys and does not custody any funds.
How are technical indicators like RSI and EMA calculated?
Indicators are calculated on the server using C++ with 3,000 bars of historical warmup to ensure accuracy and prevent LLM math hallucinations.
Can I receive alerts through other platforms?
Yes, you can set triggers that dispatch instant push notifications to your Telegram or Discord channels.