StockMcp
Click on "Deploy 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., "@StockMcpGet company details for RELIANCE"
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.
š§ Stock Analysis using MCP Local LLM (Ollama Qwen3) with LangChain
This project demonstrates how to build a fully local AI assistant that provides detailed stock analysis using:
MCP (Model Context Protocol): Enables structured tool usage by the language model.
Ollama: A tool for running large language models locally.(Qwen3)
LangChain: A framework for developing applications powered by language models and run as MCP Client
BeautifulSoup: For web scraping financial data from Screener.in.
š¦ Features
š Company Details: Retrieve company name, current price, market cap, PE ratio, ROE, ROCE, and more.
š Profit Analysis: Extract quarterly and yearly net profit data.
š„ Shareholding Patterns: Analyze holdings by promoters, DIIs, FIIs, and the public.
š§ Tool Integration: Seamless integration with MCP tools for enhanced functionality.Related MCP server: sfinance-mcp-server
āļø Configuration
MCP Server Setup
The MCP server is defined in mcp_config.json.
{
"mcpServers": {
"stock": {
"command": "python",
"args": ["StockMcp.py"],
"transport": "stdio"
}
}
}
Give me the company details of CREDITACC.NSš ļø Project Structure
āāā StockMcp.py # MCP server with tool definitions
āāā requirements.txt # Python dependencies
āāā README.md # Project documentationš Resources
MCP Github
Ollama Documentation
LangChain MCP Documentation
BeautifulSoup DocumentationThis server cannot be deployed
Maintenance
Related MCP Connectors
Global stock research, ML forecasts, valuation signals, screeners & portfolio tracking in Claude
Analyze any Nifty 500 stock with AI ā price action, demand zones, technicals & screener.
AI-powered stock analysis: nightly ratings, on-demand deep-dives, and watchlist insights.
SEC EDGAR fundamentals as agent tools: look up or screen US public companies. Free, no key, CC0.
Related MCP Servers
- FlicenseBqualityNot gradedmaintenanceEnables LLMs to retrieve, analyze, and visualize stock prices and financial report data for quantitative trading research and investment analysis. Provides real-time and historical stock data, financial statement analysis, key metric calculations, and trading signal visualization.13-
- FlicenseNot gradedqualityDmaintenanceProvides access to Indian stock market data via screener.in, enabling stock analysis, document access, screening, and more through MCP.-
- AlicenseAqualityDmaintenanceProvides financial data for Indian listed companies from screener.in, enabling users to search companies and fetch financial statements, ratios, and peer comparisons.228 npm1MIT
- FlicenseNot gradedqualityBmaintenanceEnables RAG-based querying of local stock company data using a local LLM and vector database, providing tools to ask questions, search raw chunks, and list documents.-