- Home
- MCP servers
- Indian Stocks
Indian Stocks
- python
2
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"torukmaktoalpha-indian-stocks-mcp": {
"command": "python3",
"args": [
"/path to/server.py"
],
"env": {
"FINANCE_API_KEY": "YOUR_API_KEY",
"FINANCE_API_BASE_URL": "https://stock.indianapi.in"
}
}
}
}You run a Python-based MCP server that exposes Indian stock market data to MCP-compatible clients, enabling local analysis, research, and AI-powered workflows with secure API access.
How to use
Start the server locally to provide Indian stock data to your MCP clients. Ensure your API key is configured in the environment, then connect your MCP client to the local stdio server. Once running, you can query trending stocks, financial statements, historical stats, and related data through your MCP-enabled tools.
Run the server in a terminal to begin listening on standard input/output. Then configure your MCP client to use the local server as a data source. The server authenticates requests using your API key and base URL provided in the environment.
Optional: set environment variables in the current session before starting the server to avoid exposing credentials in your shell history.
export FINANCE_API_KEY=YOUR_API_KEY
export FINANCE_API_BASE_URL=https://stock.indianapi.in
python3 server.py