canli-mcp / Indicators

How can an AI agent compute technical indicators like RSI and MACD?

canli-mcp computes them exactly on your machine: rsi, macd, bollinger_bands and dozens more, from prices it reads itself or you pass in, so the model never estimates an indicator in its head.

Free and MIT-licensed. No account and no API key. Or run claude mcp add canli -- npx -y canli-mcp in Claude Code.

Ask it

What is Apple's 14-day RSI?

The agent finds the tool through canli-mcp's find_tool and runs it through run_tool. This is the call:

{
  "calls": [
    {
      "name": "price_history",
      "arguments": {
        "symbol": "AAPL",
        "start": "2026-06-01"
      }
    },
    {
      "name": "rsi",
      "arguments": {
        "close": {
          "$result": 0,
          "path": "close"
        },
        "period": 14,
        "tail": 10
      }
    }
  ],
  "return": "last"
}

What came back

Recorded from canli-mcp 0.11.1 on 2026-10-25, with no API key set. The model read 192 characters.

The result rsi sent back
{
  "rsi": [
    60.1829,
    60.4573,
    62.0444,
    60.5575,
    62.0471,
    61.1612,
    "…"
  ],
  "latest": {
    "rsi": 63.9025
  },
  "bars": 102,
  "first_index": 92
}

Prices, filings and statistics are as the sources published them on that day; run the call again for today's. Nothing here is investment advice.

The tools behind the answer

From canli-mcp's tool index
ToolPackWhat it does
price_historymarketsPrice bars (open, high, low, close, volume), daily to hourly, for US stocks and ETFs, stocks listed abroad (SAP.DE, 7203.T), currency pairs (EUR/USD), futures (crude oil, gold), indices and yields (S&P 500, VIX, 10 year yield) and crypto (bitcoin), by symbol or plain name. Stocks adjust for splits and dividends by default, with dividends, splits and the total return; returns: true adds daily returns. No key needed; uses the user's Alpaca or Tiingo key for US stocks when set.
rsiquantCompute Wilder's relative strength index (0-100): above 70 often read as overbought, below 30 as oversold.
bollinger_bandsquantCompute Bollinger Bands: a moving average with bands k population standard deviations above and below, plus %B and bandwidth.

Add canli-mcp

Claude Code
claude mcp add canli -- npx -y canli-mcp
Cursor, Claude Desktop or any MCP client
{ "mcpServers": { "canli": { "command": "npx", "args": ["-y", "canli-mcp"] } } }
claude.ai, ChatGPT or any client that takes a URL
https://canlicapital.com/mcp/canli

Everything canli-mcp does · How it compares with other finance MCP servers

Related questions