Upstox Market Data MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Upstox Market Data MCP ServerShow option chain analysis for NIFTY"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Upstox Market Data MCP Server
A small MCP server that gives ChatGPT (or Claude) live access to Upstox option chain / OI data, market quotes, and option contracts — read-only, using your Upstox Analytics Token.
Tools exposed
get_option_chain— raw option chain (OI, volume, LTP, IV per strike)get_option_chain_analysis— computed PCR, max-pain strike, support/resistance from OI, strikes near spotget_option_contracts— list contracts/expiries for an underlyingget_market_quote— live LTP/OHLC/volume for one or more instrument keys
Related MCP server: upstox-mcp-server
1. Get your credentials
In Upstox → Apps → My Apps → Analytics tab → Generate Token. Copy it. (This is your
UPSTOX_ANALYTICS_TOKEN— valid 1 year, read-only, no daily re-login.)Invent a password for
MCP_SHARED_SECRET— anything long and random. This is NOT your Upstox token; it's a separate secret that protects this server from strangers on the internet, since it will be running on a public URL.
2. Deploy (Render, free tier)
Push this folder to a GitHub repo (or use Render's "Deploy from folder" if available).
On render.com → New → Web Service → connect your repo.
Runtime: Node. Build command:
npm install. Start command:npm start.Under Environment, add:
UPSTOX_ANALYTICS_TOKEN= (your token from step 1)MCP_SHARED_SECRET= (your invented password from step 1)
Deploy. Render will give you a URL like
https://your-app-name.onrender.com.Your MCP endpoint is:
https://your-app-name.onrender.com/mcp
3. Connect it in ChatGPT
Settings → Apps (or Plugins) → MCPs → Add server.
Type: Streamable HTTP.
URL:
https://your-app-name.onrender.com/mcpUnder headers (or "Bearer token"), set:
Authorization: Bearer <your MCP_SHARED_SECRET>(some ChatGPT UIs have a dedicated "Bearer token" field — put the secret there instead)Save. It should scan and list the 4 tools above.
Notes
This uses your Analytics Token, which is read-only — it cannot place, modify, or cancel orders.
Free Render tiers spin down when idle; the first call after inactivity may take ~30-60s to wake up.
PCR, max-pain, and OI buildup are positioning heuristics, not statistical probabilities — treat them as one input alongside your existing indicators (EMA/VWAP/SuperTrend/RSI etc.), not a standalone signal.
This server cannot be deployed
Maintenance
Related MCP Connectors
Options analytics for AI assistants: chains, IV rank, VRP, Greeks, GEX, expected moves, screeners.
Brazilian Open Finance MCP — 30+ banks (Itaú, Nubank, etc.) to Claude/Cursor. Read-only.
Connect Claude, ChatGPT, Gemini or Grok to your broker: live charts, backtests and trades
Connect your portfolio to Claude, ChatGPT, or Codex to analyze it and make smarter investments.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables natural language access to Zerodha trading accounts for retrieving portfolio holdings, positions, orders, funds, and real-time market prices. Supports secure authentication for Indian stock market trading operations via Claude, Cursor, and other MCP-compatible AI tools.1-
- FlicenseNot gradedqualityCmaintenanceEnables LLM agents to analyze portfolios and execute orders on the Indian stock market via Upstox API v2 using natural language.-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with the Upstox trading API via natural language to fetch user profile, funds, holdings, positions, orders, and trades.-
- FlicenseNot gradedqualityDmaintenanceEnables natural language trading on Zerodha via Claude, providing tools for market data, orders, positions, and GTTs through the Kite Connect API.-