finstack-mcp
The FinStack MCP server provides comprehensive market intelligence tools for Indian and global markets, enabling AI-assisted investment research directly within Claude, Cursor, and other MCP clients.
๐ฎ๐ณ Indian Market Data
Real-time NSE/BSE quotes, index tracking (Nifty 50, Sensex, Bank Nifty, etc.), and market status
Historical OHLCV data with multiple timeframes (1m to monthly)
Top movers, circuit breaker scanner, 52-week high/low scanner
FII/DII institutional flows, bulk/block deals, corporate actions
Sector performance, earnings calendar, IPO calendar, quarterly results
Mutual fund NAV lookup via AMFI (no API key needed)
๐ Fundamentals & Financials
Income statements, balance sheets, cash flow statements (annual or quarterly)
Key ratios (P/E, P/B, ROE, ROA, EV/EBITDA, debt/equity, dividend yield, etc.)
Company profiles and up to 10 years of dividend history
๐ Global Markets
Global stock quotes and historical data (US, UK, European, Asian equities)
Crypto prices and history for 100+ coins (CoinGecko)
Live forex rates for 50+ currency pairs
Market news for any stock or general trends
SEC filings (10-K, 10-Q, 8-K) via EDGAR for US companies
๐ Technical Analysis
Indicators: RSI, MACD, SMA, EMA, Bollinger Bands, ATR, Stochastic, ADX, OBV with buy/sell signals
Support & resistance levels via pivot points (R1/R2/R3/S1/S2/S3)
Side-by-side stock comparison (2โ5 stocks) and stock screener by P/E, ROE, market cap, sector, and more
๐ฏ Options & Derivatives
NSE options chain with strike prices, premiums, volume, open interest, IV, and Put-Call Ratio (PCR)
๐ผ Portfolio & Risk
Portfolio analysis: P&L, weights, concentration risk, winners and losers
Strategy backtesting: SMA crossover vs. buy-and-hold with custom parameters
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-mcpOr run without installing:
uvx finstack-mcpAsk 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 scoredDemo 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-mcpClaude 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 corethe 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_secretFree 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.jsonVerify Python is in PATH:
python --version
pip install fails
python -m pip install --upgrade pip
pip install finstack-mcpAngel 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 -qPRs welcome. Adding a new broker: create src/finstack/data/broker_X.py and register in tools/.
Links
Landing page: https://finstacklabs.github.io/
YouTube: https://youtu.be/PWK89gBbHEM
MIT License ยท finstacklabs.github.io
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/finstacklabs/finstack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server