NepseAPI-Unofficial

surajrimal07/NepseAPI-Unofficial

3.3

If you are the rightful owner of NepseAPI-Unofficial and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The NEPSE API provides an unofficial service for accessing real-time market data from the Nepal Stock Exchange through various endpoints, including REST, WebSocket, and Model Context Protocol (MCP).

The NEPSE API is designed to offer real-time market data from the Nepal Stock Exchange (NEPSE) through a variety of interfaces, including REST, WebSocket, and Model Context Protocol (MCP). This API is intended for educational and research purposes, providing users with access to a wide range of market data, including price and volume information, market summaries, and company details. The API is built with FastAPI for the REST interface, supports real-time data streaming via WebSocket, and integrates AI capabilities through the MCP server. The MCP server allows AI models to query stock market data, making it a versatile tool for developers and researchers interested in financial data analysis. The project emphasizes legal and ethical use, with strict guidelines against commercial exploitation. It also includes features like input validation, endpoint-level caching, and rate limiting to ensure efficient and responsible use.

Features

  • Real-time market data access through REST, WebSocket, and MCP endpoints.
  • Comprehensive validation system for stock symbols and index names with intelligent suggestions.
  • AI integration via MCP for automated market analysis with over 20 tools.
  • Endpoint-level caching and HTTP caching for improved performance.
  • Containerized deployment with Docker and Docker Compose support.

Tools

  1. get_market_summary

    Get current market summary

  2. get_price_volume

    Get price and volume data

  3. get_live_market_data

    Get live market data

  4. get_top_gainers

    Get top gaining stocks

  5. get_top_losers

    Get top losing stocks