Upstox Market Data MCP Server
Click on "Install 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: Zerodha 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables LLMs to retrieve real-time stock and options market data through the E\*TRADE API using natural language. It features secure OAuth 1.0 authentication, persistent token management, and comprehensive support for stock quotes, options chains, and Greeks.Last updated1
- Flicense-qualityDmaintenanceEnables 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.Last updated1
- Alicense-qualityAmaintenanceMCP Server for Indian Options — Real-time option chains, Greeks, 34+ strategies, OI analysis, IV smile, Max Pain. Works with Claude Desktop. Replaces Sensibull.Last updated218MIT
- Flicense-qualityCmaintenanceEnables LLM agents to analyze portfolios and execute orders on the Indian stock market via Upstox API v2 using natural language.Last updated
Related MCP Connectors
Brazilian Open Finance MCP — 30+ banks (Itaú, Nubank, etc.) to Claude/Cursor. Read-only.
Global stock research, ML forecasts, valuation signals, screeners & portfolio tracking in Claude
Connect your XP account to AI via Brazil's Open Finance: balances, statements, cards, investments. R
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/najeebccj/upstox-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server