indian-stocks-mcp — Claude Code MCP server: what it does
indian-stocks-mcp connects Claude Code to 6+ years of minute-level Indian market data and runs strategy backtests with local regulatory costs.
MIT 550 installs ★ 4 updated 2026-05-25
claude mcp add --transport http indian-stocks-mcp https://indian-stocks-mcp--vishalmdi.run.toolsWhat indian-stocks-mcp does
The server provides direct access to over 187M minute-level OHLCV candles covering 136 NSE index series and 117 NIFTY 100 equities. The underlying database refreshes twice every week, specifically on Mondays and Thursdays. All recorded timestamps use the Asia/Kolkata time zone.
Built-in backtesting covers eight distinct logic models, such as moving average crossovers, breakout levels, and Bollinger Bands. Simulations calculate realistic performance by factoring in Indian transaction expenses, including STT, brokerage fees, SEBI charges, and slippage. You can also evaluate up to ten rule sets side by side.
Every exposed tool is strictly read-only. The server returns raw market candles and backtest statistics, so executing live orders on an exchange remains entirely out of scope.
What it helps with
- fetch granular OHLCV candles for NIFTY 100 equities and NSE indices
- backtest trading setups with realistic Indian exchange taxes and slippage
- compare metrics across multiple parameter combinations side by side
- analyze historical intraday price action during major macro events
Example prompts for the agent
- Run an EMA crossover backtest on 1-minute
INFYcandles for 2023 with trading costs included. - Fetch 15-minute price bars for
NIFTY BANKduring the first week of March 2020. - Rank five different SMA window settings on
RELIANCEby their profit factor and drawdown.
How to install indian-stocks-mcp
Platform CLI: remote server
claude mcp add --transport http indian-stocks-mcp https://indian-stocks-mcp--vishalmdi.run.toolsPlatform CLI: remote server
codex mcp add indian-stocks-mcp --url https://indian-stocks-mcp--vishalmdi.run.toolsConfig file
{
"mcpServers": {
"indian-stocks-mcp": {
"url": "https://indian-stocks-mcp--vishalmdi.run.tools"
}
}
}Config file
{
"servers": {
"indian-stocks-mcp": {
"type": "http",
"url": "https://indian-stocks-mcp--vishalmdi.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http indian-stocks-mcp https://indian-stocks-mcp--vishalmdi.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about indian-stocks-mcp
How do I install indian-stocks-mcp in Claude Code?
Run claude mcp add --transport http indian-stocks-mcp https://indian-stocks-mcp--vishalmdi.run.tools in your terminal.
What does indian-stocks-mcp do?
It equips your AI client with historical minute-by-minute Indian market data and an algorithmic backtesting engine. You can inspect past price action or calculate performance metrics directly inside a conversation.
Can this server execute live trades with a broker?
No, all available tools are read-only. It processes historical datasets and backtest simulations without any portfolio management or brokerage order routing.