
FinStack MCP
io.github.finstacklabs由 GitHub 帳號 finstacklabs 發布v0.3.2更新於 Oct 24, 2026
India-first MCP server for NSE/BSE, fundamentals, analytics, and market research workflows.
概覽
為助理提供 95 個工具,用於印度與全球市場資料、股票研究、選擇權分析及投資組合風險分析。
- 可以做什麼
- FinStack MCP 提供約 95 個工具,涵蓋十個類別:NSE/BSE 報價與歷史資料、指數、FII/DII 資金流、大宗與鉅額交易、共同基金淨值、公司行動與 IPO 行事曆;印度與美國公司的基本面與財務比率;含 PCR、未平倉量、最大痛點與 Black-Scholes 希臘值的完整 NSE 選擇權鏈;India VIX、GIFT Nifty、內部人申報、印度央行利率與宏觀資料;加密貨幣、外匯與 SEC 文件。另有研究類工具,例如多代理股票辯論並給出買進/持有/賣出共識、來自 StockTwits 與 Reddit 的社群情緒、異常活動偵測、Nifty 方向機率、F&O 交易方案、自選股排名、投資組合損益與 XIRR 分析、質押與拉高出貨風險掃描,以及 Telegram 投顧頻道準確率追蹤。
- 適用情境
- 當助理需要在 MCP 用戶端內進行印度股票或衍生性商品研究、篩選或投資組合風險檢查時使用;也適合想把行情資料、情緒分析與選擇權分析整合在單一伺服器、而不訂閱多個付費工具的使用者。它定位為決策支援與研究篩選,而非保證預測。
- 執行需求
- 以 Python 套件形式透過 stdio 在本機執行(pip install finstack-mcp,或以 uvx finstack-mcp 免安裝執行);僅支援桌面版 MCP 用戶端。多數資料來源不需金鑰。可選的零延遲券商資料需安裝 broker 附加元件並設定 ANGEL_API_KEY、ANGEL_CLIENT_ID、ANGEL_PASSWORD 與 ANGEL_TOTP_SECRET(亦支援 Fyers、ICICI Breeze、Dhan、Upstox)。需要網路連線。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 FinStack MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
FinStack MCP
95 free tools for Indian + global markets. Works inside Claude, Cursor, and any MCP client.
Open-source market intelligence for Indian equities, global markets, and MCP-native AI workflows.
Ask one question like Should I buy Reliance? and get debate, sentiment, smart-money, risk, peer context, and ranking in one stack.
[PyPI] [License: MIT] [Python 3.10+]
Or run without installing:
Ask Claude things like:
Demo preview
Stock brief in action
Agent battle visualization
Example outputs
Launch resources
Why this is different
- Built for Indian markets first, not as a US-market wrapper with a few NSE tickers added later
- MCP-native, so it works inside Claude, Cursor, and other agent workflows instead of being just another dashboard
- Combines data, scoring, debate, and research workflows instead of forcing users to stitch 5 paid tools together
- Includes tools competitors usually do not offer at all: stock debate, watchlist ranking, stock timeline, Telegram tracker, GST-to-stock context, and budget analyzer
What this replaces
Install + connect (2 minutes)
Claude Desktop
Add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop. Done.
Cursor / Windsurf / Cline
Add to your IDE's MCP config file and reload.
uvx (no install needed)
Works with: Claude Desktop · Cursor · Windsurf · Cline · Continue.dev · Zed · Jan.ai · LibreChat · any MCP client
Remote MCP publishing roadmap
If you want finstack-mcp to move beyond local desktop config and become available through connector ecosystems, keep the local python -m finstack.server setup for developers and add a hosted remote MCP version for public distribution.
What to build for remote HTTP
- Expose FinStack through a public MCP endpoint over HTTPS, preferably Streamable HTTP or SSE.
- Add OAuth before opening it to outside users.
- Keep tool descriptions narrow, clear, and safe.
- Add rate limiting, monitoring, and a visible support contact.
- Publish a privacy policy and terms before any official submission.
ChatGPT / OpenAI path
- Host a remote MCP server that is reachable over HTTPS.
- Test it first as a custom connector or custom app in ChatGPT.
- Add connector-friendly read tools such as
searchandfetchif you want broader compatibility with OpenAI connector flows. - Keep FinStack-specific tools like
get_stock_brief,get_stock_debate,get_social_sentiment, andanalyze_portfolioas domain tools on top.
Claude / Anthropic path
- First make sure the server works as a custom connector.
- Then prepare for directory review instead of assuming instant listing.
- Anthropic reviews third-party MCP servers for safety, security, privacy, and compatibility before directory inclusion.
- Directory listing is not guaranteed even if the server is technically valid.
Practical submission checklist
- Public HTTPS MCP endpoint
- OAuth login flow
- Stable server uptime
- Safe tool scope and descriptions
- Privacy policy
- Terms of service
- Support email or issue tracker
- Clear docs and example prompts
- No tool behavior that encourages bypassing model safety policies
Recommended product split
- Local stdio MCP: best for developers and power users
- Hosted remote MCP: best for connectors and wider distribution
- Separate hosted FinStack web UI: best place for premium visuals like Agent Battle
This keeps MCP as the execution layer and your own frontend as the premium experience.
95 tools across 10 categories
Indian Markets (live data)
- NSE/BSE real-time quotes, OHLCV history, market status
- Nifty 50, Bank Nifty, Sensex indices
- FII/DII institutional flows (daily + historical)
- Bulk & block deals, circuit breaker scanner, 52W high/low scanner
- Mutual fund NAV, corporate actions, earnings calendar, IPO calendar
AI Intelligence (unique to finstack-mcp)
get_stock_brief— 6 AI agents debate any stock → BUY/HOLD/SELL consensusget_stock_debate— 3-round sequential agent debate with rebuttals and emergent consensusget_social_sentiment— StockTwits + Reddit + ET RSS → sentiment signaldetect_unusual_activity— OI buildup + block deals + promoter change + volume spikeget_nifty_outlook— 6-signal probability model for next session directionget_fno_trade_setup— NIFTY / BANKNIFTY options call: BUY_CE, BUY_PE, or NO_TRADE with ATM strike guidancepredict_earnings— beat/miss probability before quarterly resultsget_fii_retail_divergence— highest-conviction Indian market signalget_morning_fno_brief— daily NIFTY/BANKNIFTY F&O brief with approval-ready setup summary
Research & Ranking
scan_watchlist— batch-rank a watchlist so automation can surface top buys and top risksget_stock_signal_score— automation-friendly score with factor impacts, supports, and risksget_stock_timeline— one feed for news, results, insider, bulk deals, sentiment, pledge, and smart moneyget_sector_peer_context— sector strength plus peer rank / valuation contextevaluate_signal_quality— honest proof layer for the price-action core before making accuracy claims
Portfolio & Risk
analyze_portfolio— P&L, XIRR, sector concentration, risk flags, diversification scoreget_mf_overlap— fund overlap % from AMFI public disclosuresget_pledge_alert— promoter pledge early warning with QoQ velocityscan_pledge_risks— batch pledge scan across your watchlistpredict_circuit— lower circuit risk predictiondetect_pump— pump-and-dump pattern detector for small/micro caps
Broker Integrations (zero-delay live data)
- Angel One SmartAPI — live quotes, Level 2 depth, intraday candles
- Fyers API v3 — live quotes + candles
- ICICI Breeze — live quotes + candles
- Dhan SmartAPI — live quotes + candles
- Upstox API v2 — live quotes + candles
Options & Greeks
- Full NSE options chain with PCR, Open Interest, Max Pain
- Black-Scholes Greeks: Delta, Gamma, Theta, Vega, Rho
- OI analytics, IV summary, top OI strikes
Market Intelligence
- India VIX + signal, GIFT Nifty pre-market
- NSE insider trading (SAST filings), promoter shareholding + pledge %
- RBI policy rates, India macro (CPI, GDP, CAD)
- AMFI mutual fund flows, India G-Sec yield curve
get_sebi_alerts— SEBI enforcement order tracker (early crash warning)get_morning_brief— 8:15 AM pre-market brief
Never-built-before (India-specific)
correlate_gst_to_stocks— GST monthly data as 1-3mo sector leading indicatorget_agm_brief— AGM/EGM unusual resolution detector (debt raise, salary hike, pledge approval)get_insider_signal— SEBI SAST insider buy/sell pattern vs forward returnsget_telegram_tracker— Dalal Street tip channel accuracy + pump-and-dump scoringanalyze_budget_live— paste FM speech → instant sector/stock signals (Feb 1st)get_budget_impact— historical Union Budget winners + losers by year
Fundamentals
- Income statement, balance sheet, cash flow (Indian + US)
- Key ratios: P/E, ROE, margins, debt/equity, growth
- Company profile, dividend history (10-year), stock comparison
Global + Crypto + Tax
- US, EU, global equities — quotes + history
- Crypto: BTC, ETH, SOL, 100+ coins (CoinGecko)
- Forex: USD/INR, EUR/INR, 50+ pairs
- SEC filings (10-K, 10-Q, 8-K)
- LTCG/STCG tax calculator (post-July 2024 Budget rules — nobody else has this)
Accuracy and evaluation
FinStack should be presented as a decision-support engine, not as a guaranteed prediction machine.
get_stock_signal_scoreis a ranking layer for triage, screening, and automationevaluate_signal_qualityis an honest proof layer for the price-action core- the full live system also uses sentiment, insider activity, pledge risk, macro, and peer context, so one backtest number should not be marketed as "the accuracy of FinStack"
- safest language for users:
signal engine,research assistant,multi-factor ranking, anddecision-support
Comparison vs Indian market tools
Real-time data (optional)
Without setup: 15-minute delayed data (yfinance — free, no API key). With Angel One: zero delay, Level 2 order book, intraday candles.
Free account at smartapi.angelbroking.com. Your key stays local in .env — never leaves your machine.
Other brokers: Fyers, ICICI Breeze, Dhan, Upstox also supported.
Data sources
Troubleshooting
Claude says "finstack not found" after install
- Restart Claude Desktop fully (quit from system tray, not just close)
- Config path on Windows:
%APPDATA%\Claude\claude_desktop_config.json - Verify Python is in PATH:
python --version
pip install fails
Angel One TOTP fails
- TOTP secret ≠ password. Find it in Angel One app → Profile → Enable TOTP → secret key
- Install:
pip install finstack-mcp[broker]
Development
PRs welcome. Adding a new broker: create src/finstack/data/broker_X.py and register in tools/.
Links
- PyPI: https://pypi.org/project/finstack-mcp/
- Landing page: https://finstacklabs.github.io/
- YouTube: https://youtu.be/PWK89gBbHEM
- X: https://x.com/finstacklabs1
MIT License · finstacklabs.github.io
來源:README.md,提交 e329c1a
工具
0版本歷史
1- v0.3.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分