Skip to main content

AlgoTest MCP Overview

The AlgoTest MCP lets you pull AlgoTest market data - historical candles, option Greeks, and instrument lists directly into an AI assistant like Claude, so you can analyse it in plain English instead of writing code.

What is MCP?​

MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external data sources. Once you connect the AlgoTest MCP to Claude, you can ask questions like "Get me 5-minute candles for the NIFTY weekly ATM call for last week" and Claude fetches the data from AlgoTest and analyses it for you. You never write an API call yourself.

When to use this​

Use the AlgoTest MCP when you want to explore market data conversationally - checking how a premium behaved on a given day, comparing Greeks across strikes, or testing an idea before you build it as a strategy. It is a data and research tool. It does not place orders, deploy strategies, or touch your broker account.

What you can ask for​

The MCP provides seven tools. You don't call these directly - Claude picks the right one based on your question. Knowing what exists helps you ask better questions.

ToolWhat it gives you
get_underlyingsThe list of all underlyings you can query (NIFTY, BANKNIFTY, stocks, and more).
get_underlyings_infoThe same list, with details on which underlyings have futures and options.
search_symbolsInstrument tokens for a given underlying, filtered by type (cash, futures, options).
get_ohlc_by_data_sourceHistorical OHLC candles for cash, futures, or options.
fetch_greeks_by_data_sourceCandle by candle Greeks for options: delta, theta, gamma, vega, rho, implied volatility, and implied future.
list_skillsBuilt in guides that teach the AI how to use the data tools correctly.
get_skillThe full content of any of those guides.

Data coverage​

  • Timeframes: 1 minute up to 1 month (1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M).
  • Instrument types: cash, futures, and options.
  • Option selection: by exact strike, strike type (ATM, OTM5, ITM3, and so on), premium, delta, straddle price, and more — the same selection logic you know from the AlgoTest backtester.
  • Strike resolution: rolling (the strike re-resolves every candle) or fixed (the strike is pinned at a time you choose, such as 09:20, for the rest of the day).
History limit

Historical data is available for the last 3 months only. Requests with an older start date are rejected. If your analysis needs more history, please contact us on support@algotest.in .

Example questions to try​

Once connected, ask Claude things like:

  • "List the underlyings available on AlgoTest MCP that have weekly options."
  • "Fetch 5-minute OHLC for the BANKNIFTY monthly future for the last two weeks and summarise the trend."
  • "Get the Greeks for the NIFTY weekly ATM straddle for yesterday and tell me how theta decayed through the day."
  • "Compare the premium of the ATM call vs the OTM5 call on expiry day."
tip

Be specific about the underlying, instrument, timeframe, and date range in your question. Broad questions (for example, "show me all option symbols for NIFTY") return very large results that the AI may not handle well.

Next steps​