MACD Calculator

MACD Calculator MCP Connector for Claude

A+

Deterministic technical analysis engine for MACD indicators and signals.

4 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides a deterministic engine for calculating Moving Average Convergence Divergence (MACD) indicators. It allows AI agents to perform precise technical analysis by generating MACD lines, signal lines, and histograms. Use calculate_macd_indicators to generate the full indicator suite, analyze_crossovers to detect bullish or bearish momentum shifts, detect_zero_crossings to identify trend direction changes, and detect_histogram_divergence to find potential trend reversals through price and momentum discrepancies.

macdtradingindicatorsmomentumfinance

4 tools expose this connector's capabilities to your AI agent.

calculate_macd_indicators

Generates the full suite of MACD values (Line, Signal, and Histogram) for a given price series

analyze_crossovers

Identifies momentum shifts by detecting crossovers between the MACD line and the Signal line

detect_histogram_divergence

Detects potential trend reversals by finding discrepancies between price movement and histogram momentum

detect_zero_crossings

Identifies when the MACD line crosses the zero threshold, signaling a change in trend direction

See how to talk to your AI agent using MACD Calculator.

Calculate the MACD indicators for this price series: [150.2, 152.5, 151.0, 153.4, 155.0, 154.2, 156.1, 157.5, 158.0, 157.2]

The MACD line is 1.25, the signal line is 0.85, and the histogram is 0.40.

Check if there was a bullish crossover in this MACD data: [{'macdLine': 1.5, 'signalLine': 1.2}, {'macdLine': 1.8, 'signalLine': 1.4}]

A bullish crossover was detected at index 1.

Did the MACD line cross the zero line in this data: [{'macdLine': -0.5}, {'macdLine': 0.2}]

An upward zero-line crossing was detected at index 1.

To ensure deterministic results, the first EMA value in a series is calculated as the Simple Moving Average (SMA) of the first N periods.

Related Connectors