Provides current weather conditions, forecasts, and alerts using an MCP server.
This example demonstrates how to build an MCP server using Python, offering a command-line interface and MCP-based access to weather data. It leverages the OpenWeatherMap API to fetch current conditions, daily and hourly forecasts, and weather alerts for locations worldwide. The project includes features like automatic location detection, API connection testing, and subscription status checks. Furthermore, it provides a well-structured development environment with pre-commit hooks, linting, and testing configurations, making it an ideal starting point for creating custom MCP servers.