Skip to main content
Glama
giptilabs

MCP Stock Analysis Server

by giptilabs

MCP Stock Analysis Server by Akshay Bavkar

This is an MCP server that provides access to real-time and historical Indian stock data using the Yahoo Finance API. It allows stock data retrieval to be used as context by local LLMs via Claude Desktop, Cursor, and other MCP-compatible agents.

Available Features

  • getStockQuote: Get the current quote for an Indian stock.

  • getHistoricalData: Get historical data for an Indian stock with custom intervals and periods.


Related MCP server: StockQuotes MCP

Setup

npm install mcp-stock-analysis

Usage in Host

Configure your MCP client (e.g., Claude Desktop) to connect to the server:

{
  "mcpServers": {
    "mcp-stock-analysis": {
      "command": "npx",
      "args": ["-y", "mcp-stock-analysis"],
    }
  }
}

Tools

getStockQuote

Get the current quote for a stock.

Input:

symbol: The stock symbol (e.g., RELIANCE.NS)

Output:

{
  "symbol": "RELIANCE.NS",
  "price": 2748.15,
  "name": "Reliance Industries Ltd"
}

getHistoricalData

Get historical data for a stock.

Input:

  • symbol: the stock symbol (e.g., RELIANCE.NS)

  • interval: the time interval for the data (daily, weekly, or monthly) (optional, default: daily)

Output:

{
    "date": "2025-03-21T00:00:00+05:30",
    "open": 2735,
    "high": 2750,
    "low": 2725,
    "close": 2748.15,
    "volume": 21780769
}

JSON object containing the historical data. The structure of the output depends on the interval parameter.

Contributing

Contributions are welcome! Please open an issue or pull request.

License

MIT

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to retrieve real-time stock data, manage watchlists, and perform comprehensive technical analysis using Yahoo Finance API. Provides 18+ tools for stock price tracking, trend analysis, volatility assessment, and financial indicators through MCP integration.
    Last updated
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides real-time stock quotes, historical data, and stock search via Yahoo Finance, enabling AI assistants to access and analyze financial market data.
    Last updated
    15
    17
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Provides financial data from Yahoo Finance via MCP, enabling AI agents to access real-time stock info, historical prices, financial statements, and market analysis.
    Last updated
    10
    12

View all related MCP servers

Related MCP Connectors

  • The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.

  • Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.

  • Twelve Data MCP: real-time & historical market data (stocks, crypto, forex, etc).

View all MCP Connectors

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/giptilabs/mcp-stock-analysis'

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