Utilized for version control and code management of the MCP server.
Serves as the runtime environment for the MCP server, allowing it to handle financial and weather data requests.
Used for managing the server's dependencies and running the application.
Weather & Stock MCP Server 🌦️📉
This project is an MCP (Model Context Protocol) server that provides weather alerts, forecasts, stock prices, historical data, and news using various APIs.
Features 🚀
- 🐼 Fetch real-time stock prices using Yahoo Finance
- 📊 Retrieve historical stock data (daily, weekly, monthly)
- 📰 Get stock-related news from NewsAPI
- 🌦️ Fetch weather alerts and forecasts using the National Weather Service API
Installation & Setup ⚙️
Installing via Smithery
To install Weather & Stock Data Server for Claude Desktop automatically via Smithery:
Prerequisites
- Node.js (v18 or higher)
- Git
- An API key for NewsAPI
Steps
- Clone the repository:
- Install dependencies:
- Set up environment variables:
Create a.env
file and add: - Start the server:
Debug
- Inspector
You can inspect your MCP server using:
Usage 🛠️
The MCP server provides the following tools:
Get Stock Price
Get Historical Stock Data
Get News
Contributing 🤝
Feel free to fork this repo, make changes, and submit a pull request! 🚀
License 🐟
This project is licensed under the MIT License.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides real-time weather alerts, forecasts, stock prices, historical data, and stock-related news through an MCP interface.
Related MCP Servers
- -securityAlicense-qualityMCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.Last updated -322PythonMIT License
- AsecurityAlicenseAqualityAn MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.Last updated -1PythonMIT License
- -securityFlicense-qualityA FastMCP-based service that provides stock data including historical prices, fundamental information, and financial news.Last updated -1Python
- -securityFlicense-qualityProvides real-time access to global stock market data including current prices, historical charts, and company financial information through a Model Context Protocol (MCP) server for AI assistants.Last updated -TypeScript