---
title: "Connect Codex to the Indian stock market"
canonical: "https://tapetide.com/mcp/codex"
client: "Codex"
auth: "Google OAuth"
generated_at: "2026-10-09T18:22:51.239Z"
---

# Connect Codex to the Indian stock market

Step-by-step guide to adding the Tapetide MCP server to Codex with Google sign-in. Research NSE and BSE stocks, screen with 326 ratios, and track FII/DII flows from Codex.

## Connection details

- Server URL: https://mcp.tapetide.com/mcp
- Access: Google sign-in or a personal token
- Free plan: 50 successful tool calls a day, up to 1,000 a month
- Coverage: about 8,200 NSE and BSE stocks, 55 tools

## How to connect Codex

Add the server and sign in with the Codex CLI.

1. Run these commands in your terminal.

   Terminal commands:

   ```bash
   codex mcp add tapetide --url https://mcp.tapetide.com/mcp
   codex mcp login tapetide
   ```

2. Complete Google sign-in, then check Tapetide in /mcp.
3. Ask Codex a first question to confirm the connection.
   Prompt: "Use Tapetide to show Reliance’s latest price and when it was updated."
   Expected: a price with a timestamp.

Codex MCP documentation: https://developers.openai.com/codex/mcp

## What to ask Codex about Indian stocks

- **Compare:** Compare HDFC Bank and ICICI Bank on profit growth, ROE and valuation.
- **Screen:** Find NSE companies with ROCE above 20%, sales growth above 15% and low debt.
- **Flows:** Show this month’s daily FII and DII flows. Is domestic buying offsetting foreign selling?
- **Options:** Show the NIFTY option chain with open interest by strike and the snapshot date.
- **Filings:** Summarise Reliance’s latest earnings call and list the risks management discussed.
- **Risk:** Explain Tata Motors’ Tapetide Score, promoter pledges and recent credit-rating actions.

Full tool reference: https://tapetide.com/mcp/llms-full.txt

## Common questions

### Does Codex need an API token for Tapetide?

No. Codex connects to the Tapetide MCP server over OAuth, so you sign in with Google when the browser opens. A personal token is only needed for clients that cannot open a browser.

### What can I ask Codex once Tapetide is connected?

Anything about the roughly 8,200 NSE and BSE stocks: compare companies on financials and ratios, screen with 326 fundamental filters or live technical indicators, pull FII/DII flows, inspect option chains and read parsed filings. One question may call several tools.

### Is Tapetide an NSE MCP server?

Yes. Tapetide works as an NSE MCP server and a BSE MCP server through one connection. It covers around 8,200 companies listed on either exchange, including small caps and SME listings, plus NSE indices such as Nifty 50 and Bank Nifty. Search by company name, symbol, BSE code or ISIN.

### Is the data real time?

Not as a live trading feed; freshness depends on the dataset. Quotes reflect the latest available prices; financials and ownership data follow their reporting periods. Index option chains are end-of-day snapshots. Ask your assistant to include the observation date or reporting period, especially when comparing datasets.

## Setup guides for other clients

**Chat apps**

- [Claude.ai](https://tapetide.com/mcp/claude-ai)
- [ChatGPT](https://tapetide.com/mcp/chatgpt)
- [Grok](https://tapetide.com/mcp/grok)
- [Claude Desktop](https://tapetide.com/mcp/claude-desktop)

**Code editors**

- [Cursor](https://tapetide.com/mcp/cursor)
- [VS Code](https://tapetide.com/mcp/vscode)
- [Windsurf](https://tapetide.com/mcp/windsurf)
- [Zed](https://tapetide.com/mcp/zed)
- [Kiro](https://tapetide.com/mcp/kiro)
- [Antigravity](https://tapetide.com/mcp/antigravity)

**Agents and CLIs**

- [Claude Code](https://tapetide.com/mcp/claude-code)
- [Gemini CLI](https://tapetide.com/mcp/gemini-cli)
- [Cline](https://tapetide.com/mcp/cline)
- [OpenCode](https://tapetide.com/mcp/opencode)
- [Command Code](https://tapetide.com/mcp/commandcode)

Product overview: https://tapetide.com/mcp
Agent quick-start: https://tapetide.com/mcp/llms.txt
