Stock Analysis (India)

by giptilabs

Not rated
GitHub

About

Access real-time and historical Indian stock data using the Yahoo Finance API.

Details

Author
giptilabs
Repository
giptilabs/mcp-stock-analysis
Categories
Search, Finance, Other, API, Developer Tools, AI, Infrastructure

- getStockQuote: Get the current quote for an Indian stock.
- getHistoricalData: Get historical data for an Indian stock with custom intervals and periods.
---

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Stock Analysis (India)
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 mcp-stock-analysis

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

npm install mcp-stock-analysis

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

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

getStockQuote

Get the current quote for a stock. Input: symbol (string) - the stock symbol (e.g., RELIANCE.NS). Output: JSON object containing the current price and name of the stock.

getHistoricalData

Get historical data for a stock. Input: symbol (string) - the stock symbol (e.g., RELIANCE.NS), interval (optional string) - the time interval for the data ('daily', 'weekly', or 'monthly', default is 'daily'). Output: JSON object containing the historical data based on the specified interval.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "stock analysis (india)": {
            "env": {},
            "args": [
                "-y",
                "mcp-stock-analysis"
            ],
            "shell": false,
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "mcp-stock-analysis"
    ],
    "shell": false,
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "mcp-stock-analysis"
    ],
    "shell": false,
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "mcp-stock-analysis"
    ],
    "shell": false,
    "command": "cmd"
}

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.

- getStockQuote: Get the current quote for an Indian stock.
- getHistoricalData: Get historical data for an Indian stock with custom intervals and periods.

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

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

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

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

- symbol: the stock symbol (e.g., RELIANCE.NS)
- interval: the time interval for the data (daily,weekly, ormonthly) (optional, default:daily)

{ "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.

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

Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.

An MCP server for querying Yahoo Finance data using the yfinance library.

US/HK markets — 110 tools: real-time quotes, options, orders, fundamentals, alerts, DCA & portfolio

Interact with Ramp's Developer API to run analysis on your spend and gain insights leveraging LLMs

Connect to any financial, utility, billing accounts; retrieve balance, transactions, payment and identity data instantly.

Interact with Twelve Data APIs to access real-time and historical financial market data for your AI agents.

Interact with Alchemy's blockchain APIs to query data without writing code.

Provides real-time financial market data using the Alpha Vantage API.

Access real-time and historical stock market data from the Alpha Vantage API.

Access real-time financial data, including stock prices, forex rates, and cryptocurrencies from Alpha Vantage.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.