StockMcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π§ 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: stock-rag-mcp
βοΈ 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 DocumentationTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Live stock quotes, a stock screener, crypto prices and FX rates as agent tools.
Hosted MCP server for Indian NSE/BSE stock research: 59 tools for quotes, financials and ratios, peers, shareholding and pledge, filings with extracted facts, screens, F&O and FII/DII context. Source and freshness on every answer; no buy/sell calls.
NSE/BSE stock data via Tickertape as JSON: index lists, screener, 10-year fundamentals.
Equity screeners for 26 global markets as agent tools.
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides financial data for Indian listed companies from screener.in, enabling users to search companies and fetch financial statements, ratios, and peer comparisons.22-
- FlicenseNot gradedqualityDmaintenanceEnables 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.-
- AlicenseBqualityBmaintenanceExposes Screener.in data for Indian stocks (NSE/BSE) β fundamentals, financial statements, peers, and price/EPS time-series β as tools any MCP client can call.425 npm5MIT
- AlicenseAqualityDmaintenanceEnables LLM clients to perform fundamental analysis of NSE/BSE-listed Indian stocks, covering financial statements, ratios, valuation, screening, and investment memos using Yahoo Finance data.281MIT