Skip to main content
Glama
indian-option-mcp

indian-option-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging verbosity — `debug`, `info`, `warn`, `error`info
KITE_API_KEYNoZerodha Kite API key (only if `zerodha`)
DATA_PROVIDERNoData source — `nse` (free) or `zerodha` (needs API key)nse
RISK_FREE_RATENoAnnual risk-free rate for Black-Scholes (7% = Indian 10Y bond)0.07
KITE_API_SECRETNoZerodha Kite API secret (only if `zerodha`)
CACHE_TTL_SECONDSNoReal-time data cache lifetime in seconds5
KITE_ACCESS_TOKENNoZerodha session token, refreshed daily (only if `zerodha`)
INSTRUMENT_CACHE_TTL_HOURSNoInstrument master cache lifetime in hours12

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_option_chainB

Get the complete option chain for an Indian F&O symbol (NIFTY, BANKNIFTY, RELIANCE, etc.) with strike prices, LTP, Open Interest, IV, volume, bid/ask for both calls and puts.

get_expiry_datesA

Get all available F&O expiry dates for an Indian stock or index. Use to find weekly/monthly expiries before building strategies. Returns a numbered list of expiry dates sorted chronologically.

get_spot_priceA

Get the current spot/underlying price of an Indian stock or index from NSE. Use this to check the latest price before calculating Greeks or building strategies. Returns spot price with timestamp.

calculate_greeksB

Calculate all Option Greeks (Delta, Gamma, Theta, Vega, Rho) for a given option using Black-Scholes model.

calculate_ivB

Calculate Implied Volatility from the market price of an option using Newton-Raphson method.

calculate_option_priceC

Calculate theoretical option price using Black-Scholes model.

what_if_greeksB

What-if scenario: Show how Greeks change under hypothetical spot price, IV, or time conditions.

build_strategyB

Build a pre-defined options strategy (Iron Condor, Bull Call Spread, Straddle, etc.) with real market prices for an Indian F&O symbol.

custom_strategyB

Build a custom multi-leg options strategy with specific strikes and actions.

suggest_strategyC

Get AI-friendly strategy suggestions based on your market outlook, risk preference, and capital.

list_strategiesA

List all available pre-built options strategies, optionally filtered by category.

calculate_payoffC

Calculate the payoff/P&L at expiry for given option legs at various underlying prices.

calculate_max_painC

Calculate the Max Pain strike price — the price at which option buyers lose the most money.

get_pcrC

Calculate Put-Call Ratio (PCR) based on Open Interest, Volume, and OI Change.

highest_oi_strikesB

Find strikes with highest Open Interest — these act as support (Put OI) and resistance (Call OI) levels.

oi_change_analysisC

Analyze Change in Open Interest across strikes to identify emerging support/resistance and market sentiment.

iv_smileC

Get the IV Smile — Implied Volatility across different strike prices for a single expiry.

expected_moveC

Calculate the Expected Move — the price range the market expects the underlying to stay within by expiry.

market_overviewB

Get a comprehensive overview of Indian market indices — NIFTY, BANKNIFTY with current values and key options data.

market_statusA

Check if the Indian stock market (NSE) is currently open or closed. Returns market status with trading hours info. Use before placing trades or to explain why data may be stale. Accounts for weekends and Indian market holidays.

lot_sizeA

Get the F&O lot size (number of shares per contract) for any NSE stock or index. Essential for calculating strategy costs, margin, and position sizing. Returns the current lot size as defined by NSE.

next_expiryA

Get the next upcoming F&O expiry date for an Indian stock or index. Supports both weekly (index) and monthly expiries. Use to determine time-to-expiry for Greeks calculations or strategy timing.

estimate_marginC

Estimate the margin required for an options strategy (SPAN + Exposure margin).

probability_of_profitB

Calculate the Probability of Profit (POP) for an options strategy using log-normal distribution.

position_sizingC

Calculate optimal position size based on capital and risk tolerance.

scan_high_oiC

Find strikes with the highest Open Interest buildup — indicates significant institutional positioning.

unusual_activityB

Detect unusual options activity — strikes with abnormally high volume relative to open interest.

Prompts

Interactive templates invoked by user choice

NameDescription
strategy_advisorGet a personalized options strategy recommendation based on market data and your outlook.
market_analysisGet a comprehensive market analysis for an Indian F&O symbol.

Resources

Contextual data attached and managed by the client

NameDescription
market-status

TDQS

C2.9/5.0

Scored across 27 tools

Disambiguation3/5

Most tools have distinct purposes, but highest_oi_strikes and scan_high_oi both target high-OI strikes, and get_expiry_dates versus next_expiry overlap. Descriptions help, but an agent can still hesitate between these paired tools.

Naming Consistency3/5

All names use snake_case, but the convention mixes verb_noun patterns such as get_option_chain and calculate_greeks with noun phrases such as market_overview, iv_smile, and unusual_activity. The names are readable, but there is no single predictable naming pattern.

Tool Count2/5

With 27 tools, the surface exceeds the 25-tool threshold and feels heavy for reliable agent selection. Several analytics tools could likely be consolidated without losing much capability.

Completeness4/5

The set covers market data, Greeks/IV pricing, strategy construction, payoff analysis, OI analytics, margin, and position sizing well. Minor gaps include historical/backtesting data and multi-expiry comparison, but there are no major dead ends for an options analytics server.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues