Indian Stock Exchange 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., "@Indian Stock Exchange MCPget details for Reliance Industries"
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.
Indian Stock Exchange MCP Server
A powerful Model Context Protocol (MCP) server that provides comprehensive financial data and insights for stocks listed on the Bombay Stock Exchange (BSE) and National Stock Exchange (NSE).
📑 Table of Contents
🤖 What is MCP?
Model Context Protocol (MCP) is an open standard that enables seamless integration of tools and data sources with AI models like Claude. This server exposes Indian stock market data as MCP tools, allowing AI assistants to:
Query real-time and historical stock data
Analyze market trends and price movements
Access financial news and announcements
Monitor IPOs and corporate actions
Learn more: Model Context Protocol Documentation
✨ Features
✅ 20+ API Tools covering:
Stock details, prices, and historical data
Market news and announcements
Trending stocks and price shockers
IPOs and corporate actions
Commodities data
Mutual funds information
BSE & NSE specific data
Stock forecasts and target prices
52-week highs/lows
Industry search
✅ Zod Validation - Type-safe parameter validation
✅ Error Handling - Graceful error responses
✅ Stdio Transport - Works seamlessly with Claude Desktop & other MCP clients
✅ TypeScript - Fully typed for developer experience
🚀 Quick Start
Prerequisites
Node.js v18+
npm or yarn
API Key from Indian Stock Market API
1. Clone & Install
git clone https://github.com/yourusername/Indian-Stock-Exchange-MCP.git
cd Indian-Stock-Exchange-MCP
npm install2. Configure API Key
⚠️ Security: Never commit your API key to GitHub. Use environment variables.
Copy the example env file and add your API key:
cp .env.example .env
# Edit .env and add your ISE_API_KEYGet your free API key from: https://indianapi.in/
3. Build
npm run build4. Run Server
node build/index.jsYou should see: ISE MCP Server running on stdio
5. Integrate with Claude Desktop
For detailed platform-specific setup instructions, see SETUP.md
🔧 Installation
Option 1: Direct Clone
git clone https://github.com/yourusername/Indian-Stock-Exchange-MCP.git
cd Indian-Stock-Exchange-MCP
npm install
npm run buildOption 2: NPM Package (Coming Soon)
npm install indian-stock-exchange-mcpOption 3: Via npx
npx indian-stock-exchange-mcp📚 API Tools
Stock Information (3 tools)
Tool | Description | Parameters |
| Get details for a specific stock |
|
| Get trending stocks | - |
| Get 52-week highs and lows | - |
Market Data (4 tools)
Tool | Description | Parameters |
| Get stock exchange news | - |
| Get price shockers | - |
| Get BSE most active stocks | - |
| Get NSE most active stocks | - |
Historical & Analytics (3 tools)
Tool | Description | Parameters |
| Get historical data for stock |
|
| Get historical statistics |
|
| Get stock statement data |
|
IPO & Corporate (3 tools)
Tool | Description | Parameters |
| Get IPO information | - |
| Get corporate actions |
|
| Get recent announcements |
|
Investments (3 tools)
Tool | Description | Parameters |
| Get mutual funds data | - |
| Get MF details |
|
| Search mutual funds |
|
Commodities & Forecasts (3 tools)
Tool | Description | Parameters |
| Get commodities data | - |
| Get stock forecasts |
|
| Get target price |
|
Search & Discovery (1 tool)
Tool | Description | Parameters |
| Search industries |
|
For full parameter details, see docs/API_REFERENCE.md
⚙️ Configuration
Environment Variables
The API key is managed through environment variables (not hardcoded in source code for security).
Create a .env file in the project root:
# .env
ISE_API_KEY=your_api_key_from_indianapi_inSecurity Best Practices:
✅ Use
.envfor secrets (already in.gitignore)✅ Never commit
.envto version control✅ Use
.env.exampleas a template for distribution✅ Keep API keys confidential
❌ Never hardcode secrets in source files
For detailed platform-specific configuration, see docs/SETUP.md
💡 Usage Examples
Example 1: Get Stock Details
# In Claude Desktop with this MCP enabled
"What are the details for Tata Steel?"
# Claude will call: get-stock-details with name="Tata Steel"Example 2: Analyze Trending Stocks
"Show me the top trending stocks today"
# Claude will call: get-trending-stocksExample 3: Historical Analysis
"Get the 1-year historical data for Infosys"
# Claude will call: get-historical-dataSee examples/ folder for more examples.
📁 Directory Structure
indian-stock-exchange-mcp/
├── src/
│ ├── index.ts # Main MCP server
│ └── .env # Environment variables
├── build/
│ └── index.js # Compiled output
├── docs/
│ ├── SETUP.md # Setup instructions
│ ├── API_REFERENCE.md # API documentation
│ └── ARCHITECTURE.md # Code structure
├── examples/
│ ├── basic-queries.md
│ └── advanced-examples.md
├── config/
│ └── (configuration files)
├── package.json
├── tsconfig.json
├── .gitignore
└── README.md🔧 Development
Build from Source
npm install
npm run build
node build/index.jsSee docs/ARCHITECTURE.md for code structure.
📝 Contributing
Contributions are welcome! See docs/CONTRIBUTING.md for:
How to report bugs
Feature requests
Development workflow
Code style guidelines
🐛 Troubleshooting
Issue | Solution |
"Server not found" | Check path in Claude Desktop config |
"API Key error: 401" | Update API key and rebuild |
"Module not found" |
|
"TypeScript errors" | Ensure Node.js v18+ |
See docs/SETUP.md for detailed troubleshooting.
📞 Support
GitHub Issues: Report bugs or request features
Documentation: Check docs/ folder
API Provider: Indian Stock Market API
📄 License
This project is licensed under the ISC License.
🙏 Acknowledgments
Built with Model Context Protocol SDK
Data provided by Indian Stock Market API
Powered by TypeScript and Node.js
Made with ❤️ for the Indian Stock Market community
This server cannot be installed
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
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/mnvkalyansambhana-tech/Indian-Stock-Exchange-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server