Skip to main content
Glama
digitalgreenorg

MCP Weather Server

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

  1. Clone or download the project files

  2. Install dependencies: pip install -r requirements.txt

  3. Copy .env.example to .env

  4. Configure environment variables (optional Tomorrow.io API key)

  5. 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.py
F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Provides 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.
    Last updated
    17
    1,827
    63
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Provides 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.
    Last updated
    MIT
  • F
    license
    -
    quality
    B
    maintenance
    Provides real-time weather data via 12 tools (current weather, forecasts, air quality, umbrella advice, etc.) using Open-Meteo and FastMCP, enabling LLMs to answer weather-related queries.
    Last updated
    1

View all related MCP servers

Related MCP Connectors

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

  • US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.

  • Real-world data for agents: air quality, geocoding, quakes, holidays, web search

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/digitalgreenorg/AgMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server