---
title: "Indian stock market data in Gemini CLI: connect the eqdoc MCP server | eqdoc"
description: "Add eqdoc to Gemini CLI's settings.json, then sign in with /mcp auth eqdoc. Indian stock data, end of day."
url: "https://eqdoc.com/mcp/gemini-cli"
---

# Indian stock market data in Gemini CLI: connect the eqdoc MCP server

Add eqdoc to Gemini CLI's settings.json, then sign in with /mcp auth eqdoc.

Server URL: `https://mcp.eqdoc.com/mcp`

Free for every signed-in eqdoc reader until 15 January 2027, 23:59:59 IST; from then on, eqdoc Pro.

## Set up eqdoc in Gemini CLI

1. **Add eqdoc to settings.json.** Add eqdoc to ~/.gemini/settings.json. If the file already has an mcpServers block, add the eqdoc entry inside it.

   ```
   { "mcpServers": { "eqdoc": { "httpUrl": "https://mcp.eqdoc.com/mcp" } } }
   ```
2. **Sign in.** Start Gemini CLI and sign in with /mcp auth eqdoc. A browser window opens for your eqdoc account; approve access there.

## Good to know

- The server URL is https://mcp.eqdoc.com/mcp.
- Sign in with your eqdoc account (OAuth). Your assistant gets access to eqdoc's data tools only; it never sees your eqdoc sign-in.
- Menu names change now and then. If yours differ, look for the setting that adds a custom or remote MCP server, and use the server URL above.
- Prices and indicators are end of day: as of the last close, never live.
- To disconnect: in Gemini CLI, delete the eqdoc entry from the config file.

## Questions to try in Gemini CLI

- Which sectors did FPIs sell most in the last month?
- How did the Nifty move after the last repo rate cut?
- Show the largest cement companies.

## Other apps

[Claude](https://eqdoc.com/mcp/claude), [ChatGPT](https://eqdoc.com/mcp/chatgpt), [Claude Code](https://eqdoc.com/mcp/claude-code), [Cursor](https://eqdoc.com/mcp/cursor), [VS Code](https://eqdoc.com/mcp/vscode), [Codex](https://eqdoc.com/mcp/codex), [Antigravity](https://eqdoc.com/mcp/antigravity), [Perplexity](https://eqdoc.com/mcp/perplexity).

[Everything eqdoc's MCP can look up](https://eqdoc.com/mcp/tools), [limits](https://eqdoc.com/mcp/docs/limits) and [the FAQ](https://eqdoc.com/mcp/docs/faq).

## Main sections

- [Home: ask the research desk](https://eqdoc.com/)
- [Stock screener](https://eqdoc.com/screener)
- [EqScore](https://eqdoc.com/eqscore)
- [Exchange filings](https://eqdoc.com/filings)
- [Results calendar](https://eqdoc.com/results-calendar)
- [Bulk and block deals](https://eqdoc.com/deals)
- [Stocks: the largest companies and A to Z](https://eqdoc.com/stocks)
- [Sectors](https://eqdoc.com/sectors)
- [Sector reading guides](https://eqdoc.com/guides)
- [Pricing](https://eqdoc.com/pricing)
- [Accuracy and verification](https://eqdoc.com/accuracy)
- [About eqdoc](https://eqdoc.com/about)
- [MCP server for AI tools](https://eqdoc.com/mcp)
- [Contact](https://eqdoc.com/contact)
