
Indian Stock Exchange
io.github.prakharv-opsv2.0.0更新於 Oct 11, 2026
Indian stocks (NSE/BSE): quotes, fundamentals, analyst targets, IPOs, mutual funds, commodities.
概覽
唯讀型 MCP 伺服器,讓助理取得印度股市即時資料:NSE/BSE 行情、基本面、分析師目標價、IPO、共同基金與大宗商品。
- 功能
- 提供 27 個唯讀工具,涵蓋印度股票與基金。可將名稱解析為 NSE/BSE 代碼,回傳價格快照、歷史走勢、財務報表、持股結構、分析師預估與目標價、公司行動與公告,以及市場漲跌排行、新聞、IPO 行事曆、MCX 商品期貨和共同基金搜尋與詳情。另附五個分析提示詞與三個資源,其中包括依股票查詢的資源。輸出經過精簡,方便分析而非原始 API 資料。
- 適用情境
- 適合助理需要印度市場最新資訊的研究型問題:比較上市公司、撰寫個股研究筆記、查看當日市場動向、了解即將上市的 IPO,或篩選共同基金。不用於交易或投資組合執行。
- 執行需求
- 以 npm 套件形式透過 stdio 在本機執行,需要 Node.js 20 或更新版本。必須透過 ISE_API_KEY 環境變數(或 .env 檔案)提供來自 indianapi.in 的 API 金鑰。可選的 HTTP 模式預設綁定本機,可用 HOST 與 PORT 覆寫。需要連線至資料供應商的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Indian Stock Exchange,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Indian Stock Exchange MCP Server
An MCP server that gives Claude (and any MCP client) live access to the Indian market: NSE/BSE equities, fundamentals, analyst targets, IPOs, mutual funds and commodities. Ask things like:
- "Compare TCS, Infosys and Wipro on valuation, margins and momentum."
- "Give me a research note on Reliance: financials, shareholding changes, analyst targets and recent filings."
- "What's moving the market today? Any IPOs opening this week?"
- "Shortlist the best mid-cap mutual funds by 3-year return and compare the top three."
Data comes from the Indian Stock Market API.
[Demo: the compare-stocks tool returning TCS, Infosys and Wipro side by side]
Real output from the compare-stocks tool. Regenerate it with node scripts/capture-demo.mjs && scripts/render-demo.sh.
Features
- 27 tools, all read-only and annotated as such, with compact, analysis-ready output instead of raw API dumps
- One-call stock snapshot: price, ranges, valuation, profitability, growth, leverage, returns, moving-average trend, analyst consensus and peers
- Fundamentals: multi-year P&L, balance sheet, cash flow, ratios, shareholding pattern, analyst estimates and price targets
- Market: gainers/losers, most active, price shockers, 52-week highs/lows, news, IPO calendar, commodity futures
- Mutual funds: search, browse by category and return, full scheme details
- 5 prompts (
analyze-stock,compare-stocks,market-briefing,dividend-and-events,mutual-fund-picks) and 3 resources (news, IPO calendar,ise://stock/{name}) - Reliable client: request timeout, retry with backoff on 429/5xx, in-memory TTL cache, in-flight de-duplication, clear error messages, and the API key is never exposed in output
- stdio transport for desktop clients and stateless Streamable HTTP for remote use
Tools
Setup
Requires Node.js 20+ and an API key from indianapi.in.
The key is read from the ISE_API_KEY environment variable, .env, or src/.env. Never commit it; all three files are git-ignored.
Claude Desktop
Settings > Developer > Edit Config:
Restart Claude Desktop.
Claude Code
HTTP mode
Stateless Streamable HTTP, bound to localhost by default (HOST and PORT override). It has no authentication, so put it behind a reverse proxy with auth before exposing it beyond your machine.
Development
Notes
- Amounts are in INR; market caps are in crore.
get-top-gainers/get-top-loserscome from the API's trending list, which is BSE-listed; useget-price-shockerswithexchange: NSEfor NSE.- Responses are cached for 60 seconds by default (
ISE_CACHE_TTL_MS); history and fundamentals for longer. - This server provides information, not investment advice.
License
MIT
來源:README.md,提交 b75b84a
工具
0版本歷史
1- v2.0.0最新Oct 11, 2026