MCP-Weather-Server

MCP-Weather-Server

3.2

If you are the rightful owner of MCP-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.

Weather Information Service provides weather alerts and forecasts using the National Weather Service API.

The Weather Information Service is a project designed to fetch and provide weather information, including alerts and forecasts, from the National Weather Service (NWS) API. The core functionality is implemented in the `weather.py` script, which uses the `FastMCP` framework to expose tools for fetching weather data. The project is structured to support containerization with Docker and includes configuration for running the service using Smithery. Logging is implemented in a structured JSON format for production environments, with a more readable format for development.

Features

  • Fetches active weather alerts for US states.
  • Provides weather forecasts for specific geographical locations.
  • Uses structured JSON logging for production environments.
  • Supports containerization with Docker.
  • Configurable logging levels and formats.

Tools

  1. Get Weather Alerts

    Get weather alerts for designated states

  2. Get Weather Forecast

    Get weather forecasts for specified locations