MCP Stocks Analyzer
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., "@MCP Stocks AnalyzerShow me the latest news and stock price for AAPL"
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.
MCP Stocks Analyzer
A simple and efficient Model Context Protocol (MCP) server for financial analysis. This tool provides real-time stock data and news aggregation for AI assistants.
Features
News: Fetch stock news from Google News.
Prices: Get historical OHLCV data from Yahoo Finance.
Company info: Read fundamentals and profile data.
Technical indicators: Compute trend, momentum, volatility, and volume signals.
MCP-ready: Designed to plug into AI assistants.
Related MCP server: Yahoo Finance MCP Server
Installation
Clone the repository:
git clone https://github.com/vashishtavarma/mcp-stocks-analyzer.git cd mcp-stocks-analyzerCreate and activate a virtual environment:
python -m venv venv # On Windows: venv\Scripts\activate # On macOS/Linux: source venv/bin/activateInstall dependencies:
pip install -r requirements.txt
Usage
Start the MCP server:
python main.pyUse the available tools from your MCP client:
get_news_from_google(ticker, region='IN', period='7d')get_stock_price(symbol, period, interval)get_company_info(symbol)get_technical_indicators(symbol, period='6mo', interval='1d')
Project Structure
main.py: MCP server entry point that registers tools.src/news.py: News fetching tool.src/price.py: Price history tool.src/company.py: Company info tool.src/indicators.py: Technical indicators tool.
Claude Desktop Setup
To integrate MCP Stocks Analyzer with Claude Desktop, follow these steps:
Locate the Configuration File:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the Server Configuration: Insert the following JSON snippet into the
mcpServersobject in the configuration file:{ "mcpServers": { "stock-analyzer": { "command": "<path>/mcp-stocks-analyzer/venv/bin/python", "args": [ "<path>/mcp-stocks-analyzer/main.py" ] } } }Note for Windows users: Adjust the python path to
...\\venv\\Scripts\\python.exeand use backslashes.Important: Replace
<path>with the absolute path to your project directory.Restart Claude Desktop: Restart the application to apply the changes. The MCP Stocks Analyzer tools will now be available in Claude Desktop.
License
This project is licensed under the MIT License. See the LICENSE file for details.
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.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides real-time financial data from Yahoo Finance to Large Language Models through the Model Context Protocol, enabling AI models to access stock prices, historical data, and company information.1MIT
- AlicenseAqualityCmaintenanceProvides access to real-time stock prices, financial statements, news, and options data via the Model Context Protocol. It enables AI assistants to retrieve comprehensive market data, including historical prices and analyst recommendations, through a standardized interface.691MIT
- FlicenseAqualityDmaintenanceProvides financial data tools including stock prices, news, forex, fundamentals, and corporate actions via the Tiingo API through the Model Context Protocol.115
- Alicense-qualityAmaintenanceEnables LLMs and agentic workflows to access real-time and historical stock market data through the Model Context Protocol.196MIT
Related MCP Connectors
The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.
Real-time news with bias scoring, live market data, and AI-powered options pricing
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
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/vashishtavarma/stocks-analyzer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server