FinStack MCP MCP Server
io.github.finstacklabs/finstack-mcp
95 free AI-powered tools for Indian stock market research, portfolio analysis, and trading workflows inside Claude and Cursor.
What is the FinStack MCP MCP server?
FinStack MCP is an open-source market intelligence server for Indian equities (NSE/BSE) and global markets that integrates into Claude, Cursor, and other MCP clients. It provides 95 free tools including AI agent stock debates, real-time FII/DII flows, options Greeks, portfolio risk scanning, and unique India-specific features like Telegram tip-channel tracking and GST-to-stock correlation analysis.
FinStack replaces paid tools like Bloomberg Terminal, Sensibull, and Screener.in by combining live market data, AI-driven research agents, and portfolio analytics in a single MCP server. Ask Claude questions like "Should I buy Reliance?" and get multi-agent debate, sentiment analysis, insider activity, and risk scoring in one response. Works entirely free with 15-minute delayed data (yfinance) or zero-delay with optional Angel One broker integration.
How to install FinStack MCP
Copy-paste configuration for popular MCP clients.
Tools & capabilities
Tools this server exposes to the agent.
get_stock_brief— 6 AI agents debate any stock with FII Desk, Algo Trader, Value Investor, Retail Pulse, Macro Analyst, and Options Flow perspectives → BUY/HOLD/SELL consensusget_stock_debate— 3-round sequential agent debate with rebuttals and emergent consensus on any stockget_social_sentiment— Aggregates StockTwits, Reddit, and Economic Times RSS for sentiment signaldetect_unusual_activity— Detects OI buildup, block deals, promoter buying, and volume spikes simultaneouslyget_nifty_outlook— 6-signal probability model for next session Nifty directionget_fno_trade_setup— NIFTY/BANKNIFTY options call with BUY_CE, BUY_PE, or NO_TRADE recommendation and ATM strike guidancepredict_earnings— Beat/miss probability before quarterly resultsget_fii_retail_divergence— Highest-conviction Indian market signal from FII vs retail positioningget_morning_fno_brief— Daily NIFTY/BANKNIFTY F&O brief with approval-ready setup summaryscan_watchlist— Batch-rank a watchlist to surface top buys and top risksget_stock_signal_score— Automation-friendly score with factor impacts, supports, and risksget_stock_timeline— Single feed for news, results, insider activity, bulk deals, sentiment, pledge, and smart moneyget_sector_peer_context— Sector strength plus peer rank and valuation contextevaluate_signal_quality— Honest proof layer for price-action core before making accuracy claimsanalyze_portfolio— P&L, XIRR, sector concentration, risk flags, and 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 watchlistpredict_circuit— Lower circuit risk predictiondetect_pump— Pump-and-dump pattern detector for small/micro caps
Use cases
- Get a full stock brief with multi-agent debate and consensus buy/hold/sell recommendation for any NSE/BSE stock
- Scan your portfolio for sector concentration, pledged promoter risks, FII exposure, and diversification score
- Detect unusual activity like OI buildup, block deals, and promoter buying simultaneously across watchlist stocks
- Analyze Nifty direction probability and get intraday F&O trade setup (CE/PE) with ATM strike guidance before market open
- Track Telegram tip-channel accuracy and pump-and-dump probability to evaluate signal quality before trading
FinStack MCP MCP server FAQ
FinStack MCP is a free, open-source MCP server that brings 95 AI-powered market intelligence tools into Claude, Cursor, and other MCP clients. It covers Indian equities (NSE/BSE), global markets, options, fundamentals, portfolio analysis, and unique features like AI agent stock debates, Telegram tip-channel tracking, and GST-to-stock correlation.
Yes, completely free. It uses yfinance (15-minute delayed data) by default with no API key required. For zero-delay real-time data, you can optionally connect a free Angel One broker account.
Run `pip install finstack-mcp`, then add this to your Claude Desktop config file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json): {"mcpServers": {"finstack": {"command": "python", "args": ["-m", "finstack.server"]}}}. Restart Claude Desktop.
Run `pip install finstack-mcp`, then add the same config to Cursor's MCP settings file: {"mcpServers": {"finstack": {"command": "python", "args": ["-m", "finstack.server"]}}}. Reload Cursor.
No API keys required for basic use (yfinance provides 15-minute delayed data). For real-time zero-delay data, you can optionally connect a free Angel One broker account by setting ANGEL_API_KEY, ANGEL_CLIENT_ID, ANGEL_PASSWORD, and ANGEL_TOTP_SECRET in your .env file. Your credentials stay local and never leave your machine.
FinStack is the only tool that combines AI agent stock debates, social sentiment (Reddit + StockTwits), Telegram tip-channel tracking, GST-to-stock correlation, and budget speech analysis—all free and integrated into Claude/Cursor. It replaces 7+ paid tools (Bloomberg, Sensibull, Screener.in, Trendlyne, Morningstar) with one MCP server.
README (reference)
Source of truth, from the repository.
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.
pip install finstack-mcp
Or run without installing:
uvx finstack-mcp
Ask Claude things like:
"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

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
| Tool | What you pay | finstack-mcp |
|---|---|---|
| Bloomberg Terminal | $31,980 / yr | FREE |
| Bloomberg ESG + Credit | $24,000 / yr | FREE |
| Sensibull (Options Greeks) | ₹15,600 / yr | FREE |
| Morningstar (MF flows) | $17,500 / yr | FREE |
| Zerodha real-time data | ₹6,000 / yr | FREE via Angel One |
| Screener.in Pro | ₹4,999 / yr | FREE |
| Trendlyne Pro | ₹4,950 / yr | FREE |
Install + connect (2 minutes)
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
{
"mcpServers": {
"finstack": {
"command": "python",
"args": ["-m", "finstack.server"]
}
}
}
Restart Claude Desktop. Done.
Cursor / Windsurf / Cline
{
"mcpServers": {
"finstack": {
"command": "python",
"args": ["-m", "finstack.server"]
}
}
}
Add to your IDE's MCP config file and reload.
uvx (no install needed)
{
"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
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
| Feature | finstack-mcp | Screener.in | Tickertape | Sensibull | Trendlyne | TradingView |
|---|---|---|---|---|---|---|
| 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 | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
| Price | Free | ₹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.
pip install finstack-mcp[broker]
ANGEL_API_KEY=your_key
ANGEL_CLIENT_ID=your_client_id
ANGEL_PASSWORD=your_pin
ANGEL_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
| Source | Covers | Key needed |
|---|---|---|
| yfinance | NSE/BSE/US equities, crypto, forex, history | None |
| NSE direct API | FII/DII, options chain, insider trading, corporate actions | None |
| BSE India API | Credit ratings, ESG/BRSR | None |
| SEC EDGAR | US filings (10-K, 10-Q, 8-K) | None |
| CoinGecko | Crypto market data | None |
| World Bank | India macro: CPI, GDP, CAD | None |
| AMFI / mfapi.in | Mutual fund NAV, AUM, SIP flows | None |
| StockTwits | Trader sentiment (pre-tagged bullish/bearish) | None |
| Reddit (praw) | r/IndiaInvestments + r/DalalStreetTalks | Optional free |
| Finance Ministry | Monthly GST collection data | None |
| SEBI public filings | Enforcement orders, insider SAST disclosures | None |
| Angel One SmartAPI | Real-time NSE, Level 2 depth, intraday | Free 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
python -m pip install --upgrade pip
pip 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
git clone https://github.com/finstacklabs/finstack-mcp.git
cd finstack-mcp
pip install -e .[dev]
pytest -q
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
Related MCP servers

MCP server for natural-language Kubernetes operations across single or multi-cluster environments.
View repository →City hiring-compliance MCP server with regulation search and full audit risk scoring.
View repository →
mcp-audit
Transparent audit proxy for MCP servers: logs every tool call, flags poisoning and rug pulls.

Firebase CLI and MCP Server for deploying, managing, and interacting with Firebase projects from your AI development environment.

Firecrawl MCP Server
Web search, scraping, and research tools for AI agents via Model Context Protocol.

webfetch
Self-hosted web search for LLM agents with semantic caching—8x fewer tokens and 3x lower cost than hosted alternatives.
