Skip to content

USE CASE · CHATGPT

How to use ChatGPT for Indian stock analysis

To use ChatGPT for Indian stock analysis with a dedicated data connection, connect a ChatGPT-style agent to DalalOS. It brings source-backed Indian-market data into the conversation so your analysis can rest on returned evidence rather than only model memory.

Built for AI-assisted research: you get data and analysis support, not investment advice.

Connect ChatGPT through Plugins

The verified ChatGPT web path is Plugins → Create Plugin. Choose Server URL, enter https://mcp.dalalos.in/mcp, select OAuth, and complete the DalalOS sign-in window. ChatGPT then discovers the 56 current capabilities. Market-data research is read-only; 2 account-scoped actions only manage your DalalOS watchlist. ChatGPT does not use an mcpServers JSON file for this web flow.

Build a repeatable tool-calling loop

01

Create the plugin

In ChatGPT on the web, open Plugins and choose Create Plugin.

02

Add URL + OAuth

Choose Server URL, enter https://mcp.dalalos.in/mcp, select OAuth, then complete the sign-in window.

03

Chain and audit

Start a new chat, select DalalOS, and ask it to name the tools it called alongside source and freshness context.

Useful patterns after connection

  • Start with stock search when the user gives a company name rather than a ticker.
  • Chain search → quote → financials → peers so each comparison is grounded in returned rows.
  • Ask the client to keep the source, freshness context and reported period beside important figures.
  • Use a structured table for peer output and leave unavailable fields unavailable rather than estimating them.
  • Use OAuth wherever it is offered. Keep an API key in the client's secret/config store only when that client explicitly requires one.

Prompts for an agent loop

EXAMPLE PROMPTS

  • Search for Maruti Suzuki, then use its quote and financials tools to produce a five-year revenue, margin and ROCE table with freshness.
  • Compare Nestlé India with two FMCG peers on PE, PB, ROE and D/E. Show which values are unavailable instead of estimating them.
  • Build a dated shareholding and promoter-pledge timeline for this company from the latest available quarters.
  • Find Nifty 50 companies with results due in the next two weeks and include the original event source for every row.

Debug the first request before debugging the answer

  • For ChatGPT, reconnect the plugin and complete OAuth if authorization no longer works. For an API-key-only client, a 401 usually means the header is missing, malformed, or still contains the placeholder.
  • If the key works but a field is absent, treat that as a data-availability result and do not ask the model to fill it from memory.
  • Ask for the tool response's source and freshness before asking for a narrative summary.
  • Treat the output as analysis support, confirm critical figures against the primary source, and make decisions independently.

Set it up via using ChatGPT-style agents with DalalOS, then explore building an AI agent for Indian stock research.

FAQ

Common questions

Can I use ChatGPT for Indian stock analysis?

Yes — when a ChatGPT-style agent is connected to DalalOS, it can call sourced Indian-market research capabilities and analyse the returned data. Without a data connection, the model may rely on memory or other available sources.

Will it tell me which stocks to buy?

DalalOS does not. DalalOS returns sourced facts and mechanically-computed measures, with no buy/sell calls, target prices or stock tips.

Is the data live?

Quote-style prices are end-of-day and other domains follow their publication cadence. Ask the client to surface the returned source and freshness context; DalalOS is not a real-time exchange feed.

What kind of analysis can it support?

Fundamental trends, valuation context, peer comparisons, ownership/pledge trends, filings, event calendars and market context — over the sourced facts and measures DalalOS supplies.

What should I check if the client returns 401?

For ChatGPT, reconnect the plugin and complete OAuth again. For an API-key-only client, check the Authorization Bearer header and key. Do not paste a real key into a public prompt or repository.

Connect your AI to Indian stock market data

Sign in to DalalOS and connect your AI in one line of config. Free to start.

KEEP EXPLORING