indian-markets-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@indian-markets-mcpGet the NSE end-of-day quote for Infosys"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
indian-markets-mcp
An MCP server exposing Indian market and regulatory data from official, openly published sources — NSE's bhavcopy archive, NIFTY Indices constituent files, AMFI's industry NAV file, and a local SEBI enforcement-order corpus.
Built against MCP Python SDK v2 (mcp >= 2.0.0).
Why this one exists
There are already several Indian-market MCP servers (see
docs/SURVEY.md for the full landscape review). Almost all of
them wrap either yfinance or a paid third-party API, and they compete on live
quote coverage.
This server deliberately does not compete there. It covers what the others do not: official primary sources with a clean terms position, plus regulatory data. Where a source will not permit automated access, this server says so and omits the tool rather than working around the block.
Related MCP server: mftool-mcp
What it does and does not cover
Tool | Source | Status |
| NSE bhavcopy archive | Working — end-of-day only |
| NSE bhavcopy archive | Working — capped at 120 days |
| static list | Working |
| niftyindices.com CSV | Working — no weights |
| AMFI | Working — ~14,200 schemes |
| AMFI | Working |
| mfapi.in | Working |
| local corpus | Working — 25-order sample |
Deliberately not implemented, with reasons:
Live/intraday quotes.
nseindia.com/api/quote-equityreturns403 Access Deniedto non-browser clients (verified 2026-08-06). Reaching it means forging browser headers to defeat an access control the exchange put there on purpose. Not done.Index constituent weights. NSE publishes weights only in factsheet PDFs and a paid data product. The free constituent CSVs carry no weight column, so the tool reports
weights_available: falserather than estimating.Corporate actions (dividends, splits, bonuses). The spec asked for these. No free source was found that serves them to an automated client under terms that permit it — NSE's corporate-actions endpoint sits behind the same 403. Not implemented rather than half-implemented. See docs/SOURCES.md.
Install
Not yet published to PyPI. From a checkout:
git clone https://github.com/siddharthgaur1/indian-markets-mcp
cd indian-markets-mcp
python -m venv .venv && .venv/bin/pip install -e .Claude Desktop configuration
{
"mcpServers": {
"indian-markets": {
"command": "/absolute/path/to/indian-markets-mcp/.venv/bin/indian-markets-mcp"
}
}
}On Windows use .venv\\Scripts\\indian-markets-mcp.exe.
The SEBI tool additionally needs a corpus; point it at one with:
"env": { "INDIAN_MARKETS_MCP_SEBI_DB": "/path/to/sebi_orders.db" }Every other tool works with no API keys and no configuration.
Behaviour guarantees
No fabricated data. A dead upstream raises a clear error. Missing values stay
null; they are never coerced to zero.Caching. On-disk SQLite at
~/.cache/indian-markets-mcp/. Settled bhavcopies are cached permanently because they are immutable.Rate limiting. One-second minimum interval per host, enforced centrally, with exponential backoff. Not left to the caller.
Stale-cache fallback. If an upstream is down and a stale cached copy exists, it is served rather than failing — and never presented as live.
Tests
.venv/bin/pytest # offline tests only (default)
.venv/bin/pytest -m live # additionally hits real upstream sourcesNetwork-dependent tests are marked live and deselected by default, so CI does
not depend on NSE being reachable.
Licence
MIT. Data served by this tool belongs to its publishers (NSE, NIFTY Indices, AMFI, SEBI) and is subject to their terms — see docs/SOURCES.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceAn MCP server that provides comprehensive Indian stock market data from the NSE and BSE, including live quotes, historical trends, and fundamental analysis. Users can compare stock performance, track major indices, and access financial statements without the need for an API key.Last updated2MIT
- AlicenseAqualityCmaintenanceMCP Server for publicly available real-time Indian Mutual Funds dataLast updated127MIT
- AlicenseAqualityBmaintenanceMCP server for Indian stock market data. Provides 16 tools for quotes, history, fundamentals, mutual funds, indices, corporate actions, options, IPOs, and portfolio analysis.Last updated16615MIT
- Alicense-qualityBmaintenanceMCP server that provides access to screener.in financial data for Indian stocks, enabling queries for company info, financials, ratios, quarterly results, shareholding, and stock screening.Last updatedMIT
Related MCP Connectors
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
MFAPI.in MCP — Indian mutual-fund NAV (net asset value) data.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/siddharthgaur1/indian-markets-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server