tobecrazy/weather-server
If you are the rightful owner of weather-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that provides weather information via the OpenWeatherMap API.
The Weather Server MCP is a local server implementation using FastMCP that enables AI assistants to access real-time weather data and forecasts for any city worldwide. By connecting to the OpenWeatherMap API, the server offers a standardized MCP interface to deliver current weather conditions, temperature data, and forecasts for up to 15 days. The server supports multiple transport modes, including stdio and HTTP streaming, and ensures secure access through OAuth 2.0 Bearer Token authentication. With Docker support, the server can be easily deployed, and comprehensive error handling ensures robust operation. This project demonstrates the integration of real-time data into AI systems, enhancing their capabilities with up-to-date weather information.
Features
- Current Weather: Provides real-time weather data for any city.
- Weather Forecasts: Offers forecasts for up to 15 days in the future.
- Temperature Data: Includes current, minimum, and maximum temperatures.
- Multiple Transport Modes: Supports stdio and HTTP streaming modes.
- OAuth 2.0 Authentication: Secure Bearer Token authentication for HTTP modes.
Tools
weather.get_weather
Fetches current weather and forecast data for a specified city.