How to connect NSE with ChatGPT

Connect ChatGPT to NSE MCP. Show today’s nifty 50 index snapshot, list the latest nse market gainers, and more using natural language, with authentication handled for you.

NSE MCP logoNSE MCP
No Auth

NSE MCP is the official National Stock Exchange of India service for end-of-day market data. It provides structured quotes, index snapshots, movers, and corporate actions.

21 Tools

How to connect NSE MCP with ChatGPT

ChatGPT can take action across your apps and files, stay with a project for hours, and turn a goal into finished materials like sheets, slides, and docs, not just answers.

In this guide, I will explain the easiest and most secure way to connect your NSE account to ChatGPT via Composio Connect, so it can read quotes, compare market history, track index snapshots, find movers, and review corporate actions through natural language commands without ever putting your account credentials at risk.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate NSE MCP with

Why use Composio over default connectors?

  • Apps with read and write access. Default connectors mostly can read your data. Composio's NSE integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
  • 1,800+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
  • Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

Prerequisites

Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.

Step-by-step: Connect NSE to ChatGPT

1. Install the Composio plugin

Click the button. ChatGPT opens the Composio plugin page. Click Install plugin.

Install in ChatGPT

Composio plugin page in ChatGPT with the Install plugin button

You can also find it inside ChatGPT: go to Settings, open Plugins, search the marketplace for Composio, and click Install plugin.

2. Authenticate

After you install, ChatGPT asks you to authenticate with Composio. Log in and click Allow access to authorize ChatGPT to use your Composio account.

Composio login and Allow access screen for ChatGPT

3. Start using Composio

That is it. Composio tools are now available in ChatGPT. Type @Composio followed by your request, for example @Composio find unread NSE messages and summarize them, and it will run the actions you authorize. On first use it asks you to authorize NSE.

Option 2: Add Composio as an MCP server

If you cannot use the plugin marketplace, add Composio as a custom MCP server instead.

1. Open the MCP settings

In ChatGPT, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.

ChatGPT settings showing the Plugins page with the MCP tab selected

2. Add the server

Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
ChatGPT Add server dialog with the name Composio, type Streamable HTTP, and the Composio MCP URL

Then click Save. The Composio server now appears in your MCP plugins list.

ChatGPT Plugins page showing the Composio MCP server added to the list

3. Authenticate

Click Authenticate on the Composio entry, log in via Composio, and click Allow access. Composio tools are then available in ChatGPT the same way as with the plugin.

What you can do after connecting NSE

  • Show today’s NIFTY 50 index snapshot
  • List the latest NSE market gainers
  • Find stocks hitting new 52-week highs

Security + privacy notes (important)

  • Use least-privilege access: Only grant permissions you actually need.
  • Review OAuth permissions before approving: Make sure requested scopes match what you expect Composio and ChatGPT to do.
  • Keep write actions human-reviewed: For actions like sending messages, creating labels, or editing drafts, keep manual confirmation enabled.
  • Be careful with sensitive data: Avoid using this setup with highly sensitive information unless allowed by your personal, company, or client policies.
TOOLS

Supported Tools

Every NSE MCP action and event your agent gets out of the box.

Compare indices

Compare 2 to 10 NSE indices side by side over the same period: return, annualised volatility, maximum drawdown and current valuation (P/E, P/B, dividend yield).

Compare stocks

Compare multiple NSE stocks side-by-side over a time period.

Get 52 week high low

Get the 52-week high and low prices for an NSE stock.

Get bulk quote

Get the latest available price snapshot for multiple NSE stocks in one call.

Get corporate actions

Fetch actual NSE corporate action events for a stock directly from NSE India.

Get index history

Get daily history for an NSE index: open, high, low, close, points change, % change, volume, turnover (₹ Cr), P/E, P/B and dividend yield.

Get index movers

Get the top gaining and top losing NSE indices for a day or a period — useful for sector and theme rotation.

Get index performance

Get the price performance of one NSE index: 1-day change plus returns over 1 week, 1 month, 3 months, 6 months, 1 year and 2 years, and the 52-week high/low with dates and distance from each.

Get index snapshot

Get the end-of-day values of NSE indices on a specific date: open, high, low, close, points change, % change, volume, turnover (₹ Cr), P/E, P/B and dividend yield.

Get index valuation

Get the valuation ratios of an NSE equity index — P/E, P/B and dividend yield as published by NSE — and where today's value sits within its own recent range: min, max (with dates), median, mean and percentile.

Get ltp by date

Returns the last traded price (close price) for a given NSE symbol on a specific date.

Get market breadth

Get overall NSE market breadth for a trading date.

Get market mood

Get a factual read of NSE market mood for a day: India VIX level, its change over 1 day / 1 week / 1 month and where it sits in its recent range; how many equity indices rose vs fell; how many mainboard stocks advanced vs declined (when available); and the day's change in the main benchmarks.

Get stock history

Get daily OHLCV (Open, High, Low, Close, Volume) price history for an NSE stock.

Get stock vs index

Compare one NSE stock against a benchmark index over a period: return of each, outperformance in percentage points, beta and correlation.

Get top by volume

Get the top N most actively traded NSE stocks on a specific date, sorted descending.

Get top movers

Get the top N gaining or losing NSE stocks on a specific date.

Get volume analysis

Analyse trading volume trends for an NSE stock over N trading days.

Moving average

Calculates the simple moving average (SMA) of close prices for a stock over the last N trading days.

Nse lookup symbol

Look up NSE ticker symbols by partial name or keyword.

Search symbols

Search for NSE stock symbols by company name or partial symbol.

FRAMEWORKS

How to build NSE MCP Agent with another framework

FAQ

Frequently asked questions

Start with NSE MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every NSE MCP tool your agent needs.Free to start.

Start building