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.

概览

AI 生成的概览

为助手提供 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)。需要网络访问。
安装前请注意
券商凭据(包括 Angel One 的 TOTP 密钥)保存在本地 .env 文件中,需妥善保护该文件。该服务器是决策支持而非投资建议,其文档本身也提醒不要把回测数字当作整体准确率来宣传。它会读取 Reddit、StockTwits、SEBI 申报等公开来源,部分工具会给出交易方案或买卖信号,未经独立核实不应据此操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 FinStack MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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+]

bash
pip install finstack-mcp

Or run without installing:

bash
uvx finstack-mcp

Ask Claude things like:

text
"Give me a full stock brief on Reliance"-> 6 AI agents debate: FII Desk + Algo Trader + Value Investor + Retail Pulse + Macro Analyst + Options Flow-> Consensus: BUY/HOLD/SELL with reasoning
"Is someone accumulating HDFC Bank quietly?"-> Checks OI buildup, block deals, promoter buying, volume spike simultaneously
"What's the social buzz on TCS before results?"-> StockTwits + Reddit + Economic Times -> 67% bullish | Signal: HOLD
"Will Nifty go up tomorrow?"-> RSI + FII flow + PCR + VIX + G-Sec + GIFT Nifty -> 63% probability up
"Should I take a NIFTY CE or PE today?"-> Intraday F&O setup -> BUY_CE / BUY_PE / NO_TRADE with ATM strike zone, confidence, and approval-ready summary
"Give me the 8:15 AM F&O brief"-> GIFT Nifty + VIX + NIFTY setup + BANKNIFTY setup -> ready-to-forward morning note
"Scan my portfolio for risk"-> Sector concentration, pledged promoters, FII exposure, XIRR, diversification score
"Is this Telegram stock tip channel a scam?"-> Accuracy %, avg return %, pump-and-dump probability scored

Demo preview

Stock brief in action

[Stock Brief Demo]

Agent battle visualization

[Agent Battle Demo]

Example outputs

[Stock Brief Output]

[FII Flow Output]

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

ToolWhat you payfinstack-mcp
Bloomberg Terminal$31,980 / yrFREE
Bloomberg ESG + Credit$24,000 / yrFREE
Sensibull (Options Greeks)₹15,600 / yrFREE
Morningstar (MF flows)$17,500 / yrFREE
Zerodha real-time data₹6,000 / yrFREE via Angel One
Screener.in Pro₹4,999 / yrFREE
Trendlyne Pro₹4,950 / yrFREE

Install + connect (2 minutes)

bash
pip install finstack-mcp

Claude Desktop

Add to claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{  "mcpServers": {    "finstack": {      "command": "python",      "args": ["-m", "finstack.server"]    }  }}

Restart Claude Desktop. Done.

Cursor / Windsurf / Cline

json
{  "mcpServers": {    "finstack": {      "command": "python",      "args": ["-m", "finstack.server"]    }  }}

Add to your IDE's MCP config file and reload.

uvx (no install needed)

json
{  "mcpServers": {    "finstack": {      "command": "uvx",      "args": ["finstack-mcp"]    }  }}

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 search and fetch if you want broader compatibility with OpenAI connector flows.
  • Keep FinStack-specific tools like get_stock_brief, get_stock_debate, get_social_sentiment, and analyze_portfolio as 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 consensus
  • get_stock_debate — 3-round sequential agent debate with rebuttals and emergent consensus
  • get_social_sentiment — StockTwits + Reddit + ET RSS → sentiment signal
  • detect_unusual_activity — OI buildup + block deals + promoter change + volume spike
  • get_nifty_outlook — 6-signal probability model for next session direction
  • get_fno_trade_setup — NIFTY / BANKNIFTY options call: BUY_CE, BUY_PE, or NO_TRADE with ATM strike guidance
  • predict_earnings — beat/miss probability before quarterly results
  • get_fii_retail_divergence — highest-conviction Indian market signal
  • get_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 risks
  • get_stock_signal_score — automation-friendly score with factor impacts, supports, and risks
  • get_stock_timeline — one feed for news, results, insider, bulk deals, sentiment, pledge, and smart money
  • get_sector_peer_context — sector strength plus peer rank / valuation context
  • evaluate_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 score
  • get_mf_overlap — fund overlap % from AMFI public disclosures
  • get_pledge_alert — promoter pledge early warning with QoQ velocity
  • scan_pledge_risks — batch pledge scan across your watchlist
  • predict_circuit — lower circuit risk prediction
  • detect_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 indicator
  • get_agm_brief — AGM/EGM unusual resolution detector (debt raise, salary hike, pledge approval)
  • get_insider_signal — SEBI SAST insider buy/sell pattern vs forward returns
  • get_telegram_tracker — Dalal Street tip channel accuracy + pump-and-dump scoring
  • analyze_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_score is a ranking layer for triage, screening, and automation
  • evaluate_signal_quality is 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, and decision-support

Comparison vs Indian market tools

Featurefinstack-mcpScreener.inTickertapeSensibullTrendlyneTradingView
AI agents debate a stock✅❌❌❌❌❌
Social sentiment (Reddit + StockTwits)✅❌❌❌❌❌
Nifty direction probability✅❌❌❌❌❌
Telegram tip channel tracker✅❌❌❌❌❌
Budget speech live analyzer✅❌❌❌❌❌
GST → sector stock predictor✅❌❌❌❌❌
Pump-and-dump detector✅❌❌❌❌❌
Promoter pledge early warning✅❌✅ paid❌✅ paid❌
Options Greeks✅ free❌❌✅ ₹1,300/mo❌✅ paid
FII/DII flows✅ free❌✅✅✅ paid❌
Fundamentals (P/E, ROE, etc.)✅ free✅ free✅❌✅✅ paid
Works inside Claude / Cursor✅❌❌❌❌❌
PriceFree₹4,999/yr₹2,800/yr₹15,600/yr₹4,950/yr$168/yr

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.

bash
pip install finstack-mcp[broker]
env
ANGEL_API_KEY=your_keyANGEL_CLIENT_ID=your_client_idANGEL_PASSWORD=your_pinANGEL_TOTP_SECRET=your_totp_secret

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

SourceCoversKey needed
yfinanceNSE/BSE/US equities, crypto, forex, historyNone
NSE direct APIFII/DII, options chain, insider trading, corporate actionsNone
BSE India APICredit ratings, ESG/BRSRNone
SEC EDGARUS filings (10-K, 10-Q, 8-K)None
CoinGeckoCrypto market dataNone
World BankIndia macro: CPI, GDP, CADNone
AMFI / mfapi.inMutual fund NAV, AUM, SIP flowsNone
StockTwitsTrader sentiment (pre-tagged bullish/bearish)None
Reddit (praw)r/IndiaInvestments + r/DalalStreetTalksOptional free
Finance MinistryMonthly GST collection dataNone
SEBI public filingsEnforcement orders, insider SAST disclosuresNone
Angel One SmartAPIReal-time NSE, Level 2 depth, intradayFree account

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

bash
python -m pip install --upgrade pippip install finstack-mcp

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

bash
git clone https://github.com/finstacklabs/finstack-mcp.gitcd finstack-mcppip install -e .[dev]pytest -q

PRs welcome. Adding a new broker: create src/finstack/data/broker_X.py and register in tools/.


Links


MIT License · finstacklabs.github.io

来源:README.md,提交 e329c1a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.3.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分