Skip to main content
Glama
BACH-AI-Tools

Indian Stock Exchange API2 MCP Server

historical_stats

Retrieve historical stock statistics like quarterly results for Indian companies listed on NSE and BSE to analyze performance trends.

Instructions

  • Endpoint: /historical_stats - Method: GET - Query Parameters: - stock_name (required): string - stats (required): string - Description: Retrieve historical statistics for a specific stock. - Example Request: http GET /historical_stats?stock_name=TATAMOTORS\u0026stats=quarter_results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stock_nameYesExample value: TCS
statsNoExample value:

Implementation Reference

  • server.py:56-61 (registration)
    The tool "historical_stats" is automatically registered by FastMCP.from_openapi based on the OpenAPI specification provided in the OPENAPI_SPEC constant.
    mcp = FastMCP.from_openapi(
        openapi_spec=openapi_dict,
        client=client,
        name="indian_stock_exchange_api2",
        version=__version__
    )

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/BACH-AI-Tools/bach-indian_stock_exchange_api2'

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