IndiaQuant MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@IndiaQuant MCPget live price of RELIANCE.NS"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
IndiaQuant MCP – AI Stock Market Assistant
IndiaQuant MCP is a real-time Indian stock market assistant built using Python and Model Context Protocol (MCP). It integrates with Claude Desktop to provide live stock market intelligence such as stock prices, trading signals, options data, sentiment analysis, and portfolio tracking.
The system uses only free APIs and open-source libraries.
Project Overview
Normally AI assistants like Claude do not have access to live stock market data.
This project solves that problem by building an MCP server that connects Claude to a stock market backend.
Architecture:
Claude Desktop
MCP Server (mcp_server.py)
FastAPI Backend (main.py)
Free Market APIs (yfinance, NewsAPI, Alpha Vantage)
Claude can then call the MCP tools and receive real-time market data.
Features
This project implements the following capabilities:
Fetch live stock prices from NSE
Generate AI trading signals (BUY / SELL / HOLD)
Analyze options chain data
Calculate option Greeks (Delta, Gamma, Theta, Vega)
Detect unusual options activity
Scan the market for opportunities
Analyze news sentiment
Show sector performance heatmap
Maintain a virtual trading portfolio
Calculate real-time portfolio profit and loss
All tools return live market data using free APIs.
Technologies Used
Python
FastAPI
yfinance
pandas
numpy
pandas-ta
SQLite
Model Context Protocol (MCP)
Claude Desktop
Project Structure
indiaquant-project
main.py # FastAPI backend server mcp_server.py # MCP server exposing tools to Claude requirements.txt # Python dependencies README.md # Project documentation
Installation
cd indiaquant-mcp Install dependencies
pip install -r
requirements.txt
fastapi uvicorn yfinance pandas numpy pandas-ta requests mcp scipy sqlite-utils python-dotenv newsapi-python alpha_vantage
Running the Backend
Start the FastAPI server: uvicorn main:app --reload
This starts the API that provides market data and analysis.
MCP Configuration
To connect the project with Claude Desktop, create the following configuration file:
C:\Users\MY_USERNAME\AppData\Roaming\Claude\claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"indiaquant": {
"command": "C:/Users/USERNAME/AppData/Local/Programs/Python/Python314/python.exe",
"args": [
"C:/Users/USERNAME/Desktop/indiaquant-project/mcp_server.py"
]
}
}
}
After adding the configuration, restart Claude Desktop.
Claude will automatically start the MCP server.
Example Queries in Claude
After connecting the MCP server, Claude can call the tools.
Example queries:
Use indiaquant to get live price of RELIANCE.NS
Use indiaquant to generate signal for HDFCBANK.NS
Use indiaquant to detect unusual options activity on INFY.NS
Use indiaquant to scan the market
Claude will call the MCP tools and return live market data.
APIs Used
This project only uses free APIs.
yfinance – live stock prices and options chain
NewsAPI – news sentiment analysis
Alpha Vantage – macro indicators
pandas-ta – technical indicators
No paid APIs are used.
Design Decisions
FastAPI was chosen for building a lightweight backend API.
yfinance provides free access to NSE stock data.
SQLite is used for storing virtual portfolio data because it is simple and portable.
The MCP layer allows Claude to communicate with the backend using tools.
Future Improvements
Possible future enhancements include:
• Deploy the server to cloud for 24/7 availability
• Add Redis caching for faster market data access
• Improve trading signals using machine learning
• Integrate real brokerage APIs for real trading
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Sant1861/indiaquant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server