Upstox MCP Server

The **Official-style Upstox MCP Server** provides a high-performance **Model Context Protocol (MCP)** integration for the **Upstox Trading API**. It

Local serverstdioPython

What is the Upstox MCP server?

Upstox MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. The Official-style Upstox MCP Server provides a high-performance Model Context Protocol (MCP) integration for the Upstox Trading API. It enables AI agents like Claude Desktop, Cursor IDE, and custom LLM applications to.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What the assistant can call

Once Upstox is connected, these are the calls the assistant has available:

  • Visithttps://api.upstox.com/
  • Category — Tool Name
  • Market — market_get_live_quote
  • Analysis — analysis_calculate_rsi
  • Account — account_get_summary
  • Prerequisites — The Prerequisites tool exposed by this server
  • get_live_quote — The get_live_quote tool exposed by this server
  • get_intraday_candles — The get_intraday_candles tool exposed by this server
  • get_technical_analysis — The get_technical_analysis tool exposed by this server
  • Documentation — The Documentation tool exposed by this server
  • Community — The Community tool exposed by this server

Configuration and credentials

You will need 6 environment variables: UPSTOX_ACCESS_TOKEN, YOUR_API_KEY, YOUR_API_SECRET, YOUR_ACCESS_TOKEN, UPSTOX_API_KEY, UPSTOX_API_SECRET. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.10 or higher - Upstox Trading Account - Upstox API credentials

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Upstox.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the upstox mcp server does with a few real requests.

Choosing this one

This sits in the knowledge and memory group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Upstox's toolset — Visit, Category, Market and 8 more — is a fair guide to whether it matches your workflow. It is maintained by ravikant1918; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Upstox's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
Visithttps://api.upstox.com/
CategoryTool Name
Marketmarket_get_live_quote
Analysisanalysis_calculate_rsi
Accountaccount_get_summary
PrerequisitesThe Prerequisites tool exposed by this server.
get_live_quoteThe get_live_quote tool exposed by this server.
get_intraday_candlesThe get_intraday_candles tool exposed by this server.
get_technical_analysisThe get_technical_analysis tool exposed by this server.
DocumentationThe Documentation tool exposed by this server.
CommunityThe Community tool exposed by this server.

How to install the Upstox MCP server

{
  "mcpServers": {
    "Upstox-Remote": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp-server-upstox.onrender.com/mcp",
        "--header", "X-Upstox-API-Key:YOUR_API_KEY",
        "--header", "X-Upstox-API-Secret:YOUR_API_SECRET",
        "--header", "X-Upstox-Access-Token:YOUR_ACCESS_TOKEN"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.10 or higher - Upstox Trading Account - Upstox API credentials
VariableDescriptionRequired
UPSTOX_ACCESS_TOKENCredential the server authenticates with.Yes
YOUR_API_KEYCredential the server authenticates with.Yes
YOUR_API_SECRETCredential the server authenticates with.Yes
YOUR_ACCESS_TOKENCredential the server authenticates with.Yes
UPSTOX_API_KEYCredential the server authenticates with.Yes
UPSTOX_API_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Upstox to Visit.
  • Use Upstox to Category.
  • Use Upstox to Market.

Frequently asked questions

It connects Upstox to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (Visit, Category, Market, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Upstox directly.