Skip to main content
Glama
najeebccj

Upstox Market Data MCP Server

by najeebccj

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 spot

  • get_option_contracts — list contracts/expiries for an underlying

  • get_market_quote — live LTP/OHLC/volume for one or more instrument keys

Related MCP server: Zerodha MCP Server

1. Get your credentials

  1. 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.)

  2. 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)

  1. Push this folder to a GitHub repo (or use Render's "Deploy from folder" if available).

  2. On render.comNew → Web Service → connect your repo.

  3. Runtime: Node. Build command: npm install. Start command: npm start.

  4. Under Environment, add:

    • UPSTOX_ANALYTICS_TOKEN = (your token from step 1)

    • MCP_SHARED_SECRET = (your invented password from step 1)

  5. Deploy. Render will give you a URL like https://your-app-name.onrender.com.

  6. Your MCP endpoint is: https://your-app-name.onrender.com/mcp

3. Connect it in ChatGPT

  1. Settings → Apps (or Plugins) → MCPs → Add server.

  2. Type: Streamable HTTP.

  3. URL: https://your-app-name.onrender.com/mcp

  4. Under 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)

  5. 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.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    -
    quality
    D
    maintenance
    Enables 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 updated
    1
  • F
    license
    -
    quality
    D
    maintenance
    Enables 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 updated
    1
  • A
    license
    -
    quality
    A
    maintenance
    MCP Server for Indian Options — Real-time option chains, Greeks, 34+ strategies, OI analysis, IV smile, Max Pain. Works with Claude Desktop. Replaces Sensibull.
    Last updated
    21
    8
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    Enables LLM agents to analyze portfolios and execute orders on the Indian stock market via Upstox API v2 using natural language.
    Last updated

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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