
India Stock Mcp
io.github.Akhilgovind02由 GitHub 账号 Akhilgovind02 发布v1.0.1更新于 Nov 3, 2026
Indian stock market: NSE/BSE quotes, fundamentals, mutual fund NAV, F&O chains, IPOs. No API keys.
概览
本地 MCP 服务器,让助手获取印度股市数据:NSE/BSE 行情、基本面、基金净值、期权链与 IPO。
- 可以做什么
- 查询 NSE/BSE 股票与指数的实时行情、52 周区间、历史 OHLCV 和开市状态
- 按公司名搜索代码,并排比较 2–5 只股票的基本面
- 查看指数指标、NIFTY 50 涨跌幅榜,以及分红、拆股等公司行动
- 查看平值附近的 F&O 期权链,列出当前或即将上市的 IPO
- 搜索 1.5 万只以上印度共同基金,获取净值历史与详情,并按区间比较基金
- 根据持仓汇总组合的当前市值、盈亏与配置比例
- 适用场景
- 适合让助手回答印度股票、指数、衍生品或共同基金相关问题,或分析你提供的持仓组合,而无需注册数据服务商。
- 运行要求
- 通过 npx 或源码在本地以 stdio 运行,需要 Node.js 22 或更高版本。未声明任何 API 密钥、账号或环境变量。需要联网访问免费公开数据源(Yahoo Finance、NSE、mfapi.in)。
安装
在 SourceWeft 中
- 打开 控制台中的 India Stock Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
india-stock-mcp
MCP server for Indian stock market data — NSE/BSE quotes, historical prices, fundamentals, mutual fund NAV, indices, corporate actions, F&O option chains, IPOs, and portfolio analysis.
Works with any MCP client: Claude Desktop, Claude Code, Cursor, etc. No API keys, no auth, all free data sources.
Tools (16)
Requirements
- Node.js 22+
Setup
Via npm (recommended)
No clone, no build:
Claude Code
Claude Desktop — add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
From source
Restart Claude Desktop fully, then look for the tools icon in a new chat.
Example prompts
- "Quote for RELIANCE and how far is it from its 52-week high?"
- "Compare HDFC Bank vs ICICI Bank vs SBI fundamentals"
- "Top 5 NIFTY 50 gainers today"
- "NIFTY option chain — where's the max open interest?"
- "Compare Parag Parikh Flexi Cap vs Quant Small Cap over 3 years"
- "Analyze my portfolio: 10 RELIANCE @ 1200, 5 TCS @ 3000"
Development
Sample test output
Real output from npx tsx scripts/test-mcp.ts (live data, market hours, June 2026 — trimmed):
Data sources
Known limitations
get_gainers_losersranks a built-in NIFTY 50 constituent list (verified June 2026). NSE reconstitutes the index ~2×/year — updateNIFTY50_SYMBOLSinsrc/index.tswhen that happens.- Quotes may be delayed (Yahoo free feed); not suitable for live trading decisions.
- NSE may rate-limit or block heavy usage.
Disclaimer
Data comes from free public sources and may be delayed, incomplete, or wrong. This is not financial advice and not a substitute for a licensed broker or advisor. Do your own research before trading or investing.
License
来源:README.md,提交 6d071f3
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分