technical_indicator

Pack: twelvedata · Endpoint: https://gateway.pipeworx.io/twelvedata/mcp

Compute a technical indicator time series for a stock/forex/crypto symbol via Twelve Data — RSI, SMA, EMA, MACD, Bollinger Bands (bbands), ADX, ATR, Stochastic, CCI, and more. PREFER for “RSI(14) of AAPL”, “50-day and 200-day SMA of TSLA”, “MACD for BTC/USD”, “Bollinger Bands of SPY”. This is the right tool for ANY “RSI / SMA / EMA / MACD / moving average / technical indicator for ” question. Computes ONE indicator per call: if several are requested (e.g. “RSI and the 50-day and 200-day SMA”), call this once per indicator starting with the first — do NOT decline just because multiple indicators are asked for. Returns dated indicator values.

Parameters

NameTypeRequiredDescription
indicatorstringyesIndicator (lowercase): rsi, sma, ema, wma, dema, tema, macd, bbands, stoch, stochrsi, adx, atr, natr, cci, mom, roc, willr, obv, ad, vwap, aroon, mfi, sar, trix, ppo, kama.
time_periodnumbernoLook-back period in bars (e.g. 14 for RSI, 50 or 200 for SMA, 20 for bbands). Default varies by indicator.
series_typestringnoPrice series the indicator is computed on: close (default), open, high, low.

Example call

Arguments

{
  "indicator": "rsi",
  "symbol": "AAPL",
  "interval": "1day",
  "time_period": 14
}

curl

curl -X POST https://gateway.pipeworx.io/twelvedata/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"technical_indicator","arguments":{"indicator":"rsi","symbol":"AAPL","interval":"1day","time_period":14}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('technical_indicator', {
  "indicator": "rsi",
  "symbol": "AAPL",
  "interval": "1day",
  "time_period": 14
});

More examples

{
  "indicator": "sma",
  "symbol": "TSLA",
  "interval": "1h",
  "time_period": 50
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "twelvedata": {
      "url": "https://gateway.pipeworx.io/twelvedata/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 9, 2026