BASTION.
Risk Intelligence MCP Server for Crypto Agents
Capability Map
Each domain groups related tools by what they enable your agent to accomplish.
Real-Time Market Intelligence
- Live price feeds, OHLCV candles, multi-timeframe analysis
- Fear & Greed Index, market sentiment scoring
- Liquidation maps, heatmaps, and cascade detection
- Funding rate monitoring across 5 exchanges
- Volume Profile Visible Range (VPVR) analysis
See everything. Miss nothing.
30+ feedsDerivatives & Order Flow
- Open interest tracking, momentum, and divergence
- Long/short ratios and institutional positioning
- Liquidation event detection and cascade alerts
- Order flow imbalance and whale block trades
- Basis and funding arbitrage signals
Decode the derivatives market.
Inst. flowAI-Powered Risk Evaluation
- Neural risk scoring (custom fine-tuned 32B model)
- Position-level risk assessment with structured reasoning
- Stop loss validation and direction analysis
- Devil's Advocate contrarian analysis
- Strategy persona evaluation (7 AI trading personas)
- MCF Structure-Based Exit intelligence
Let a 32B model evaluate every trade.
75.4% WROn-Chain & Whale Intelligence
- Whale wallet tracking and real-time alert system
- On-chain flow analysis (exchange inflows/outflows)
- Smart money movement and accumulation detection
- Network activity and hash rate monitoring
- Cross-chain bridge flow intelligence
Know what smart money does before the crowd.
11 chainsAutonomous Trading Engine
- Position monitoring with auto-evaluation loops
- Smart alert system with configurable triggers
- Kill Switch Protocol (emergency portfolio exit)
- Trade execution via exchange APIs (5 exchanges)
- Webhook integration for external systems
Your agent doesn't just analyze — it acts.
Auto execPortfolio Analytics
- Portfolio X-Ray (cross-position correlation analysis)
- Risk Budget Allocator (volatility-adjusted sizing)
- Correlation Shock Detector (regime change alerts)
- Position DNA profiling and exposure mapping
- Net exposure and concentration risk scoring
Understand your portfolio at the molecular level.
MolecularResearch & Strategy
- AI Trading Plan Generator (structured entry/exit)
- Sentiment Heatmap Scanner (composite scoring)
- Technical analysis with support/resistance detection
- Coin research profiles and fundamental analysis
- Backtest integration and strategy validation
Research and strategize with AI intelligence.
AI plansPost-Trade Intelligence
- Trade journal with automatic PnL tracking
- Risk DNA Heatmap (behavioral fingerprinting)
- Market Autopsy (forensic event analysis)
- Performance analytics and pattern detection
- Win rate, profit factor, streak analysis
Learn from every trade — your AI psychologist.
Behav. DNAMulti-Agent Coordination
- Model Context Protocol (MCP) native integration
- Works with Claude Code and Claude Desktop
- All 147 tools available as MCP resources
- Multi-agent orchestration and delegation
- Prompt library for agent workflows
Built for the agent era.
How It All Connects
From raw market data to autonomous agent action — in four stages.
Data Sources
Price, volume, funding, OI, on-chain, sentiment
MCP Protocol
147 tools, structured transport, typed schemas
AI Engine
32B neural model, risk scoring, structure detection
Agent Action
Execute, alert, journal, monitor — autonomously
Data Sources
Price, volume, funding, OI, on-chain, sentiment
MCP Protocol
147 tools, structured transport, typed schemas
AI Engine
32B neural model, risk scoring, structure detection
Agent Action
Execute, alert, journal, monitor — autonomously
Executive Summary
BASTION is a cloud-hosted Model Context Protocol (MCP) server that transforms any Claude agent into a professional-grade crypto trading desk. Through a single MCP connection (Streamable HTTP or SSE), AI agents gain access to 147 specialized tools spanning market data, derivatives analytics, on-chain intelligence, AI risk evaluation, portfolio management, autonomous trade execution, and institutional-grade risk reporting.
Powered by a custom fine-tuned 72B parameter AI model (bastion-32b) running on a 4x RTX 5090 GPU cluster, BASTION delivers institutional-caliber risk intelligence with a backtested 75.4% combined win rate across BTC, ETH, and SOL. The platform integrates data from 5+ exchanges, 11 blockchain networks, 15+ data providers, and processes 560+ real-time trading signals.
System Architecture
BASTION follows a three-tier architecture: Claude Agent → MCP Protocol → BASTION Intelligence Core. The MCP server translates tool calls into internal API requests against a FastAPI backend running on Railway, with the AI model served via vLLM on a dedicated GPU cluster.
Your Claude Agent
Claude Code / Desktop / API
BASTION MCP
147 tools, 8 resources, 10 prompts
Intelligence Core
72B AI + 560+ signals + 5 exchanges
Connection Methods
Technology Stack
- Backend: Python FastAPI on Railway (auto-scaling)
- AI Model: BASTION bastion-32b (Qwen2.5 72B + QLoRA fine-tune v6) served via vLLM
- GPU Cluster: Vast.ai 4x RTX 5090 (128GB total VRAM), tensor parallelism=4
- MCP Protocol: Streamable HTTP + SSE transports via mcp>=1.8.0
- Data Sources: Binance, Bybit, OKX, Hyperliquid, CoinGlass, Whale Alert, FRED, Polymarket
- Auth: API key system with 4 tiers (Free/Pro/Institutional/Enterprise)
- Deployment: Railway CI/CD with automatic deploys on git push
AI Risk Intelligence Model
The BASTION bastion-32b model is a custom fine-tuned 72B parameter language model specialized for crypto futures risk evaluation. Built on Qwen2.5-72B base with 6 rounds of QLoRA fine-tuning, it delivers structured risk assessments with 5 possible actions: HOLD, EXIT_FULL, EXIT_100%, TP_PARTIAL, and REDUCE_SIZE.
Model Capabilities
Structure-Aware Risk Evaluation
Integrates VPVR (Volume Profile Visible Range), graded support/resistance levels, POC (Point of Control), and HVN (High Volume Nodes) into every evaluation. MCF Structure-Based Exit Hierarchy replaces simple ATR trailing stops.
Core AIMulti-Action Decision Framework
5 distinct actions: HOLD (maintain position), EXIT_FULL (close entirely), EXIT_100% (emergency close), TP_PARTIAL (take partial profit), REDUCE_SIZE (de-risk). Each with confidence scores and detailed reasoning.
Core AINeural Chat Interface
Natural language conversation about crypto markets, trading strategies, risk management, and market conditions. Context-aware responses powered by the same 72B model with adjusted temperature (0.6 for chat vs 0.3 for risk).
InteractiveExtended Pair Coverage
Backtested across 10 cryptocurrency pairs: BTC, ETH, SOL, AVAX, DOGE, LINK, ADA, XRP. Extended backtest shows strong performance: DOGE 89.6%, LINK 77.8%, ADA 74.5%, AVAX 68.2%.
ValidatedComplete Tool Reference (147)
Every MCP tool available through the BASTION server, organized by category with scope requirements and descriptions.
Core AI
4 tools · auth optional| # | Tool | Description |
|---|---|---|
| 1 | bastion_evaluate_risk | Evaluate a crypto futures position using BASTION's AI risk intelligence engine |
| 2 | bastion_chat | Ask BASTION's neural AI anything about crypto markets, trading, or risk |
| 3 | bastion_evaluate_all_positions | Run AI risk evaluation on ALL open positions simultaneously |
| 4 | bastion_scan_signals | Scan for trading signals across all supported pairs |
Market Data
9 tools · public| # | Tool | Description |
|---|---|---|
| 5 | bastion_get_price | Get the current live price of a cryptocurrency |
| 6 | bastion_get_market_data | Get aggregated market intelligence for a cryptocurrency |
| 7 | bastion_get_klines | Get OHLCV candlestick data for a cryptocurrency |
| 8 | bastion_get_volatility | Get volatility metrics and regime detection |
| 9 | bastion_get_volatility_regime | Get the current volatility regime classification |
| 10 | bastion_get_btc_dominance | Get Bitcoin dominance, altseason score, and total crypto market cap |
| 11 | bastion_get_correlation_matrix | Get cross-asset correlation matrix for specified symbols |
| 12 | bastion_get_confluence | Get multi-timeframe confluence analysis |
| 13 | bastion_get_sector_rotation | Track capital rotation across crypto sectors |
Derivatives & Order Flow
13 tools · public| # | Tool | Description |
|---|---|---|
| 14 | bastion_get_open_interest | Get open interest data for a cryptocurrency |
| 15 | bastion_get_oi_changes | Get open interest changes across all major crypto pairs |
| 16 | bastion_get_cvd | Get Cumulative Volume Delta (CVD) |
| 17 | bastion_get_orderflow | Get order flow analysis |
| 18 | bastion_get_funding_rates | Get cross-exchange funding rates for major crypto pairs |
| 19 | bastion_get_funding_arb | Get funding rate arbitrage data |
| 20 | bastion_get_liquidations | Get liquidation data for a cryptocurrency |
| 21 | bastion_get_liquidations_by_exchange | Get liquidation data broken down by exchange |
| 22 | bastion_get_heatmap | Get the liquidation heatmap |
| 23 | bastion_get_taker_ratio | Get taker buy/sell ratio |
| 24 | bastion_get_top_traders | Get top trader positions and sentiment |
| 25 | bastion_get_market_maker_magnet | Get market maker magnet levels |
| 26 | bastion_get_options | Get options data (put/call ratio, max pain, OI by strike) |
On-Chain & Intelligence
6 tools · public| # | Tool | Description |
|---|---|---|
| 27 | bastion_get_whale_activity | Get whale transactions across 11 blockchain networks |
| 28 | bastion_get_exchange_flow | Get exchange inflow/outflow |
| 29 | bastion_get_onchain | Get on-chain metrics for major cryptocurrencies |
| 30 | bastion_get_news | Get aggregated crypto news from major sources |
| 31 | bastion_get_smart_money | Get smart money flow analysis |
| 32 | bastion_get_hyperliquid_whales | Get top whale positions on Hyperliquid DEX |
Macro & Sentiment
6 tools · public| # | Tool | Description |
|---|---|---|
| 33 | bastion_get_fear_greed | Get the Crypto Fear & Greed Index |
| 34 | bastion_get_macro_signals | Get macro market signals affecting crypto |
| 35 | bastion_get_etf_flows | Get Bitcoin and Ethereum ETF flow data |
| 36 | bastion_get_stablecoin_markets | Get stablecoin market data |
| 37 | bastion_get_economic_data | Get FRED economic data series |
| 38 | bastion_get_polymarket | Get prediction market data from Polymarket |
Research & Analytics
24 tools · auth optional| # | Tool | Description |
|---|---|---|
| 39 | bastion_generate_report | Generate MCF Labs research report |
| 40 | bastion_get_reports | List existing research reports |
| 41 | bastion_calculate_position | Calculate optimal position sizing with Monte Carlo analysis |
| 42 | bastion_get_kelly_sizing | Get Kelly Criterion optimal position sizing |
| 43 | bastion_log_trade | Log a completed trade to your performance journal |
| 44 | bastion_get_trade_journal | Get trade journal performance statistics |
| 45 | bastion_backtest_strategy | Backtest strategies on-demand |
| 46 | bastion_get_risk_parity | Analyze portfolio risk parity across all open positions |
| 47 | bastion_strategy_builder | Natural language strategy description to backtest pipeline |
| 48 | bastion_risk_replay | Historical position time-travel analysis |
| 49 | bastion_risk_card | Interactive risk visualization widget |
| 50 | bastion_get_leaderboard | Get BASTION model performance leaderboard |
| 51 | bastion_log_prediction | Log prediction for leaderboard tracking |
| 52 | bastion_subscribe_alert | Subscribe to price/condition alerts |
| 53 | bastion_check_alerts | Check all active alerts and see which have triggered |
| 54 | bastion_cancel_alert | Cancel an active alert by its ID |
| 55 | bastion_create_risk_card | Shareable risk score card with unique URL |
| 56 | bastion_get_performance | Equity curve + Sharpe + drawdown analytics |
| 57 | bastion_record_equity | Record equity snapshot for tracking |
| 58 | bastion_add_webhook | Register Discord/Telegram/URL webhook |
| 59 | bastion_list_webhooks | List all registered notification webhooks |
| 60 | bastion_send_notification | Push notification to webhooks |
| 61 | bastion_get_agent_analytics | Get agent performance analytics — tool usage, latency, error rates |
| 62 | bastion_format_risk | Beautiful terminal-style risk output |
Portfolio
7 tools · auth required (read scope)| # | Tool | Description |
|---|---|---|
| 63 | bastion_get_positions | Get all open positions across connected exchanges |
| 64 | bastion_get_balance | Get total portfolio balance across all connected exchanges |
| 65 | bastion_get_exchanges | List all connected exchanges |
| 66 | bastion_engine_status | Get the autonomous trading engine status |
| 67 | bastion_engine_history | Get trading engine execution history |
| 68 | bastion_get_alerts | Get active alerts and notifications |
| 69 | bastion_get_session_stats | Get current trading session statistics |
Trading Actions
6 tools · auth required (trade scope)| # | Tool | Description |
|---|---|---|
| 70 | bastion_emergency_exit | EMERGENCY: Close ALL open positions immediately |
| 71 | bastion_partial_close | Close a percentage of a position |
| 72 | bastion_set_take_profit | Set or update take-profit for a position |
| 73 | bastion_set_stop_loss | Set or update stop-loss for a position |
| 74 | bastion_move_to_breakeven | Move all stops to entry price (breakeven) |
| 75 | bastion_flatten_winners | Close all winning positions (currently in profit) |
Engine Control
3 tools · auth required (engine scope)| # | Tool | Description |
|---|---|---|
| 76 | bastion_engine_start | Start the BASTION autonomous risk engine |
| 77 | bastion_engine_arm | Arm engine for auto-execution (with confidence thresholds) |
| 78 | bastion_engine_disarm | Disarm the engine — stop autonomous trade execution |
War Room (Multi-Agent)
5 tools| # | Tool | Description |
|---|---|---|
| 79 | bastion_war_room_post | Post signal to War Room (shared agent feed) |
| 80 | bastion_war_room_read | Read War Room feed (signals from other agents) |
| 81 | bastion_war_room_consensus | Get agent consensus for a symbol |
| 82 | bastion_war_room_vote | Cast weighted vote (accuracy-based) |
| 83 | bastion_war_room_consensus_weighted | Get weighted consensus (votes weighted by historical accuracy) |
Intelligence (Protocol Innovation)
7 tools| # | Tool | Description |
|---|---|---|
| 84 | bastion_quick_intel | Instant intelligence snapshot (~200ms) |
| 85 | bastion_deep_analysis | Multi-step reasoning chain (15 sources in one call) |
| 86 | bastion_get_regime_tools | Discover which specialized tools are currently active based on market conditions |
| 87 | bastion_execute_regime_tool | Execute regime-specific analysis |
| 88 | bastion_live_feed | Real-time aggregated market feed |
| 89 | bastion_get_server_card | Get BASTION's MCP Server Card for agent-to-agent discovery |
| 90 | bastion_risk_confirm | Interactive risk confirmation with structured warnings |
Challenge Cards (Viral Predictions)
4 tools| # | Tool | Description |
|---|---|---|
| 91 | bastion_create_challenge | Create a "Prove Me Wrong" prediction with shareable URL |
| 92 | bastion_counter_challenge | Take the opposite side of a challenge |
| 93 | bastion_get_challenges | List active challenges |
| 94 | bastion_score_challenge | Auto-score a challenge against live market data |
Persistent Memory
3 tools| # | Tool | Description |
|---|---|---|
| 95 | bastion_memory_store | Store episodic/semantic/procedural memory |
| 96 | bastion_memory_recall | Search and recall memories across sessions |
| 97 | bastion_memory_profile | Get learned trader profile from accumulated memories |
Heat Index
2 tools| # | Tool | Description |
|---|---|---|
| 98 | bastion_heat_index | Composite 0-100 attention score combining whale activity, funding, liquidations, volatility, price action |
| 99 | bastion_heat_scan | Scan heat index across top 10 crypto pairs |
Copy-Analysis Workflows
3 tools| # | Tool | Description |
|---|---|---|
| 100 | bastion_save_workflow | Save a reusable tool chain as a named workflow |
| 101 | bastion_get_workflows | List all public analysis workflows, sorted by popularity |
| 102 | bastion_run_workflow | Execute a saved workflow (runs all tools in sequence) |
Audit & Compliance
6 tools · enterprise-grade| # | Tool | Description |
|---|---|---|
| 103 | bastion_audit_log | Log hash-chained tamper-evident audit entry (SHA-256) |
| 104 | bastion_audit_trail | Query immutable audit trail with filters |
| 105 | bastion_audit_verify | Verify the integrity of the entire audit chain |
| 106 | bastion_decision_provenance | Record full decision reasoning chain |
| 107 | bastion_get_provenance | Query decision provenance |
| 108 | bastion_tool_safety | Get safety annotation matrix for all tools (readOnlyHint, destructiveHint, idempotentHint) |
Monte Carlo Simulation
1 tool · institutional-grade| # | Tool | Description |
|---|---|---|
| 109 | bastion_simulate_portfolio | Jump-diffusion Monte Carlo simulation with VaR, CVaR, probability distributions (10,000 paths) |
AI Trade Journal
3 tools| # | Tool | Description |
|---|---|---|
| 110 | bastion_journal_log | Natural language trade logging with NLP parsing |
| 111 | bastion_journal_analyze | Pattern mining + win rate analysis by setup, time, pair |
| 112 | bastion_journal_bias_detect | Cognitive bias detection (loss aversion, overtrading, revenge trading) |
Institutional Risk Reports
1 tool| # | Tool | Description |
|---|---|---|
| 113 | bastion_risk_report | Parametric VaR (95%/99%), CVaR, counterparty risk scoring, risk grade A-F |
Proactive Monitoring
3 tools| # | Tool | Description |
|---|---|---|
| 114 | bastion_monitor_position | Register position for proactive server-side monitoring with webhook alerts |
| 115 | bastion_check_monitor | Check monitored position against live market data |
| 116 | bastion_list_monitors | List all active position monitors |
Agent-as-a-Service
2 tools| # | Tool | Description |
|---|---|---|
| 117 | bastion_service_evaluate | Metered risk evaluation endpoint for external AI agents |
| 118 | bastion_service_stats | Get Agent-as-a-Service usage statistics and billing |
Chart Generation Engine
4 tools| # | Tool | Description |
|---|---|---|
| 119 | bastion_chart_candlestick | Generate OHLCV candlestick chart as SVG |
| 120 | bastion_chart_vpvr | Volume Profile Visible Range heatmap chart |
| 121 | bastion_chart_liquidation | Liquidation cluster heatmap visualization |
| 122 | bastion_chart_equity | Portfolio equity curve chart |
Position DNA
3 tools| # | Tool | Description |
|---|---|---|
| 123 | bastion_position_dna | Encode position market conditions into DNA fingerprint |
| 124 | bastion_dna_search | Search stored DNA entries by symbol and direction |
| 125 | bastion_dna_similar | Find historically similar positions by feature similarity |
Scenario Stress Engine
3 tools| # | Tool | Description |
|---|---|---|
| 126 | bastion_stress_test | Monte Carlo stress test across disaster scenarios |
| 127 | bastion_scenario_builder | Natural language → scenario simulation parameters |
| 128 | bastion_cascade_simulator | Step-by-step liquidation cascade simulation |
Devil's Advocate
2 tools| # | Tool | Description |
|---|---|---|
| 129 | bastion_devils_advocate | Data-driven counter-arguments against any trade thesis |
| 130 | bastion_challenge_thesis | Challenge a specific trading thesis with live market signals |
Natural Language Smart Alerts
4 tools| # | Tool | Description |
|---|---|---|
| 131 | bastion_smart_alert | Create alert from natural language description |
| 132 | bastion_list_smart_alerts | List all active smart alerts |
| 133 | bastion_check_smart_alerts | Check alerts against current market conditions |
| 134 | bastion_cancel_smart_alert | Cancel a smart alert by ID |
Strategy Personas
3 tools| # | Tool | Description |
|---|---|---|
| 135 | bastion_list_personas | List all 6 strategy personas with summaries |
| 136 | bastion_get_persona | Get full persona details, rules, and risk limits |
| 137 | bastion_persona_evaluate | Evaluate a trade through a persona's decision lens |
Portfolio X-Ray
1 tool| # | Tool | Description |
|---|---|---|
| 138 | bastion_portfolio_xray | Full portfolio diagnostic — correlation, concentration, exposure, cascade risk |
Risk Budget Allocator
1 tool| # | Tool | Description |
|---|---|---|
| 139 | bastion_risk_budget | Volatility-adjusted position sizing from a max loss budget |
Correlation Shock Detector
1 tool| # | Tool | Description |
|---|---|---|
| 140 | bastion_correlation_monitor | Cross-asset correlation shifts, shock detection, regime classification |
Sentiment Heatmap Scanner
1 tool| # | Tool | Description |
|---|---|---|
| 141 | bastion_sentiment_heatmap | Composite sentiment scoring — OVERHEATED to COLD across symbols |
AI Trading Plan Generator
1 tool| # | Tool | Description |
|---|---|---|
| 142 | bastion_trading_plan | Structured 24h trading plan from live market data and AI analysis |
Kill Switch Protocol
1 tool| # | Tool | Description |
|---|---|---|
| 143 | bastion_kill_switch | Emergency full exit — close all positions, cancel orders, disarm engine |
Market Autopsy
2 tools| # | Tool | Description |
|---|---|---|
| 144 | bastion_autopsy_list | List recent major market events for forensic analysis |
| 145 | bastion_market_autopsy | Full forensic autopsy — timeline, casualties, warning signals, optimal play |
Risk DNA Heatmap
2 tools| # | Tool | Description |
|---|---|---|
| 146 | bastion_risk_dna | Generate trading personality profile from history — behavioral fingerprint |
| 147 | bastion_risk_dna_patterns | Deep pattern mining — find your edges, leaks, and correlations |
MCP Resources (8)
Event-driven data streams and context resources available through the MCP protocol. Resources provide ambient context to Claude agents without requiring explicit tool calls.
| URI | Description |
|---|---|
| bastion://status | System status — model version, GPU health, API latency |
| bastion://supported-symbols | List of cryptocurrency symbols supported by BASTION |
| bastion://model-info | AI model details — version, accuracy, training methodology |
| bastion://tools | Complete list of all 147 BASTION MCP tools with descriptions |
| bastion://exchanges | List of supported exchanges for BASTION integration |
| bastion://live/{symbol} | Live market feed — price, funding, volume, fear/greed in one snapshot |
| bastion://regime | Current market regime and active adaptive tools |
| bastion://capabilities | Complete platform capabilities and data sources |
MCP Prompts (10)
Pre-built prompt templates that Claude agents can use to run complex multi-tool workflows with a single invocation. Each prompt chains multiple tools into an optimized analysis pipeline.
| Prompt | Description |
|---|---|
| evaluate_my_position | Evaluate a trading position using BASTION Risk Intelligence |
| market_analysis | Get a complete market analysis for a cryptocurrency |
| risk_check | Quick risk check for a cryptocurrency |
| portfolio_risk_scan | Run a comprehensive risk scan on all open positions |
| whale_tracker | Track whale activity and smart money flows |
| macro_briefing | Get a complete macro + crypto market briefing |
| pre_trade_analysis | Run complete pre-trade analysis before entering a position |
| strategy_lab | Build and backtest a trading strategy from natural language |
| full_risk_dashboard | Generate full risk intelligence dashboard with visualizations |
| deep_intelligence_brief | BASTION's most comprehensive analysis — deep multi-step intelligence brief |
Advanced Features
Cutting-edge capabilities that push the boundaries of what MCP servers can do.
Server-Side Reasoning Chains
bastion_deep_analysis gathers 15 data sources in parallel via internal HTTP calls, synthesizes everything into one structured intelligence brief. The agent makes one tool call; BASTION runs 15 parallel analyses server-side.
MCP Sampling PatternDynamic Tool Discovery
Tools appear and disappear based on market regime. During extreme fear, crisis_mode and capitulation_scanner become available. During euphoria, euphoria_detector activates. Tools adapt to conditions in real-time.
AdaptiveMulti-Agent War Room
Multiple Claude agents can collaborate in a shared intelligence hub. Votes are weighted by historical accuracy from the leaderboard. Consensus decisions are more reliable than any single agent.
Multi-AgentMCP Server Card
/.well-known/mcp.json endpoint for agent-to-agent discovery. Other MCP servers can find BASTION and understand its capabilities automatically. Part of the emerging MCP ecosystem standard.
InteroperabilityImmutable Audit Trail
SHA-256 hash-chained tamper-evident records. Each event includes prev_hash + event_id + tool + timestamp. Verification endpoint detects any chain breaks. Enterprise compliance ready.
EnterpriseCognitive Bias Detection
AI analyzes trade journal entries to detect psychological patterns: loss aversion, overtrading, revenge trading, recency bias, confirmation bias. Helps traders improve decision-making.
AI-PoweredMonte Carlo Jump-Diffusion
10,000-path portfolio simulation with Merton jump-diffusion model accounting for crypto fat tails. Outputs VaR, CVaR, probability distributions, and worst-case scenarios at 95% and 99% confidence.
InstitutionalAgent-as-a-Service
External AI agents can call BASTION through a metered API endpoint. Usage tracking, per-evaluation pricing, and billing statistics. Build agent-to-agent payment flows.
MonetizationChallenge Cards
"Prove Me Wrong" prediction market. Timestamped predictions with OG meta tags, shareable URLs, auto-scoring against live market data. Viral growth mechanism for the platform.
ViralPersistent Cross-Session Memory
Three-tier memory system: episodic (market events), semantic (user preferences/facts), procedural (learned workflows). Agents remember across conversations and build personalized trader profiles.
PersonalizationTool Safety Annotations
Complete safety matrix for all 147 tools: readOnlyHint, destructiveHint, idempotentHint. Clients can auto-approve safe read-only tools while gating destructive operations behind confirmation prompts.
SafetyCopy-Analysis Workflows
Save multi-tool analysis chains as named workflows. Share with other users. Execute entire research pipelines with a single tool call. Popularity-sorted discovery.
ProductivityData Sources & Integrations
BASTION aggregates data from 15+ providers across exchanges, on-chain analytics, derivatives data, and macroeconomic indicators.
Exchanges (5)
Binance, Bybit, OKX, Hyperliquid, BitMEX — real-time price, orderbook, trades, positions, balances via REST and WebSocket APIs.
LiveDerivatives Data
CoinGlass — funding rates, open interest, liquidations, heatmaps, taker ratios, top trader positions across all major exchanges.
LiveOn-Chain Intelligence
Whale Alert (11 chains), exchange flow tracking, on-chain metrics, smart money flow analysis, stablecoin market data.
Multi-ChainMacro & Sentiment
Fear & Greed Index, FRED economic data, Bitcoin/Ethereum ETF flows, Polymarket predictions, aggregated crypto news.
Multi-SourceWeb Platform
Full-featured web application at bastionfi.tech with 8+ pages for research, trading, and agent management.
Terminal Dashboard
Professional trading terminal with real-time market data, position management, risk evaluation, and autonomous engine controls.
CoreResearch Lab
AI-powered research interface with multi-panel layout for market analysis, derivatives flow, on-chain intelligence, and macro signals.
ResearchMCP Playground
Browser-based tool testing — execute any of the 147 MCP tools with parameter forms, JSON response viewer, request history, and latency tracking.
DeveloperAgent Setup Page
Quickstart guides for Claude Code, Claude Desktop, and custom API integration. Copy-paste config snippets, architecture diagrams, and workflow examples.
OnboardingDeveloper Docs
Complete API documentation, MCP protocol reference, authentication guides, and integration tutorials.
DocumentationProtocol Page
Deep-dive into BASTION's protocol architecture, MCF risk framework, structure-based exits, and AI model methodology.
TechnicalAuthentication & Security
Four-tier API key system with granular scope-based access control.
API Key Scopes
- read: Portfolio data, positions, balances, exchange connections
- trade: Order execution, position management, stop/TP modifications
- engine: Autonomous engine control, arm/disarm, auto-execution
- public: Market data, derivatives, on-chain, sentiment (no auth needed)
Competitive Advantages
What makes BASTION unique in the MCP ecosystem.
- 147 tools — largest tool count of any crypto MCP server in production
- Custom 72B AI model — only MCP server with its own fine-tuned risk intelligence model
- 75.4% backtested win rate — quantified, reproducible performance metric
- Server-side reasoning chains — MCP sampling pattern (15 sources in one call)
- Dynamic tool discovery — tools adapt to market conditions in real-time
- Multi-agent War Room — accuracy-weighted consensus across multiple agents
- Immutable audit trail — SHA-256 hash-chained compliance records
- Monte Carlo jump-diffusion — institutional-grade portfolio simulation
- Agent-as-a-Service — metered API for agent-to-agent intelligence sharing
- Zero install — cloud-hosted, connect with one command, no dependencies
- Structure-aware exits — VPVR, graded S/R, POC/HVN integrated into AI decisions
- Persistent memory — agents learn and remember across sessions
Ready to connect?
One command. 147 tools. Zero install.