mcpField
C
Crypto Indicators MCP Server

Crypto Indicators MCP Server

本地服务
github.com/kukapay金融数据13147 周前更新

关于 Crypto Indicators MCP Server

Crypto Indicators MCP Server 提供 50 多种加密货币技术分析指标和对应交易策略,面向需要分析市场趋势并开发量化策略的 AI 交易 Agent。策略会输出 -1、0、1 的买卖持有信号,数据源默认为 Binance。

主要功能

  1. 01趋势、动量、波动率和成交量四类指标
  2. 02对应指标的交易策略信号输出
  3. 03默认使用 Binance,可配置 ccxt 支持的交易所
  4. 04指标与策略按类别模块化组织

适用场景

  1. 01为 AI 交易 Agent 计算 BTC/USDT 的 MACD 等指标
  2. 02获取 ETH/USDT 的 RSI 策略买卖信号
  3. 03在量化策略开发中批量比较不同指标

MCP 相关

该项目是一个 MCP 服务,向 MCP 客户端暴露加密货币技术指标与策略计算工具,供 AI Agent 调用。

配置

本地服务的配置在各客户端中通用,复制后粘贴到客户端的 MCP 配置文件即可。

暂未收录安装方式

我们还没有获取到这个服务的安装包或远程地址,请按项目 README 中的说明安装。

代码仓库

工具

还没有获取到工具列表

本地服务需要在你的电脑上运行后才能读取工具,维护者暂未提供工具列表。

详细介绍

加密货币指标 MCP 服务

一个提供多种加密货币技术分析指标和策略的 MCP 服务,帮助 AI 交易 Agent 高效分析市场趋势并制定稳健的量化策略。

如需了解更多加密货币相关的 MCP 服务,请参阅 Kukapay MCP servers。

许可证 Node.js 状态

功能

  • 技术指标:涵盖趋势、动量、波动率和成交量类别的 50 多种指标。
  • 交易策略:相应策略会输出信号:-1(卖出)、0(持有)、1(买入)。
  • 灵活的数据源:默认使用 Binance,可配置为任何受 ccxt 支持的交易所。
  • 模块化设计:指标和策略按类别划分,便于维护。

安装

先决条件
  • Node.js(v18.x 或更高版本)
  • npm(v8.x 或更高版本)
步骤
  1. 克隆仓库:

    git clone https://github.com/kukapay/crypto-indicators-mcp.git
    cd crypto-indicators-mcp
    
  2. 安装依赖项:

    npm install
    
  3. 配置 MCP 客户端: 要将此服务与 Claude Desktop 等 MCP 客户端配合使用,请将以下内容添加到配置文件中(或相应的配置文件):

     {
       "mcpServers": {
         "crypto-indicators-mcp": {
           "command": "node",
           "args": ["path/to/crypto-indicators-mcp/index.js"],
           "env": {
             "EXCHANGE_NAME": "binance"
           }
         }
       }
     }   
    

Available Tools

Trend Indicators
  • calculate_absolute_price_oscillator: Measures the difference between two EMAs to identify trend strength (APO).
  • calculate_aroon: Identifies trend changes and strength using high/low price extremes (Aroon).
  • calculate_balance_of_power: Gauges buying vs. selling pressure based on price movement (BOP).
  • calculate_chande_forecast_oscillator: Predicts future price movements relative to past trends (CFO).
  • calculate_commodity_channel_index: Detects overbought/oversold conditions and trend reversals (CCI).
  • calculate_double_exponential_moving_average: Smooths price data with reduced lag for trend detection (DEMA).
  • calculate_exponential_moving_average: Weights recent prices more heavily for trend analysis (EMA).
  • calculate_mass_index: Identifies potential reversals by measuring range expansion (MI).
  • calculate_moving_average_convergence_divergence: Tracks momentum and trend direction via EMA differences (MACD).
  • calculate_moving_max: Computes the maximum price over a rolling period (MMAX).
  • calculate_moving_min: Computes the minimum price over a rolling period (MMIN).
  • calculate_moving_sum: Calculates the sum of prices over a rolling period (MSUM).
  • calculate_parabolic_sar: Provides stop-and-reverse points for trend following (PSAR).
  • calculate_qstick: Measures buying/selling pressure based on open-close differences (Qstick).
  • calculate_kdj: Combines stochastic and momentum signals for trend analysis (KDJ).
  • calculate_rolling_moving_average: Applies a rolling EMA for smoother trend tracking (RMA).
  • calculate_simple_moving_average: Averages prices over a period to identify trends (SMA).
  • calculate_since_change: Tracks the time since the last significant price change.
  • calculate_triple_exponential_moving_average: Reduces lag further than DEMA for trend clarity (TEMA).
  • calculate_triangular_moving_average: Weights middle prices more for smoother trends (TRIMA).
  • calculate_triple_exponential_average: Measures momentum with triple smoothing (TRIX).
  • calculate_typical_price: Averages high, low, and close prices for a balanced trend view.
  • calculate_volume_weighted_moving_average: Incorporates volume into moving averages for trend strength (VWMA).
  • calculate_vortex: Identifies trend direction and strength using true range (Vortex).
Momentum Indicators
  • calculate_awesome_oscillator: Measures market momentum using midline crossovers (AO).
  • calculate_chaikin_oscillator: Tracks accumulation/distribution momentum (CMO).
  • calculate_ichimoku_cloud: Provides a comprehensive view of support, resistance, and momentum (Ichimoku).
  • calculate_percentage_price_oscillator: Normalizes MACD as a percentage for momentum (PPO).
  • calculate_percentage_volume_oscillator: Measures volume momentum via EMA differences (PVO).
  • calculate_price_rate_of_change: Tracks price momentum as a percentage change (ROC).
  • calculate_relative_strength_index: Identifies overbought/oversold conditions via momentum (RSI).
  • calculate_stochastic_oscillator: Compares closing prices to ranges for momentum signals (STOCH).
  • calculate_williams_r: Measures momentum relative to recent high-low ranges (Williams %R).
Volatility Indicators
  • calculate_acceleration_bands: Frames price action with dynamic volatility bands (AB).
  • calculate_average_true_range: Measures market volatility based on price ranges (ATR).
  • calculate_bollinger_bands: Encloses price action with volatility-based bands (BB).
  • calculate_bollinger_bands_width: Quantifies volatility via band width changes (BBW).
  • calculate_chandelier_exit: Sets trailing stop-losses based on volatility (CE).
  • calculate_donchian_channel: Tracks volatility with high/low price channels (DC).
  • calculate_keltner_channel: Combines ATR and EMA for volatility bands (KC).
  • calculate_moving_standard_deviation: Measures price deviation for volatility (MSTD).
  • calculate_projection_oscillator: Assesses volatility relative to projected prices (PO).
  • calculate_true_range: Calculates daily price range for volatility analysis (TR).
  • calculate_ulcer_index: Quantifies downside volatility and drawdowns (UI).
Volume Indicators
  • calculate_accumulation_distribution: Tracks volume flow to confirm price trends (AD).
  • calculate_chaikin_money_flow: Measures buying/selling pressure with volume (CMF).
  • calculate_ease_of_movement: Assesses how easily prices move with volume (EMV).
  • calculate_force_index: Combines price and volume for momentum strength (FI).
  • calculate_money_flow_index: Identifies overbought/oversold via price-volume (MFI).
  • calculate_negative_volume_index: Tracks price changes on lower volume days (NVI).
  • calculate_on_balance_volume: Accumulates volume to predict price movements (OBV).
  • calculate_volume_price_trend: Combines volume and price for trend confirmation (VPT).
  • calculate_volume_weighted_average_price: Averages prices weighted by volume (VWAP).
Trend Strategies
  • calculate_absolute_price_oscillator_strategy: Generates buy/sell signals from APO crossovers (APO Strategy).
  • calculate_aroon_strategy: Signals trend reversals using Aroon crossovers (Aroon Strategy).
  • calculate_balance_of_power_strategy: Issues signals based on BOP thresholds (BOP Strategy).
  • calculate_chande_forecast_oscillator_strategy: Predicts reversals with CFO signals (CFO Strategy).
  • calculate_kdj_strategy: Combines KDJ lines for trend-based signals (KDJ Strategy).
  • calculate_macd_strategy: Uses MACD crossovers for trading signals (MACD Strategy).
  • calculate_parabolic_sar_strategy: Signals trend direction with PSAR shifts (PSAR Strategy).
  • calculate_typical_price_strategy: Generates signals from typical price trends.
  • calculate_volume_weighted_moving_average_strategy: Issues signals based on VWMA crossovers (VWMA Strategy).
  • calculate_vortex_strategy: Signals trend direction with Vortex crossovers (Vortex Strategy).
Momentum Strategies
  • calculate_momentum_strategy: Issues signals based on momentum direction.
  • calculate_awesome_oscillator_strategy: Signals momentum shifts with AO crossovers (AO Strategy).
  • calculate_ichimoku_cloud_strategy: Generates signals from Ichimoku cloud positions (Ichimoku Strategy).
  • calculate_rsi2_strategy: Signals overbought/oversold with RSI thresholds (RSI Strategy).
  • calculate_stochastic_oscillator_strategy: Uses stochastic crossovers for signals (STOCH Strategy).
  • calculate_williams_r_strategy: Signals momentum reversals with Williams %R (Williams %R Strategy).
Volatility Strategies
  • calculate_acceleration_bands_strategy: Signals breakouts with acceleration bands (AB Strategy).
  • calculate_bollinger_bands_strategy: Issues signals from Bollinger Band breaches (BB Strategy).
  • calculate_projection_oscillator_strategy: Signals volatility shifts with PO (PO Strategy).
Volume Strategies
  • calculate_chaikin_money_flow_strategy: Signals volume pressure with CMF (CMF Strategy).
  • calculate_ease_of_movement_strategy: Issues signals based on EMV trends (EMV Strategy).
  • calculate_force_index_strategy: Signals momentum with force index shifts (FI Strategy).
  • calculate_money_flow_index_strategy: Signals overbought/oversold with MFI (MFI Strategy).
  • calculate_negative_volume_index_strategy: Signals trends with NVI changes (NVI Strategy).
  • calculate_volume_weighted_average_price_strategy: Issues signals from VWAP crossovers (VWAP Strategy).

Usage Examples

Example 1: Calculate MACD Indicator

Input (Natural Language Prompt):

计算 BTC/USDT 在 1 小时时间周期上的 MACD,快速周期为 12,慢速周期为 26,信号周期为 9,并获取 100 个数据点。

Output:

{"macd": [...], "signal": [...], "histogram": [...]}
Example 2: Calculate RSI Strategy

Input (Natural Language Prompt):

给出 ETH/USDT 在 4 小时时间周期上的 RSI 策略信号,周期为 14,数据点数为 50。

Output:

[-1, 0, 1, 0, ...]

License

This project is licensed under the MIT License - see the LICENSE file for details.

评论

支持 Markdown

第一次接触 MCP?

从协议是什么,到在客户端里装上第一个服务,这几条回答覆盖了大多数入门问题。

一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。