Skip to main content
Glama
NagrajADesai

mcp-indian-stocks

by NagrajADesai

Indian Stock Market MCP Server

An MCP (Model Context Protocol) server built in Python that provides real-time and historical data from the Indian Stock Market (BSE and NSE).

🚀 Quick Start Guide

1. Get Your API Key

  1. Go to IndianAPI.in - Indian Stock Market API.

  2. Sign up and copy your API key.

2. Set Up the .env File

  1. Clone this repository to your computer.

  2. In the root of the project folder, create a new file named exactly .env.

  3. Open the .env file and paste your API key like this:

INDIAN_STOCK_API_KEY=your_api_key_here

3. Connect to Claude Desktop

To use this with Claude Desktop, update your configuration file.

(On Windows, this is usually at %APPDATA%\Claude\claude_desktop_config.json)

Add this to the mcpServers section:

{
  "mcpServers": {
    "IndiaStockExchange": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "fastmcp",
        "fastmcp",
        "run",
        "<file-path>\\main.py"
      ],
      "env": {}
    }
  }
}

Important: Replace <file-path> with the actual path where you saved this repository (e.g., C:\\Users\\yourname\\mcp-indian-stocks).


Related MCP server: NSE-BSE MCP Server

🛠️ Available Tools

  • get-market-news - Get the latest general market news.

  • get-news - Get specific Indian Stock Exchange news.

  • get-stock-details - Get comprehensive details for a specific stock.

  • get-stock-history - Get historical pricing data for a stock.

  • get-stock-price - Get the real-time stock price.

  • get-stock-recommendations - Get stock recommendations based on market trends.

  • get-top-gainers - Get a list of the top gaining stocks.

  • get-top-losers - Get a list of the top losing stocks.

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

  • F
    license
    -
    quality
    D
    maintenance
    Provides access to real-time and historical Indian stock data via Yahoo Finance API, enabling local LLMs to retrieve stock information through MCP-compatible agents like Claude Desktop and Cursor.
    Last updated
    2
  • A
    license
    -
    quality
    D
    maintenance
    Provides real-time and historical Indian stock market data from NSE and BSE exchanges with 66 tools covering quotes, options chains, corporate actions, IPOs, and market analytics for LLM-powered financial analysis.
    Last updated
    118
    11
    MIT
  • F
    license
    C
    quality
    D
    maintenance
    Enables access to comprehensive Indian stock market data from the NSE and BSE, including historical statistics, corporate actions, and IPO information. It also provides tools for mutual fund searches, analyst recommendations, and tracking market-active or trending stocks.
    Last updated
    16
  • A
    license
    -
    quality
    C
    maintenance
    Connects AI assistants to real-time Indian stock market data with 34 tools for search, screening, analysis, portfolio tracking, and market insights across all NSE and BSE stocks.
    Last updated
    102
    55
    MIT

View all related MCP servers

Related MCP Connectors

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/NagrajADesai/mcp-indian-stocks'

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