Crypto Indicators MCP Server
An MCP server providing a range of cryptocurrency technical analysis indicators and strategies, empowering AI trading agents to efficiently analyze market trends and develop robust quantitative strategies.
For more crypto-related MCP servers, see the Kukapay MCP servers.
Features
- Technical Indicators: 50+ indicators across trend, momentum, volatility, and volume categories.
- Trading Strategies: Corresponding strategies outputting signals:
-1 (SELL), 0 (HOLD), 1 (BUY).
- Flexible Data Source: Defaults to Binance, configurable to any
ccxt-supported exchange.
- Modular Design: Indicators and strategies are categorized for easy maintenance.
Installation
Prerequisites
- Node.js (v18.x or higher)
- npm (v8.x or higher)
Steps
Clone the Repository:
git clone https://github.com/kukapay/crypto-indicators-mcp.git
cd crypto-indicators-mcp
Install Dependencies:
npm install
Configure MCP Client:
To use this server with an MCP client like Claude Desktop, add the following to your config file (or equivalent):
{
"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):
Calculate the MACD for BTC/USDT on a 1-hour timeframe with fast period 12, slow period 26, signal period 9, and fetch 100 data points.
Output:
{"macd": [...], "signal": [...], "histogram": [...]}
Example 2: Calculate RSI Strategy
Input (Natural Language Prompt):
Give me the RSI strategy signals for ETH/USDT on a 4-hour timeframe with a period of 14 and 50 data points.
Output:
[-1, 0, 1, 0, ...]
License
This project is licensed under the MIT License - see the LICENSE file for details.
1---2name: kukapay-crypto-indicators-mcp3description: An MCP server providing a range of cryptocurrency technical analysis indicators and strategies, empowering AI trading agents to efficiently analyze market trends and develop robust quantitative strategies.4---56# Crypto Indicators MCP Server78An MCP server providing a range of cryptocurrency technical analysis indicators and strategies, empowering AI trading agents to efficiently analyze market trends and develop robust quantitative strategies.910For more crypto-related MCP servers, see the [Kukapay MCP servers](https://github.com/kukapay/kukapay-mcp-servers).1112[](https://opensource.org/licenses/MIT)13[](https://nodejs.org/)141516## Features1718- **Technical Indicators**: 50+ indicators across trend, momentum, volatility, and volume categories.19- **Trading Strategies**: Corresponding strategies outputting signals: `-1` (SELL), `0` (HOLD), `1` (BUY).20- **Flexible Data Source**: Defaults to Binance, configurable to any `ccxt`-supported exchange.21- **Modular Design**: Indicators and strategies are categorized for easy maintenance.2223## Installation2425### Prerequisites2627- [Node.js](https://nodejs.org/) (v18.x or higher)28- npm (v8.x or higher)2930### Steps31321. **Clone the Repository**:33 ```bash34 git clone https://github.com/kukapay/crypto-indicators-mcp.git35 cd crypto-indicators-mcp36 ```37382. **Install Dependencies**:39 ```bash40 npm install41 ```42433. **Configure MCP Client**:44 To use this server with an MCP client like Claude Desktop, add the following to your config file (or equivalent):45 ```json46 {47 "mcpServers": {48 "crypto-indicators-mcp": {49 "command": "node",50 "args": ["path/to/crypto-indicators-mcp/index.js"],51 "env": {52 "EXCHANGE_NAME": "binance"53 }54 }55 }56 } 57 ```5859## Available Tools6061### Trend Indicators62- `calculate_absolute_price_oscillator`: Measures the difference between two EMAs to identify trend strength (APO).63- `calculate_aroon`: Identifies trend changes and strength using high/low price extremes (Aroon).64- `calculate_balance_of_power`: Gauges buying vs. selling pressure based on price movement (BOP).65- `calculate_chande_forecast_oscillator`: Predicts future price movements relative to past trends (CFO).66- `calculate_commodity_channel_index`: Detects overbought/oversold conditions and trend reversals (CCI).67- `calculate_double_exponential_moving_average`: Smooths price data with reduced lag for trend detection (DEMA).68- `calculate_exponential_moving_average`: Weights recent prices more heavily for trend analysis (EMA).69- `calculate_mass_index`: Identifies potential reversals by measuring range expansion (MI).70- `calculate_moving_average_convergence_divergence`: Tracks momentum and trend direction via EMA differences (MACD).71- `calculate_moving_max`: Computes the maximum price over a rolling period (MMAX).72- `calculate_moving_min`: Computes the minimum price over a rolling period (MMIN).73- `calculate_moving_sum`: Calculates the sum of prices over a rolling period (MSUM).74- `calculate_parabolic_sar`: Provides stop-and-reverse points for trend following (PSAR).75- `calculate_qstick`: Measures buying/selling pressure based on open-close differences (Qstick).76- `calculate_kdj`: Combines stochastic and momentum signals for trend analysis (KDJ).77- `calculate_rolling_moving_average`: Applies a rolling EMA for smoother trend tracking (RMA).78- `calculate_simple_moving_average`: Averages prices over a period to identify trends (SMA).79- `calculate_since_change`: Tracks the time since the last significant price change.80- `calculate_triple_exponential_moving_average`: Reduces lag further than DEMA for trend clarity (TEMA).81- `calculate_triangular_moving_average`: Weights middle prices more for smoother trends (TRIMA).82- `calculate_triple_exponential_average`: Measures momentum with triple smoothing (TRIX).83- `calculate_typical_price`: Averages high, low, and close prices for a balanced trend view.84- `calculate_volume_weighted_moving_average`: Incorporates volume into moving averages for trend strength (VWMA).85- `calculate_vortex`: Identifies trend direction and strength using true range (Vortex).8687### Momentum Indicators88- `calculate_awesome_oscillator`: Measures market momentum using midline crossovers (AO).89- `calculate_chaikin_oscillator`: Tracks accumulation/distribution momentum (CMO).90- `calculate_ichimoku_cloud`: Provides a comprehensive view of support, resistance, and momentum (Ichimoku).91- `calculate_percentage_price_oscillator`: Normalizes MACD as a percentage for momentum (PPO).92- `calculate_percentage_volume_oscillator`: Measures volume momentum via EMA differences (PVO).93- `calculate_price_rate_of_change`: Tracks price momentum as a percentage change (ROC).94- `calculate_relative_strength_index`: Identifies overbought/oversold conditions via momentum (RSI).95- `calculate_stochastic_oscillator`: Compares closing prices to ranges for momentum signals (STOCH).96- `calculate_williams_r`: Measures momentum relative to recent high-low ranges (Williams %R).9798### Volatility Indicators99- `calculate_acceleration_bands`: Frames price action with dynamic volatility bands (AB).100- `calculate_average_true_range`: Measures market volatility based on price ranges (ATR).101- `calculate_bollinger_bands`: Encloses price action with volatility-based bands (BB).102- `calculate_bollinger_bands_width`: Quantifies volatility via band width changes (BBW).103- `calculate_chandelier_exit`: Sets trailing stop-losses based on volatility (CE).104- `calculate_donchian_channel`: Tracks volatility with high/low price channels (DC).105- `calculate_keltner_channel`: Combines ATR and EMA for volatility bands (KC).106- `calculate_moving_standard_deviation`: Measures price deviation for volatility (MSTD).107- `calculate_projection_oscillator`: Assesses volatility relative to projected prices (PO).108- `calculate_true_range`: Calculates daily price range for volatility analysis (TR).109- `calculate_ulcer_index`: Quantifies downside volatility and drawdowns (UI).110111### Volume Indicators112- `calculate_accumulation_distribution`: Tracks volume flow to confirm price trends (AD).113- `calculate_chaikin_money_flow`: Measures buying/selling pressure with volume (CMF).114- `calculate_ease_of_movement`: Assesses how easily prices move with volume (EMV).115- `calculate_force_index`: Combines price and volume for momentum strength (FI).116- `calculate_money_flow_index`: Identifies overbought/oversold via price-volume (MFI).117- `calculate_negative_volume_index`: Tracks price changes on lower volume days (NVI).118- `calculate_on_balance_volume`: Accumulates volume to predict price movements (OBV).119- `calculate_volume_price_trend`: Combines volume and price for trend confirmation (VPT).120- `calculate_volume_weighted_average_price`: Averages prices weighted by volume (VWAP).121122### Trend Strategies123- `calculate_absolute_price_oscillator_strategy`: Generates buy/sell signals from APO crossovers (APO Strategy).124- `calculate_aroon_strategy`: Signals trend reversals using Aroon crossovers (Aroon Strategy).125- `calculate_balance_of_power_strategy`: Issues signals based on BOP thresholds (BOP Strategy).126- `calculate_chande_forecast_oscillator_strategy`: Predicts reversals with CFO signals (CFO Strategy).127- `calculate_kdj_strategy`: Combines KDJ lines for trend-based signals (KDJ Strategy).128- `calculate_macd_strategy`: Uses MACD crossovers for trading signals (MACD Strategy).129- `calculate_parabolic_sar_strategy`: Signals trend direction with PSAR shifts (PSAR Strategy).130- `calculate_typical_price_strategy`: Generates signals from typical price trends.131- `calculate_volume_weighted_moving_average_strategy`: Issues signals based on VWMA crossovers (VWMA Strategy).132- `calculate_vortex_strategy`: Signals trend direction with Vortex crossovers (Vortex Strategy).133134### Momentum Strategies135- `calculate_momentum_strategy`: Issues signals based on momentum direction.136- `calculate_awesome_oscillator_strategy`: Signals momentum shifts with AO crossovers (AO Strategy).137- `calculate_ichimoku_cloud_strategy`: Generates signals from Ichimoku cloud positions (Ichimoku Strategy).138- `calculate_rsi2_strategy`: Signals overbought/oversold with RSI thresholds (RSI Strategy).139- `calculate_stochastic_oscillator_strategy`: Uses stochastic crossovers for signals (STOCH Strategy).140- `calculate_williams_r_strategy`: Signals momentum reversals with Williams %R (Williams %R Strategy).141142### Volatility Strategies143- `calculate_acceleration_bands_strategy`: Signals breakouts with acceleration bands (AB Strategy).144- `calculate_bollinger_bands_strategy`: Issues signals from Bollinger Band breaches (BB Strategy).145- `calculate_projection_oscillator_strategy`: Signals volatility shifts with PO (PO Strategy).146147### Volume Strategies148- `calculate_chaikin_money_flow_strategy`: Signals volume pressure with CMF (CMF Strategy).149- `calculate_ease_of_movement_strategy`: Issues signals based on EMV trends (EMV Strategy).150- `calculate_force_index_strategy`: Signals momentum with force index shifts (FI Strategy).151- `calculate_money_flow_index_strategy`: Signals overbought/oversold with MFI (MFI Strategy).152- `calculate_negative_volume_index_strategy`: Signals trends with NVI changes (NVI Strategy).153- `calculate_volume_weighted_average_price_strategy`: Issues signals from VWAP crossovers (VWAP Strategy).154155## Usage Examples156157### Example 1: Calculate MACD Indicator158159**Input (Natural Language Prompt)**:160```161Calculate the MACD for BTC/USDT on a 1-hour timeframe with fast period 12, slow period 26, signal period 9, and fetch 100 data points.162```163164**Output**:165```166{"macd": [...], "signal": [...], "histogram": [...]}167```168169### Example 2: Calculate RSI Strategy170171**Input (Natural Language Prompt)**:172```173Give me the RSI strategy signals for ETH/USDT on a 4-hour timeframe with a period of 14 and 50 data points.174```175176**Output**:177```178[-1, 0, 1, 0, ...]179```180181## License182183This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.184