Overview
Upstox MCP Server 📈
A Model Context Protocol (MCP) server that integrates with the Upstox Trading API, allowing AI agents (Claude, Cursor, and custom MCP clients) to securely access Indian stock market data and account information in read-only mode.
🚀 Features
📊 Market Data
- Live quotes (LTP, OHLC, volume)
- Intraday candles (1m, 5m, 15m, 30m)
- Historical candles
- NSE & BSE support
📈 Technical Analysis
- RSI, EMA, SMA, MACD, VWAP
- Candlestick pattern detection
- Trend context (Bullish / Bearish / Sideways)
- Support & resistance levels
👤 Account Data (Read-Only)
- Profile details
- Funds & margin summary
- Holdings
- Open positions
🔒 Safety & Compliance
STRICTLY READ-ONLY MCP SERVER
- ❌ No order placement
- ❌ No order modification
- ❌ No fund transfers
Trading endpoints are intentionally excluded.
This project is not affiliated with Upstox.
▶️ Running the Server
Standard IO (Claude Desktop)
upstox-mcp
Server Config
{
"mcpServers": {
"upstox": {
"command": "upstox-mcp",
"env": {
"UPSTOX_API_KEY": "YOUR_API_KEY",
"UPSTOX_API_SECRET": "YOUR_API_SECRET",
"UPSTOX_ACCESS_TOKEN": "YOUR_ACCESS_TOKEN"
}
}
}
}