NSE Ticker MCP Server

by sougatabh

Not rated
GitHub

About

Provides access to National Stock Exchange (NSE) data using the Upstox API.

Details

Author
sougatabh
Categories
Database, Finance, API, Other

Setup

Install NSE Ticker MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/sougatabh/nse-ticker-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

Provides access to National Stock Exchange (NSE) data using the Upstox API.

A Model Context Protocol (MCP) server that provides access to National Stock Exchange (NSE) data through Upstox API.

The server exposes the following tools through the Model Context Protocol:

- Real-time NSE stock data access
- Multiple time intervals support (minute, 30minute, day, week, month)
- Error handling and data validation
- Historical price data with customizable date ranges

- Python 3.11 or higher
- Dependencies (specified in pyproject.toml):

- mcp
- pandas
- httpx
- pydantic

git clone https://github.com/sougatabh/nse-ticker-mcp.git cd nse-ticker-mcp

- Create and activate a virtual environment:

python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
{ "mcpServers": { "nse-ticker": { "command": "python", "args": [ "--directory", "/ABSOLUTE/PATH/TO/nse-ticker-mcp", "ticker.py" ] } } }
# Get historical data for HDFC Bank response = await get_historical_candle( symbol="HDFCBANK", from_date="2024-01-01", to_date="2024-03-31", interval="day" )

- minute- 1-minute candles
- 30minute- 30-minute candles
- day- Daily candles
- week- Weekly candles
- month- Monthly candles

The server provides detailed error messages for:

- Invalid symbols
- Connection issues
- API errors
- Data validation failures
- Date format issues

Stock symbols and instrument keys are configured in:
- Fork the repository
- Create your feature branch
- Submit a pull request

Provides real-time financial market data using the Alpha Vantage API.

A stock market data service for querying A-share market data from Sina and Tencent Finance.

Perform financial analysis using the DART API and Claude.

Funding rounds, acquisitions & exec moves — deduped, enriched, typed. Query over REST, stream over webhooks, or hand to your agent over MCP. 50 free credits.

Access financial datasets from the Federal Reserve Economic Data (FRED) API.

Provides real-time financial data using the Tushare API.

Provides real-time financial data from Yahoo Finance.

Access US Treasury data via the Fiscal Data API to fetch statements, historical data, and generate reports.

Real-time forex macroeconomic API for all major currency pairs sourced from central bank announcements.

Retrieve and process economic data from the International Monetary Fund (IMF) API, including datasets, time series, indicators, and countries.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.