Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Indian Stocks

FreeNot checked

Enables real-time and historical Indian stock market data retrieval, including prices, news, recommendations, and top gainers/losers.

GitHubEmbed

About

Enables real-time and historical Indian stock market data retrieval, including prices, news, recommendations, and top gainers/losers.

README

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).


🛠️ 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.

from github.com/NagrajADesai/mcp-indian-stocks

Installing Indian Stocks

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/NagrajADesai/mcp-indian-stocks

FAQ

Is Indian Stocks MCP free?

Yes, Indian Stocks MCP is free — one-click install via Unyly at no cost.

Does Indian Stocks need an API key?

No, Indian Stocks runs without API keys or environment variables.

Is Indian Stocks hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Indian Stocks in Claude Desktop, Claude Code or Cursor?

Open Indian Stocks on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Indian Stocks with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs