Motilal Oswal
Quantplay
Claude, ChatGPT

Connect Motilal Oswal to Claude, ChatGPT and any AI agent

Ask for positions, option chains and P&L, or let your agent place orders. Your stoploss and target run on Quantplay's servers, and no agent can change your kill switch.

7 days free, then ₹700 a month per broker account

What you need

  • Your Motilal Oswal user ID and password
  • A Motilal API key and TOTP key
  • Your date of birth (the 2FA)

Where to find them

API key and TOTP key
Create an API key on the Motilal Oswal Trading API page. The TOTP key is on the same page.
2FA
Your date of birth, as dd/mm/yyyy.

Set up in 4 steps

In short: To connect Motilal Oswal to ChatGPT or Claude, add a Motilal API key, your password, 2FA and TOTP key to Quantplay, add your Quantplay IP in your Motilal Oswal API settings, then add https://mcp.quantplay.tech/mcp as a custom connector in ChatGPT or Claude and sign in to Quantplay. For read-only access, use https://mcp.quantplay.tech/mcp/readonly instead.

  1. 1

    Get your Motilal Oswal API details

    Create the details listed above in the Motilal Oswal API.

    Open Motilal Oswal API

    Set your Motilal Oswal API app's redirect URL to

    https://connect.quantplay.tech/token/<your Motilal Oswal user ID>

  2. 2

    Add Motilal Oswal to Quantplay

    Create a free Quantplay account, click Add account, choose Motilal Oswal and enter those details.

  3. 3

    Add your Quantplay IP to Motilal Oswal

    Quantplay gives your account its own fixed IP. Add it as the allowed IP in your Motilal Oswal API settings, since brokers reject API orders from other IPs.

  4. 4

    Connect Claude or ChatGPT

    Paste the URL below into your AI app as a custom connector (in Claude: Settings → Connectors; in ChatGPT: Settings → Apps → Developer mode). Sign in to Quantplay and choose whether the agent may place orders.

    https:/​/​mcp.quantplay.tech/​mcp

    Read-only, can't place orders: https://mcp.quantplay.tech/mcp/readonly

    Step-by-step for each AI app

Then just ask

Set a ₹5,000 stoploss and ₹12,000 target on my Motilal Oswal account

Done. If your Motilal Oswal P&L reaches −₹5,000 or +₹12,000, Quantplay squares off every open position on the account.

  • “Show my Motilal Oswal positions and today's P&L”
  • “How much margin is free on my Motilal Oswal account?”
  • “Show the NIFTY option chain around ATM for this expiry”

Questions

Can Claude or ChatGPT trade on my Motilal Oswal account?

Yes, through Quantplay. Your agent can read positions, holdings, orders, margins and option chains, and place, cancel or square off orders if you allow trading when you connect it. Placing orders and setting limits need a paid plan; the 7-day free trial includes them.

Can I connect without letting the agent trade?

Yes. Leave trading off when you approve the connection, or use the read-only URL https://mcp.quantplay.tech/mcp/readonly, which can't place orders at all.

What limits an agent's losses on my Motilal Oswal account?

Stoploss, target and trailing stoploss are set per account and run on Quantplay's servers. When one is hit, Quantplay squares off all open positions on that account, whether you or the agent placed them. They exit after a limit is crossed; they don't block orders. Your kill switch is the floor: no agent can change it, and no one can change it during market hours.

Which AI apps work with it?

Claude, ChatGPT, Grok, Muse, Claude Code, Codex, Cursor and any app that supports remote MCP servers, the standard AI apps use to connect to outside tools.

How much does it cost?

7 days free, then ₹700 a month for each connected broker account. No card needed to start, and you can cancel any time.

Connect Motilal Oswal to your AI agent.

7 days free, then ₹700 a month per broker account.

Start free trial

Other brokers