Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for SSE transport3000
FINNHUB_KEYYesYour Finnhub API key (free, 60 requests/minute)
GROQ_API_KEYYesYour Groq API key for AI analysis
MCP_TRANSPORTNoTransport mode: stdio or ssestdio
NVIDIA_API_KEYYesYour NVIDIA API key for AI analysis (fallback when Groq rate limited)
TAVILY_API_KEYYesYour Tavily API key for web search (search_web tool)
ALPHA_VANTAGE_KEYYesYour Alpha Vantage API key (free, 25 requests/day)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_quoteA

Get live/delayed stock quote for any symbol worldwide. - US stocks: AAPL, TSLA, MSFT - NSE India: RELIANCE.NS, TCS.NS, INFY.NS - BSE India: TATASTEEL.BO, HDFCBANK.BO - Indices: ^NSEI (NIFTY), ^BSESN (SENSEX), ^GSPC (S&P 500)

get_market_summaryA

Get a snapshot of major world indices including NIFTY50, SENSEX, BANKNIFTY, S&P500, NASDAQ, DOW, FTSE, Nikkei, Hang Seng, and DAX. Optionally filter by region: India, US, UK, Japan, HongKong, Germany

get_historicalA

Get OHLCV historical price data for any stock or index globally. Supports US stocks (AAPL), NSE stocks (RELIANCE.NS), BSE stocks (HDFCBANK.BO), and indices (^NSEI, ^GSPC). Range: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max Interval: 1m, 5m, 15m, 30m, 1h, 1d, 1wk, 1mo

get_nse_historicalA

Get NSE India End-of-Day (EOD) historical data from the official NSE Bhavcopy files (CSV/ZIP format). This fetches the official CM-UDiFF Bhavcopy archive from nsearchives.nseindia.com. Returns full EOD data for all ~2000 NSE equity stocks for a given date. If no symbol is provided, returns the full Bhavcopy for that date. Date format: YYYYMMDD (e.g. 20240115). Defaults to the last business day.

get_company_overviewA

Get comprehensive company fundamentals: P/E ratio, EPS, market cap, sector, industry, 52-week range, beta, dividend yield, profit margins, ROE, analyst target price, and more. Best for US stocks. For Indian stocks, some fields may be limited.

get_financialsA

Get financial statements: income statement, balance sheet, or cash flow statement. Returns annual or quarterly data with up to 5 years of history. Data from Alpha Vantage (counts toward 25 req/day free quota).

get_earningsB

Get earnings history with EPS actuals, estimates, surprise amounts and percentages. Also returns the next scheduled earnings date and consensus estimate. Data from Finnhub (free tier: 60 req/min).

get_newsA

Get latest news articles for a specific stock or ticker. Returns headlines, summaries, URLs, and publication timestamps. Covers US stocks, Indian companies (use their NSE symbol), global equities. Data from Finnhub (free tier).

get_market_newsA

Get general market news feed by category. Categories: general (all markets), forex (currency), crypto (digital assets), merger (M&A deals). Returns top 20 articles with headlines, summaries, and URLs.

get_technical_indicatorsA

Calculate technical indicators for any stock. Available indicators: - RSI: Relative Strength Index (overbought >70, oversold <30) - MACD: Moving Average Convergence Divergence (trend/momentum) - SMA: Simple Moving Average - EMA: Exponential Moving Average - BBANDS: Bollinger Bands (volatility bands) - STOCH: Stochastic Oscillator - ADX: Average Directional Index (trend strength) - CCI: Commodity Channel Index - AROON: Aroon Indicator (trend direction) - OBV: On-Balance Volume

Note: Uses Alpha Vantage (25 req/day free limit). Choose indicators wisely.
get_sector_performanceA

Get real-time performance of US market sectors. Returns percentage change for sectors like Technology, Financials, Energy, Healthcare, Consumer Discretionary, Industrials, Materials, Real Estate, Utilities, Communication Services. Data from Alpha Vantage Sector Performance API.

get_nse_quoteA

Get live NSE India quote with exchange-specific data not available elsewhere: - VWAP (Volume Weighted Average Price) - Circuit breaker limits (Upper/Lower Circuit Price) - Delivery quantity and delivery-to-traded ratio - Face value and market lot Uses the official NSE India REST API (no API key required).

get_nse_indicesA

Get live data for all NSE India indices including: NIFTY 50, BANKNIFTY, NIFTY IT, NIFTY PHARMA, NIFTY AUTO, NIFTY FMCG, NIFTY MIDCAP 150, NIFTY SMALLCAP 250, NIFTY NEXT 50, INDIA VIX, and more. Returns open, high, low, last price, change, and advance/decline counts. Data from the official NSE India API.

get_nse_option_chainA

Get the full F&O option chain for NSE stocks and indices. Returns all strike prices with Call (CE) and Put (PE) data: - Open Interest and Change in OI - Implied Volatility - Last Traded Price, Bid/Ask - Volume Works for: NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY, and individual stocks. Data from the official NSE India API.

get_bse_quoteA

Get BSE (Bombay Stock Exchange) stock quote. Use the .BO suffix for BSE stocks (e.g. RELIANCE.BO, TATASTEEL.BO). If you only have the company name, try the NSE symbol with .BO suffix. Data via Yahoo Finance.

get_nse_corporate_actionsA

Get NSE India corporate actions including: - Dividends (ex-date, record date, amount) - Bonus issues (ratio) - Stock splits (ratio) - Rights issues - Board meeting dates - AGM / EGM notices Data sourced from NSE India JSON API with XML/RSS fallback.

search_symbolA

Search for stock symbols by company name or keyword. Returns matching symbols with exchange and type information. Useful for finding: - Indian companies (e.g. search "Reliance" → RELIANCE.NS, RELIANCE.BO) - US companies (e.g. search "Apple" → AAPL) - ETFs, mutual funds, indices Combines results from Yahoo Finance and Finnhub.

search_webB

Perform a financial or general web search using the Tavily search engine. Optimized for LLM context, returning concise and relevant web snippets. Useful for looking up: - Real-time stock news and breaking corporate announcements - Earnings releases, financial consensus, and company reports - Macroeconomic events, interest rate decisions, and policy updates

get_forexA

Get currency exchange rates for any currency pair. Common pairs: USD/INR, EUR/USD, GBP/INR, JPY/USD, USD/SGD, AUD/USD. Data from Alpha Vantage (counts toward 25 req/day free quota).

get_crypto_quoteA

Get cryptocurrency price quotes in USD. Supported coins: BTC, ETH, DOGE, SOL, XRP, ADA, MATIC, DOT, AVAX, LINK, and many more. Data from Finnhub via Binance USDT pairs.

analyze_sentimentA

AI-powered sentiment analysis of news text or recent news for a ticker. Returns: Bullish/Bearish/Neutral/Mixed with a 0-100 score and key factors. Uses Groq (LLaMA 3.3-70B) with NVIDIA NIM fallback.

get_stock_insightA

Full AI analysis combining price data, fundamentals, recent news, and technical indicators. Returns: sentiment, signal (Buy/Hold/Sell), key positives, key risks, target range. Best tool for a comprehensive view of any stock. Uses Groq (LLaMA 3.3-70B) with NVIDIA NIM fallback.

summarize_newsA

AI-powered concise briefing of the latest news for a stock. Returns: overall sentiment, key themes, narrative summary, upcoming catalysts, risk events. Uses Groq (LLaMA 3.3-70B) with NVIDIA NIM fallback.

analyze_earningsA

AI analysis of earnings history: trend, EPS surprise quality, forward outlook. Returns: trend assessment, average surprise %, earnings quality rating, key insights. Uses Groq (LLaMA 3.3-70B) with NVIDIA NIM fallback.

compare_stocksA

Side-by-side AI comparison of 2-5 stocks with pros, cons, and recommendation. Returns a ranked comparison with a clear winner and reasoning. Mix US and Indian stocks freely (e.g. ["AAPL", "RELIANCE.NS", "TCS.NS"]). Uses Groq (LLaMA 3.3-70B) with NVIDIA NIM fallback.

get_trade_signalB

AI-generated trade signal based on technical analysis + fundamentals. Returns: Buy/Hold/Sell signal with confidence %, support/resistance levels, stop loss, target. NOT financial advice — for educational and analytical purposes only. Uses Groq (LLaMA 3.3-70B) with NVIDIA NIM fallback.

analyze_portfolioA

AI portfolio health check for a list of stocks. Returns: overall sentiment, diversification score, risk level, sector exposure, and recommendations. Mix US and Indian stocks freely. Uses Groq (LLaMA 3.3-70B) with NVIDIA NIM fallback.

explain_indicatorA

Plain-English AI explanation of any technical indicator value. Tells you what the reading means, if it's bullish/bearish, and what traders typically do. Great for learning or explaining technical analysis to non-experts. Uses Groq (LLaMA 3.3-70B) with NVIDIA NIM fallback.

run_python_analysisA

Execute dynamic Python code for financial analysis, quantitative backtesting, calculations, or generating charts/plots. The code will be executed in a dedicated 'analysis' folder inside the project. Standard libraries like pandas, numpy, and matplotlib are fully supported. Any files generated (such as PNG charts or CSV files) will be saved in the 'analysis' folder.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Techie03/trade-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server