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

# Connect OpenCode to the Indian stock market

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

## 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 OpenCode

Add a remote MCP server to OpenCode.

1. Merge the configuration below into opencode.json, or use opencode mcp add and choose Remote.

   opencode.json:

   ```json
   {
     "$schema": "https://opencode.ai/config.json",
     "mcp": {
       "tapetide": {
         "type": "remote",
         "url": "https://mcp.tapetide.com/mcp",
         "enabled": true
       }
     }
   }
   ```

2. Authenticate Tapetide in OpenCode’s MCP controls and complete Google sign-in.
3. Ask OpenCode 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.

## What to ask OpenCode 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 OpenCode need an API token for Tapetide?

No. OpenCode 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 OpenCode 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)
- [Codex](https://tapetide.com/mcp/codex)
- [Gemini CLI](https://tapetide.com/mcp/gemini-cli)
- [Cline](https://tapetide.com/mcp/cline)
- [Command Code](https://tapetide.com/mcp/commandcode)

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