BASTIONMCP

MCP金融服务

提供方 bastionfintech-spec

金融服务 HTTP · 远程 API Key 社区 / 第三方 Claude DesktopClaudeZed
查看接入方式

BASTION is a risk intelligence MCP server that provides Claude agents with real-time crypto market intelligence and autonomous risk management tools.

一句话选型结论

按资料字段整理

BASTIONMCP 属于金融服务类 MCP 服务器,HTTP · 远程,API Key,可直接接入 Claude Desktop、Claude、Zed,有可直接复制的远程端点配置。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类金融服务 传输方式HTTP · 远程 鉴权API Key 部署方式远程部署
GitHub 星标 1 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

金融服务
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

Cloud Deployment Crypto Analysis Risk Management Real-time Market Data AI Risk Assessment Trading Automation

支持客户端

适用场景

Cloud DeploymentCrypto AnalysisRisk Management

安装与配置

HTTP · 远程 API Key
连远程 HTTPS 端点,通常为 Streamable HTTP
https://bastionfi.tech/mcp/sse

把它填进客户端的 MCP 配置即可,不需要在本地安装运行时。

  1. 1
    准备运行环境

    确认你的客户端支持远程端点,并拿到服务地址。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
行情与财务数据

查行情、财报、汇率等金融数据。

支付与账务查询

查订单、账单与交易流水。

风控与核验

做身份、信用与风险信息核验。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已适配 Claude Desktop、Claude、Zed,换客户端不用重新研究配置。

先想清楚的地方

  • 远程端点依赖网络与服务方可用性,注意密钥与调用额度。
  • 使用前要准备好API Key对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在金融服务场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop、Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
BASTIONMCP当前 未标注 HTTP · 远程 远程部署 有 2026-02-21
Alpaca MCP 62 stdio · 本地进程 支持远程部署 有 2026-05-18
OpenNews MCP 11 stdio · 本地进程 支持远程部署 有 2026-05-17
MCP Server 273df76d 未标注 stdio · 本地进程 本地部署 有 2026-05-17
tradingview-mcp 未标注 stdio · 本地进程 本地部署 有 2026-04-19
goat (Goat SDK) 未标注 未标注 未标注 无 2026-05-17

服务器档案

金融服务
字段来自项目仓库与公开索引,中文说明由本站标注
提供方bastionfintech-spec上游标注的维护方 bastionfintech-spec
分类金融服务本站按上游分类展示
连接方式HTTP · 远程连远程 HTTPS 端点,通常为 Streamable HTTP
鉴权方式API Key远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · 未标注本地安装时用到的包标识与运行时
部署类型远程部署上游给出的部署形态
最近核验2026-02-21上游最后核验时间

详细介绍

31.4 KB
来自项目仓库与上游目录的原文,未做删改

BASTION

Risk Intelligence MCP Server for Claude Agents

49 tools. 560+ signals. One protocol.

Give your Claude agent real-time crypto market intelligence, autonomous risk management, and institutional-grade derivatives analytics.


Platform · Agents Hub · Dashboard · MCP Endpoint · Get API Key


Table of Contents

  • What is BASTION?
  • Quick Start — Get connected in 30 seconds
  • Features — 49 tools across 9 categories
  • Architecture — How it works under the hood
  • Authentication — API keys and scopes
  • Example Conversations — Real Claude + BASTION interactions
  • Tool Categories Deep Dive — Detailed tool documentation
  • Signal Coverage — 560+ signals breakdown
  • Agent Patterns — Proven agentic workflows
  • Rate Limits — Tiers and quotas
  • Supported Symbols — 100+ pairs
  • Repository Structure — What's in this repo
  • FAQ
  • Links

What is BASTION?

BASTION is a Model Context Protocol (MCP) server that gives Claude agents real-time access to comprehensive crypto market intelligence. Through a single SSE connection, your Claude agent gains 49 specialized tools spanning market data, derivatives analytics, on-chain intelligence, AI-powered risk evaluation, portfolio management, and autonomous trading execution.

At its core, BASTION is powered by a fine-tuned 72B parameter AI model that analyzes 560+ real-time signals across derivatives flow, on-chain metrics, macro indicators, whale activity, and market microstructure. The model was trained on thousands of validated trade outcomes and delivers structured risk assessments with explicit reasoning, confidence scores, and actionable recommendations -- not just price predictions, but complete risk intelligence.

Unlike traditional crypto APIs that return raw data and leave interpretation to the user, BASTION's MCP tools deliver contextual intelligence. When your Claude agent calls bastion_evaluate_risk, it doesn't just get numbers -- it gets a structured analysis that synthesizes open interest changes, funding rates, CVD divergence, whale positioning, liquidation clusters, and market structure into a single coherent risk assessment with a recommended action and full reasoning chain.

> TL;DR — Connect once, get 49 tools. Your Claude agent becomes a professional crypto trading desk.


Quick Start

BASTION connects via the Model Context Protocol (MCP) over Server-Sent Events. No local installation required -- the server runs in the cloud.

Claude Code

One command. That's it.```bash
claude mcp add bastion-mcp --transport sse https://bastionfi.tech/mcp/sse


Restart Claude Code and all 49 tools are available. Try:```
You: What's the current state of BTC? Check derivatives flow and sentiment.

Claude Desktop

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: `%APPDATA%\Claude\claude_desktop_config.json````json
{
"mcpServers": {
"bastion": {
"transport": "sse",
"url": "https://bastionfi.tech/mcp/sse"
}
}
}


Restart Claude Desktop. BASTION tools appear in the tools menu (hammer icon).

### API / Custom MCP Client```python
from mcp import ClientSession
from mcp.client.sse import sse_client

async with sse_client("https://bastionfi.tech/mcp/sse") as (read, write):
    async with ClientSession(read, write) as session:
        await session.initialize()

        # Get Bitcoin price
        result = await session.call_tool("bastion_get_price", {"symbol": "BTC"})
        print(result)

        # Evaluate risk on a position
        risk = await session.call_tool("bastion_evaluate_risk", {
            "symbol": "ETH",
            "direction": "LONG",
            "entry_price": 2450.0,
            "current_price": 2520.0,
            "leverage": 5,
            "stop_loss": 2380.0
        })
        print(risk)

Setting Your API Key

For authenticated tools (portfolio, trading, engine), pass your key in the URL:```
https://bastionfi.tech/mcp/sse?api_key=bst_your_key_here


Get your key at bastionfi.tech/account.

> **Tip:** See the full Quickstart Guide for a 5-minute walkthrough, or check the detailed setup guides in `guides/`.

---

## Features

### 49 Tools Across 9 Categories

:brain: Core AI — 4 tools

| Tool | Description |
|------|-------------|
| `bastion_evaluate_risk` | Full risk evaluation for an open position using 560+ signals |
| `bastion_chat` | Natural language conversation with the fine-tuned risk model |
| `bastion_evaluate_all_positions` | Batch evaluation of all open positions |
| `bastion_scan_signals` | Scan a symbol for trade signals and opportunities |

:chart_with_upwards_trend: Market Data — 4 tools

| Tool | Description |
|------|-------------|
| `bastion_get_price` | Real-time price, 24h change, volume |
| `bastion_get_market_data` | Extended market data (market cap, supply, dominance) |
| `bastion_get_klines` | OHLCV candlestick data for any timeframe |
| `bastion_get_volatility` | Realized volatility, ATR, Bollinger bandwidth |

:ocean: Derivatives & Order Flow — 12 tools

| Tool | Description |
|------|-------------|
| `bastion_get_open_interest` | Aggregate open interest across exchanges |
| `bastion_get_oi_changes` | Open interest changes over time windows |
| `bastion_get_cvd` | Cumulative Volume Delta (buyer vs seller aggression) |
| `bastion_get_orderflow` | Order flow imbalance and absorption analysis |
| `bastion_get_funding_rates` | Perpetual funding rates across exchanges |
| `bastion_get_funding_arb` | Funding rate arbitrage opportunities |
| `bastion_get_liquidations` | Recent and aggregate liquidation data |
| `bastion_get_heatmap` | Liquidation heatmap (price clusters) |
| `bastion_get_taker_ratio` | Taker buy/sell ratio |
| `bastion_get_top_traders` | Top trader long/short ratios |
| `bastion_get_market_maker_magnet` | Market maker gamma exposure and magnet levels |
| `bastion_get_options` | Options flow, max pain, put/call ratio |

:link: On-Chain & Intelligence — 4 tools

| Tool | Description |
|------|-------------|
| `bastion_get_whale_activity` | Large wallet movements and accumulation |
| `bastion_get_exchange_flow` | Exchange inflow/outflow (deposit/withdrawal trends) |
| `bastion_get_onchain` | On-chain metrics (active addresses, NVT, SOPR) |
| `bastion_get_news` | Curated crypto news and event feed |

:globe_with_meridians: Macro & Sentiment — 6 tools

| Tool | Description |
|------|-------------|
| `bastion_get_fear_greed` | Crypto Fear & Greed Index |
| `bastion_get_macro_signals` | DXY, bond yields, SPX correlation |
| `bastion_get_etf_flows` | Bitcoin & Ethereum ETF flow data |
| `bastion_get_stablecoin_markets` | Stablecoin supply and flow analysis |
| `bastion_get_economic_data` | CPI, FOMC, jobs data and calendar |
| `bastion_get_polymarket` | Prediction market odds for crypto events |

:page_facing_up: Research — 3 tools

| Tool | Description |
|------|-------------|
| `bastion_generate_report` | Generate a full research report for a symbol |
| `bastion_get_reports` | Retrieve previously generated reports |
| `bastion_calculate_position` | Position size calculator with risk parameters |

:briefcase: Portfolio — 7 tools

| Tool | Description |
|------|-------------|
| `bastion_get_positions` | All open positions across connected exchanges |
| `bastion_get_balance` | Account balance and margin information |
| `bastion_get_exchanges` | Connected exchange accounts |
| `bastion_engine_status` | Autonomous engine status and configuration |
| `bastion_engine_history` | Engine action history and audit log |
| `bastion_get_alerts` | Active alerts and notifications |
| `bastion_get_session_stats` | Trading session performance statistics |

:zap: Trading Actions — 6 tools

| Tool | Description |
|------|-------------|
| `bastion_emergency_exit` | Immediately close a position at market |
| `bastion_partial_close` | Close a percentage of a position |
| `bastion_set_take_profit` | Set or modify take-profit order |
| `bastion_set_stop_loss` | Set or modify stop-loss order |
| `bastion_move_to_breakeven` | Move stop-loss to entry price |
| `bastion_flatten_winners` | Close all positions currently in profit |

:gear: Engine Control — 3 tools

| Tool | Description |
|------|-------------|
| `bastion_engine_start` | Start the autonomous risk engine |
| `bastion_engine_arm` | Arm the engine for live trade execution |
| `bastion_engine_disarm` | Disarm the engine (monitor-only mode) |

### Plus Resources & Prompts

| Type | Name | Description |
|------|------|-------------|
| Resource | `bastion://positions` | Live position data stream |
| Resource | `bastion://market/{symbol}` | Real-time market data for a symbol |
| Resource | `bastion://engine/status` | Engine status and health |
| Prompt | `bastion-risk-check` | Guided risk evaluation workflow |
| Prompt | `bastion-morning-brief` | Daily market briefing template |
| Prompt | `bastion-research` | Deep research analysis template |

---

## Architecture```
┌──────────────────────────────────────────────────────────────────────┐
│                          YOUR CLAUDE AGENT                          │
│                                                                      │
│  "Check my BTC position risk"                                        │
│       │                                                              │
│       ▼                                                              │
│  ┌──────────┐  ┌──────────────┐  ┌──────────────┐                   │
│  │ get_     │  │ evaluate_    │  │ get_         │   Claude picks    │
│  │ positions│  │ risk         │  │ funding_rates│   the right tools │
│  └────┬─────┘  └──────┬───────┘  └──────┬───────┘                   │
│       │               │                 │                            │
└───────┼───────────────┼─────────────────┼────────────────────────────┘
        │               │                 │
        ▼               ▼                 ▼
┌──────────────────────────────────────────────────────────────────────┐
│                     MCP PROTOCOL (SSE Transport)                     │
│                  https://bastionfi.tech/mcp/sse                      │
└──────────────────────────────────────────────────────────────────────┘
        │               │                 │
        ▼               ▼                 ▼
┌──────────────────────────────────────────────────────────────────────┐
│                        BASTION MCP SERVER                            │
│                                                                      │
│  ┌─────────────┐  ┌──────────────┐  ┌───────────────┐               │
│  │ Tool Router │  │ Auth Layer   │  │ Rate Limiter  │               │
│  │ (49 tools)  │  │ (bst_ keys)  │  │               │               │
│  └──────┬──────┘  └──────────────┘  └───────────────┘               │
│         │                                                            │
│  ┌──────┴──────────────────────────────────────────┐                 │
│  │              Risk Intelligence Core             │                 │
│  │                                                  │                 │
│  │  ┌──────────┐  ┌──────────┐  ┌──────────────┐  │                 │
│  │  │ 72B AI   │  │ Signal   │  │ Structure    │  │                 │
│  │  │ Model    │  │ Aggregator│  │ Analyzer     │  │                 │
│  │  │ (Fine-   │  │ (560+    │  │ (VPVR, S/R,  │  │                 │
│  │  │  tuned)  │  │  signals) │  │  Order Flow) │  │                 │
│  │  └──────────┘  └──────────┘  └──────────────┘  │                 │
│  └──────┬──────────────────────────────────────────┘                 │
│         │                                                            │
└─────────┼────────────────────────────────────────────────────────────┘
          │
          ▼
┌──────────────────────────────────────────────────────────────────────┐
│                         DATA SOURCES                                 │
│                                                                      │
│  ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐  │
│  │ Binance  │ │ Bybit    │ │ CoinGlass│ │ On-Chain │ │ Macro    │  │
│  │ OKX      │ │ Bitget   │ │ Coinalyze│ │ Whale    │ │ ETF      │  │
│  │ dYdX     │ │ Hyperliq.│ │ Options  │ │ Exchange │ │ Polymark.│  │
│  └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘  │
└──────────────────────────────────────────────────────────────────────┘

How it works:

  1. Your Claude agent receives a user request (e.g., "evaluate my BTC long")
  2. Claude selects the appropriate BASTION tools via MCP
  3. Tool calls are sent over SSE to the BASTION server
  4. BASTION authenticates, rate-limits, and routes to the correct handler
  5. The Risk Intelligence Core aggregates data from multiple sources, runs the fine-tuned 72B model if needed, and returns structured results
  6. Claude synthesizes the tool results into a natural language response

Authentication

BASTION uses API keys prefixed with bst_ to control access. Keys are scoped to specific permission levels:

Scope Access Level Tools
Public No key required Market data, derivatives, on-chain, macro, sentiment, AI
Read bst_ key with read scope Portfolio viewing, positions, balances, alerts
Trade bst_ key with trade scope Trading actions (exit, partial close, TP/SL)
Engine bst_ key with engine scope Autonomous engine control (start, arm, disarm)

Public Tools (No Authentication)

The following tool categories work without an API key, making BASTION immediately useful for market research and analysis:

  • All Market Data tools
  • All Derivatives & Order Flow tools
  • All On-Chain & Intelligence tools
  • All Macro & Sentiment tools
  • All Core AI tools (risk evaluation, chat, signal scanning)
  • All Research tools

Getting an API Key

  1. Visit bastionfi.tech/account
  2. Create an account or sign in
  3. Generate an API key with the scopes you need
  4. Add the key to your MCP connection URL

Key Security

  • API keys are transmitted over HTTPS only
  • Keys can be revoked instantly from the dashboard
  • Each key has configurable rate limits
  • Trading and engine scopes require explicit opt-in

Example Conversations

These examples show how Claude uses BASTION tools in real conversations.

Example 1: Market Overview```
User: What's the current state of BTC? Give me a quick overview.

Claude: I'll pull the latest Bitcoin data for you.

[Calls bastion_get_price with symbol "BTC"]
[Calls bastion_get_market_data with symbol "BTC"]
[Calls bastion_get_fear_greed]

Here's the current state of Bitcoin:

Price: $98,420 (+2.3% 24h)
24h Volume: $48.2B
Market Cap: $1.94T
Dominance: 56.8%

Fear & Greed: 72 (Greed)

24h Range: $95,880 - $99,150
7d Change: +5.1%
30d Change: +12.4%

BTC is showing strong momentum with price approaching the $100K psychological
level. Volume is elevated and sentiment is firmly in "Greed" territory.
Would you like me to check derivatives flow or run a deeper analysis?


Example 2: Position Risk Evaluation```
User: Check my open positions and evaluate risk on all of them.

Claude: Let me pull your positions and run risk evaluations.

[Calls bastion_get_positions]
[Calls bastion_evaluate_all_positions]

You have 3 open positions. Here are the risk evaluations:

  1. BTC/USDT LONG | 5x | Entry $96,200 | Current $98,420 (+2.3%)
     Risk Score: 35/100 (Low Risk)
     Action: HOLD
     Reasoning: Position is in profit with healthy margin. OI rising with
     price confirms genuine demand. Funding is slightly elevated (0.012%)
     but not at extreme levels.

  2. ETH/USDT LONG | 3x | Entry $2,680 | Current $2,645 (-1.3%)
     Risk Score: 55/100 (Moderate Risk)
     Action: HOLD with caution
     Reasoning: Minor drawdown within normal range for 3x leverage.
     ETH/BTC ratio declining signals relative weakness.

  3. SOL/USDT SHORT | 2x | Entry $195.40 | Current $198.20 (-1.4%)
     Risk Score: 68/100 (Elevated Risk)
     Action: REDUCE_SIZE
     Reasoning: Position moving against you. SOL showing strength with
     rising OI and positive CVD. Whale accumulation detected on-chain.

Example 3: Funding Arbitrage Scan```
User: Is there a funding rate arb opportunity right now?

Claude: Let me scan funding rates across exchanges.

[Calls bastion_get_funding_rates with symbol "BTC"]
[Calls bastion_get_funding_arb]

Top Opportunity: BTC/USDT
Spread: Bybit vs dYdX = 0.043% per 8h (47.1% annualized)

Strategy: Long BTC perp on dYdX (collect 0.008% funding)
Short BTC perp on Bybit (pay 0.035% funding)
Net: Collect the spread while being delta-neutral

Risk Notes:
- Exchange counterparty risk
- Funding rates are variable and can flip
- Execution slippage on entry/exit


---

## Tool Categories Deep Dive

Core AI Tools

The Core AI tools invoke the fine-tuned 72B parameter model that synthesizes hundreds of signals into actionable intelligence.

**`bastion_evaluate_risk`** is the flagship tool. Given position parameters (symbol, direction, entry, leverage, stop loss), it returns:

| Field | Description |
|-------|-------------|
| `action` | Recommended action: `HOLD`, `EXIT_FULL`, `REDUCE_SIZE`, `TP_PARTIAL`, `EXIT_100%` |
| `confidence` | Model confidence score (0-100) |
| `risk_score` | Overall risk assessment (0-100) |
| `reasoning` | Full reasoning chain explaining the recommendation |
| `signals` | Key signals that influenced the decision |

**`bastion_chat`** provides natural language access to the model for freeform questions.

**`bastion_scan_signals`** proactively scans for trade opportunities, returning setups ranked by conviction.

Derivatives & Order Flow Tools

The derivatives suite provides institutional-grade visibility into the perpetual futures market:

| Signal | What It Tells You |
|--------|-------------------|
| Open Interest changes | New money entering/exiting (confirms or denies moves) |
| CVD (Cumulative Volume Delta) | Who is more aggressive -- buyers or sellers |
| Funding rates | Cost of holding leveraged positions (sentiment proxy) |
| Liquidation heatmap | Where cascading liquidations will trigger |
| Taker buy/sell ratio | Real-time directional aggression |
| Top trader positioning | How the big players are positioned |
| Options flow & max pain | Where options market makers want price to settle |
| Market maker magnet | Gamma exposure levels that attract price |

Trading Actions & Autonomous Engine

Trading tools execute on connected exchanges. All actions require a `trade`-scoped API key.

| Tool | Action | Reversible |
|------|--------|------------|
| `bastion_emergency_exit` | Close position at market immediately | No |
| `bastion_partial_close` | Close N% of position | No |
| `bastion_set_take_profit` | Place/modify TP order | Yes |
| `bastion_set_stop_loss` | Place/modify SL order | Yes |
| `bastion_move_to_breakeven` | Move SL to entry price | Yes |
| `bastion_flatten_winners` | Close all profitable positions | No |

**Engine States:**```
STOPPED  →  bastion_engine_start  →  MONITORING
                                          │
                                    bastion_engine_arm
                                          │
                                          ▼
                                       ARMED (live execution)
                                          │
                                    bastion_engine_disarm
                                          │
                                          ▼
                                      MONITORING (alerts only)

Signal Coverage

BASTION's risk model ingests 560+ real-time signals:

Category Signals Examples
Price Action ~80 Multi-timeframe OHLCV, EMAs, RSI, MACD, Bollinger
Derivatives ~120 OI, OI delta, funding, liquidations, basis, CVD
Order Flow ~60 Taker ratio, absorption, spoofing detection, depth
On-Chain ~90 Exchange flow, whale wallets, SOPR, NVT, active addresses
Options ~40 Put/call ratio, max pain, IV skew, gamma exposure
Macro ~50 DXY, yields, SPX correlation, ETF flows, stablecoin supply
Sentiment ~30 Fear & Greed, social volume, news sentiment
Microstructure ~90 VPVR, support/resistance grading, pivot structure, trendlines

Agent Patterns

Proven agentic workflows for building with BASTION:

Monitor and Alert```
1. bastion_get_positions → Get all open positions
2. bastion_evaluate_all_positions → Run AI risk on each
3. [If risk > threshold] → Alert user with analysis
4. [If critical risk] → bastion_emergency_exit


**Research Pipeline**```
1. bastion_get_price               → Current price context
2. bastion_get_open_interest       → Derivatives positioning
3. bastion_get_funding_rates       → Funding sentiment
4. bastion_get_whale_activity      → Smart money moves
5. bastion_get_fear_greed          → Broad sentiment
6. bastion_generate_report         → Synthesize into report

Execution Pattern```
1. bastion_evaluate_risk → Get AI recommendation
2. [If EXIT recommended] → bastion_emergency_exit
3. [If TP_PARTIAL] → bastion_partial_close (50%)
4. [If REDUCE_SIZE] → bastion_partial_close (30%)
5. [If HOLD + TP nearby] → bastion_set_take_profit


> See `workflows/` for complete multi-step workflow templates and `prompt-templates/` for ready-to-use Claude prompts.

---

## Rate Limits

| Tier | Requests/min | Burst | AI Tools/min |
|------|:-----------:|:-----:|:-----------:|
| **Free** | 30 | 10 | 5 |
| **Basic** | 120 | 30 | 20 |
| **Pro** | 600 | 100 | 100 |
| **Enterprise** | Custom | Custom | Custom |

Rate limit headers are included in every response:```
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 118
X-RateLimit-Reset: 1708444800

Supported Symbols

BASTION supports 100+ crypto perpetual pairs across major exchanges.

Symbol Name Full AI Support
BTC Bitcoin :white_check_mark:
ETH Ethereum :white_check_mark:
SOL Solana :white_check_mark:
AVAX Avalanche :white_check_mark:
DOGE Dogecoin :white_check_mark:
LINK Chainlink :white_check_mark:
ADA Cardano :white_check_mark:
XRP Ripple :white_check_mark:
ARB Arbitrum :white_check_mark:
OP Optimism :white_check_mark:

Pass symbols without the /USDT suffix. For example, use "BTC" not "BTC/USDT".


Error Handling

BASTION returns structured errors that Claude can interpret and act on:```json
{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit exceeded. Retry after 12 seconds.",
"retry_after": 12
}
}


| Error Code | Meaning | Claude Behavior |
|------------|---------|----------------|
| `INVALID_SYMBOL` | Symbol not recognized | Ask user to verify the symbol |
| `AUTH_REQUIRED` | Tool requires API key | Prompt user to add their key |
| `SCOPE_DENIED` | Key lacks required scope | Explain what scope is needed |
| `RATE_LIMITED` | Too many requests | Wait and retry automatically |
| `EXCHANGE_ERROR` | Exchange API issue | Report and suggest retry |
| `MODEL_TIMEOUT` | AI model took too long | Retry or use simpler tools |

---

## Repository Structure```
BASTIONMCP/
├── README.md                           # You are here
├── LICENSE                             # MIT License
├── CONTRIBUTING.md                     # Contribution guidelines
├── SECURITY.md                         # Security policy
├── CHANGELOG.md                        # Version history
├── TOOLS.md                            # Complete tool reference
├── quickstart.md                       # 5-minute getting started
├── mcp-config.json                     # MCP connection config
│
├── .github/                            # GitHub configuration
│   ├── ISSUE_TEMPLATE/                 # Bug report & feature request templates
│   ├── PULL_REQUEST_TEMPLATE.md        # PR template
│   ├── workflows/                      # CI/CD (link checking, linting)
│   └── FUNDING.yml                     # Sponsorship info
│
├── examples/                           # Ready-to-use tool examples
│   ├── core-ai/                        # Risk eval, chat, signals (4)
│   ├── market-data/                    # Price, klines, volatility (4)
│   ├── derivatives/                    # OI, CVD, funding, options (12)
│   ├── onchain/                        # Whales, exchange flow, news (4)
│   ├── macro-sentiment/                # Fear/greed, ETF, macro (6)
│   ├── portfolio/                      # Positions, balance, engine (7)
│   ├── trading-actions/                # Exit, TP/SL, breakeven (6)
│   ├── engine-control/                 # Start, arm, disarm (3)
│   ├── research/                       # Reports, position calc (3)
│   ├── resources/                      # MCP resources (3)
│   └── prompts/                        # MCP prompts (3)
│
├── guides/                             # Setup guides
│   ├── claude-code-setup.md            # Claude Code walkthrough
│   ├── claude-desktop-setup.md         # Claude Desktop config
│   └── api-custom-setup.md             # Python SDK integration
│
├── workflows/                          # Multi-step agent workflows
│   ├── morning-briefing.md             # Daily market analysis
│   ├── position-risk-review.md         # Portfolio risk sweep
│   ├── pre-trade-analysis.md           # Pre-trade due diligence
│   ├── risk-engine-setup.md            # Engine configuration
│   ├── whale-intelligence-sweep.md     # On-chain whale tracking
│   └── macro-crypto-correlation.md     # Macro correlation analysis
│
└── prompt-templates/                   # Ready-to-use Claude prompts
    ├── market-overview.md              # Market overview persona
    ├── risk-check.md                   # Risk analyst persona
    ├── trade-setup.md                  # Trade advisor persona
    └── continuous-monitor.md           # Continuous monitoring

Comparison

Feature BASTION Generic Crypto API Manual Research
MCP native :white_check_mark: :x: :x:
AI risk evaluation 72B fine-tuned model None Human judgment
Signal count 560+ 10-50 Varies
Derivatives depth 12 specialized tools 1-3 endpoints Manual dashboard
Autonomous execution Built-in engine None Manual
Time to insight Seconds Minutes Hours
Claude integration Native tools Requires wrapper Copy-paste

FAQ

Do I need to run anything locally?

No. BASTION is a cloud-hosted MCP server. Your Claude client connects directly via SSE. There is nothing to install, build, or deploy.

Which Claude clients are supported?

Any MCP-compatible client works. This includes Claude Code, Claude Desktop, and any custom client built with the MCP SDK.

Is there a free tier?

Yes. All market data, derivatives, on-chain, macro, and AI tools are available without an API key at the free tier rate limit (30 req/min).

Can BASTION execute trades?

Yes, with a trade-scoped API key and a connected exchange. Trading tools include emergency exits, partial closes, TP/SL management, and more. All executions require explicit confirmation through your Claude agent.

What exchanges are supported?

Binance, Bybit, OKX, Bitget, and Hyperliquid. Exchange connections are managed through the BASTION dashboard.

How accurate is the AI risk model?

The model was fine-tuned on thousands of validated trade outcomes and backtests at 75%+ accuracy across BTC, ETH, and SOL. Like all models, it provides probabilistic assessments -- not guarantees.

Is my API key secure?

Keys are transmitted over HTTPS only, never logged in plaintext, and can be revoked instantly. We recommend using environment variables rather than hardcoding keys.


Links

Resource URL
Platform bastionfi.tech
Agents Hub bastionfi.tech/agents
Dashboard bastionfi.tech/dashboard
MCP Endpoint https://bastionfi.tech/mcp/sse
Get API Key bastionfi.tech/account
GitHub github.com/bastionfintech-spec/BASTIONMCP

Contributing

We welcome contributions! Whether it's new examples, workflow templates, bug reports, or documentation improvements.

  1. Fork this repository
  2. Create a feature branch (git checkout -b feature/my-contribution)
  3. Commit your changes
  4. Open a Pull Request

See CONTRIBUTING.md for detailed guidelines and file format standards.


Disclaimer

BASTION provides market intelligence and risk analysis tools. It does not provide financial advice. Cryptocurrency trading involves substantial risk of loss. Past performance of the AI model does not guarantee future results. Always do your own research and never trade with funds you cannot afford to lose.


License

This project is licensed under the MIT License. See LICENSE for details.


Built for the agentic era.

Get Started · Documentation · Dashboard

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
BASTIONMCP 怎么安装?

在客户端按下面的安装命令接入:https://bastionfi.tech/mcp/sse。装完在客户端配置里引用同一个包或端点。

BASTIONMCP 怎么在 Claude Desktop、Claude、Zed 里配置?

它的传输方式是HTTP · 远程,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

BASTIONMCP 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

BASTIONMCP 需要 API Key 吗?

资料标注需要API Key认证,使用前准备好对应凭据,并按最小权限配置。

BASTIONMCP 支持哪些客户端?

资料标注支持 Claude Desktop、Claude、Zed;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

BASTIONMCP 能提供哪些能力?

资料显示能力标签包括 Cloud Deployment、Crypto Analysis、Risk Management、Real-time Market Data、AI Risk Assessment、Trading Automation。具体工具清单以官方文档为准。

BASTIONMCP 需要什么运行环境?

属于远程端点,不需要在本地装运行时。

BASTIONMCP 是本地还是远程?

它是远程端点,连服务地址即可。传输方式为HTTP · 远程。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-02-21。