v0.5.0: added live NSE/BSE stock data to my offline-first Indian MCP server, plus a Budget 2024 capital gains fix
Update on MCP India Stack — the MCP server that gives AI agents zero-auth, mostly-offline tools for Indian financial/tax/gov data (GSTIN, PAN, IFSC, UPI, HSN/SAC, tax and investment calculators, etc.).
v0.5.0 — "The Market Update" is out, and it's the first release that reaches out to the internet for something: live stock market data.
New:
get_stock_quote— current price, market cap, day high/low, and volume for any NSE/BSE stockget_stock_history— end-of-day historical data across 11 time ranges, from 1 day to 10 years (and max)- Built on
yfinance, so it's still zero-auth — no API keys. Just know that quotes lag Yahoo Finance by ~15 min, and tickers need the.NS/.BOsuffix (documented indocs/stock_market.md)
Fixed:
- The capital gains calculator was using the old LTCG exemption threshold. Budget 2024 raised the Section 112A equity exemption from ₹1,00,000 to ₹1,25,000, and
calculate_capital_gainsnow reflects that — matters if you were using it for actual tax planning or staggered redemption advice - Cleaned up a few CI issues along the way (a mypy
redundant-casterror on FastMCP, a mypy crash parsing numpy 3.12 type stubs on Python 3.12 jobs)
Everything else — the 58 identity/tax/finance tools, offline datasets, zero-config setup — works the same as before.
Upgrade:
pip install --upgrade mcp-india-stack
Repo: https://github.com/rehan1020/MCP-India-Stack
If you're already using it for anything tax-related, worth double-checking your capital gains numbers reflect the new threshold. Feedback and bug reports welcome — this project lives or dies on the numbers being right.
Posted Aug 28, 2026, 7:55 AM UTC