surajrimal07/NepseAPI-Unofficial
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
get_market_summary
Get current market summary
get_price_volume
Get price and volume data
get_live_market_data
Get live market data
get_top_gainers
Get top gaining stocks
get_top_losers
Get top losing stocks