MCP Weather Server
Provides access to AccuWeather's meteorological data for retrieving weather information and forecasts
Integrates with Google Weather via SerpApi to retrieve weather data and conditions
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Weather Server
The MCP Weather Server is a comprehensive Model Context Protocol (MCP) compliant server designed to provide AI agents with access to real-time and historical weather data. Built using Python and FastAPI, it integrates with multiple weather APIs to deliver accurate, up-to-date meteorological information.
Key Features
Model Context Protocol (MCP) compliance for seamless AI agent integration
Multiple API integration: OpenMeteo, Tomorrow.io, Google Weather (via SerpApi), OpenWeatherMap, and AccuWeather.
Comprehensive weather data: current conditions, forecasts, historical data, and alerts
Robust error handling and data validation
Configurable through environment variables
Extensive logging and monitoring capabilities
RESTful API design with JSON responses
Built-in testing and validation tools
Related MCP server: OpenWeather MCP Server
Installation & Setup
Prerequisites
Python 3.8 or higher
pip package manager
Internet connection for API access
Optional: Tomorrow.io API key for premium features
Installation Steps
Clone or download the project files
Install dependencies:
pip install -r requirements.txtCopy
.env.exampleto.envConfigure environment variables (optional Tomorrow.io API key)
Run the server:
python -m mcp_weather_server.server
Project Structure
mcp-weather-server/
├── src/mcp_weather_server/
│ ├── __init__.py
│ ├── server.py
│ ├── tools/
│ │ ├── __init__.py
│ │ ├── open_meteo.py
│ │ └── tomorrow_io.py
│ └── utils/
│ ├── __init__.py
│ └── weather_utils.py
├── requirements.txt
├── pyproject.toml
├── .env.example
├── README.md
├── test_server.py
└── examples.pyThis server cannot be deployed
Maintenance
Related MCP Connectors
NOAA weather for AI agents: conditions, forecasts, observed history. 4 tools, free, no key.
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Related MCP Servers
- AlicenseBqualityAmaintenanceProvides comprehensive access to Open-Meteo APIs for weather forecasts, historical data, air quality, and marine conditions. It enables LLMs to query specialized meteorological models, perform geocoding, and access advanced climate or flood projections.172,437 npm73MIT
- AlicenseNot gradedqualityDmaintenanceProvides real-time weather data and forecasts for locations worldwide using the OpenWeatherMap API. It enables AI assistants to retrieve current conditions, temperature, and forecasts through a simple tool-based interface.MIT
- AlicenseAqualityDmaintenanceProvides comprehensive access to Open-Meteo weather APIs, including forecasts, historical data, air quality, marine weather, and geocoding, enabling LLMs to retrieve weather information and location data.172,437 npmMIT
- AlicenseNot gradedqualityFmaintenanceProvides weather and climate intelligence for AI agents, including current conditions, forecasts, historical data, severe-weather alerts, agricultural outlook, and travel conditions via free and paid tools.1MIT