Skip to main content
Feature Guides·Beginner·4 min readPro

Connecting Claude to aftermarkets

Give Claude, ChatGPT, or Cursor direct access to live Indian market data. Get an API key, connect your AI client, and run your first research query in under five minutes.

What this is

If you have ever asked Claude or ChatGPT about an Indian stock, you have probably seen the problem: the numbers are stale, or simply made up. The model was trained months ago and has no live connection to NSE or BSE.

aftermarkets fixes this with an MCP server. MCP (Model Context Protocol) is an open standard that lets AI assistants call real data sources. Once connected, your assistant can pull live prices, fundamentals, conviction scores, filings, deals, FII/DII flows, and your own watchlist and portfolio, then reason over all of it in one conversation.

In practice it means you can type "Research RELIANCE" into Claude and get a full workup built from actual market data, with 33 tools available behind the scenes covering research, screening, signals, events, mutual funds, and portfolio intelligence.

Setup

  1. Create your API key

    Go to the Developer dashboard, sign in, and click Create API Key. Give it a name you will recognise later (for example "Claude Desktop").

    The full key starts with am_live_ and is shown only once, at the moment you create it. Copy it somewhere safe immediately. If you lose it, just deactivate that key and create a new one.

  2. Connect Claude Desktop (the easiest path)

    On the setup page, download the aftermarkets Desktop Extension and open it with Claude Desktop.

    Claude may show a generic warning about local extensions and say the connector needs configuration. That is expected: click Configure, paste your full am_live_ key, enable the extension, and restart Claude. Done.

  3. Or connect another client

    The same setup page has ready-made configs for every major client. Paste your key into the field at the top and the configs fill themselves in:

    • Claude Code is a single terminal command
    • Cursor, Windsurf, VS Code, Zed, Gemini CLI get a small JSON snippet for their MCP settings
    • ChatGPT takes the server address under Settings, then Connectors
    • claude.ai and other OAuth-capable clients can skip the API key entirely: add https://mcp.aftermarkets.in/mcp as a connector and sign in with your aftermarkets account

    Not sure where a config file lives? The setup page also has a copy-paste setup prompt: hand it to Claude Code or Cursor and let the agent configure itself.

  4. Run your first query

    Restart your client, then ask:

    • "Give me my morning briefing"
    • "Research RELIANCE"
    • "How is my portfolio doing?"

    If the assistant starts pulling real prices, conviction bands, and filings, you are connected.

What the connection can and cannot do

It can: read live and end-of-day market data, run screens, detect signals, pull conviction scores and AI narratives, read filings and deals, review your portfolio and watchlist, and manage your watchlists and alerts when you ask it to.

It cannot: place trades, access your broker account, see your payment details, or act without you prompting it. It is a research connection, not an execution connection.

One more honest note: conviction scores, checklists, and signals are inputs for your own judgement, not recommendations. The assistant will present them the same way. Nothing it returns is investment advice.

Where to go next

This guide got you connected. The rest of the series covers the four workflows investors actually run through Claude:

Frequently asked

Do I need a paid plan to connect an AI assistant?
Yes. Creating an aftermarkets API key requires a Pro or Max plan. The AI chat built into the website has a free tier, but connecting external assistants like Claude Desktop or ChatGPT is a paid feature.
Is my API key safe to paste into an AI client?
The key grants access to market data plus your own watchlists and alerts. It cannot place trades, touch your broker account, or change your subscription. Still treat it like a password: keep it out of shared documents, and deactivate it from the Developer dashboard if it ever leaks.
Which AI assistants work with this?
Any client that supports MCP. That includes Claude Desktop, Claude Code, claude.ai, ChatGPT, Cursor, Windsurf, VS Code, Zed, Codex, and Gemini CLI.
Was this guide helpful?

Related guides