Weather MCP
Weather MCP
Ein FastMCP-Server, der Wetterdaten von Open-Meteo bereitstellt und über MCP Apps ein interaktives Wetter-Dashboard rendert.

Funktionen
Orte nach Stadt oder Ortsnamen durchsuchen
Aktuelle Bedingungen und bis zu 16 Prognosetage abrufen
Zwischen Celsius und Fahrenheit umschalten
Wetterbeschreibungen und Wettersymbole anzeigen
Orts- und Prognoseantworten fünf Minuten lang zwischenspeichern
Das Dashboard direkt in kompatiblen MCP-Hosts rendern
Related MCP server: bridgemcp-server-weather
Voraussetzungen
Python 3.14+
Einen MCP-Host, der MCP Apps für das interaktive Dashboard unterstützt
Einrichtung
Installieren Sie die Projektabhängigkeiten:
uv syncFür die normale nicht-kommerzielle Nutzung von Open-Meteo ist kein Wetter-API-Schlüssel erforderlich.
Server ausführen
Führen Sie den Server über den standardmäßigen stdio-Transport aus:
uv run python main.pyUntersuchen Sie die registrierten Tools:
uv run fastmcp list main.pyDashboard-Vorschau
FastMCP enthält eine lokale Browser-Vorschau für App-Tools:
uv run fastmcp dev apps main.pyÖffnen Sie die angezeigte lokale URL und wählen Sie weather_dashboard. Das Dashboard unterstützt die Suche nach einem anderen Ort und das Umschalten der Temperatureinheiten.
MCP-Tools
search_locations
Findet passende Orte und gibt deren Koordinaten, Land, Region und Zeitzone zurück.
get_weather
Ruft das aktuelle Wetter und eine Tagesprognose für einen Ort ab.
Argumente:
location: Stadt oder Ortsnameforecast_days: Anzahl der Prognosetage von 1 bis 16temperature_unit:celsiusoderfahrenheit
weather_dashboard
Öffnet das interaktive Wetter-Dashboard mit denselben Wetterargumenten.
Projektstruktur
main.py MCP server entry point
src/tools.py MCP tool registration and response shaping
src/services/weather_service.py Open-Meteo client and response cache
src/formatting.py UI-friendly forecast formatting
src/dashboard.py Prefab MCP App UIDatenquelle
Die Wetterdaten werden von Open-Meteo bereitgestellt, das Prognosen mehrerer nationaler Wetterdienste kombiniert. Prüfen Sie die Open-Meteo-Nutzungsbedingungen und Lizenzbestimmungen vor der kommerziellen Bereitstellung.
Available Tools
3 toolsget_weatherC
Get current conditions and a daily forecast.
Inputs: location (required), forecast_days, temperature_unit. Returns: object
search_locationsC
Find weather locations matching a place name.
Inputs: query (required). Returns: result
weather_dashboardC
Show an interactive weather dashboard with location and unit controls.
Inputs: location (required), forecast_days, temperature_unit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: location search, weather data retrieval, and an interactive dashboard. No overlap or ambiguity in their functions.
Two tools follow the verb_noun pattern (search_locations, get_weather), but weather_dashboard breaks the pattern by leading with a noun. This is a minor deviation that doesn't cause confusion.
Three tools is lean but appropriately scoped for a weather server. It covers the essential workflows without unnecessary bloat.
The core workflow of searching locations and getting weather is covered. Missing advanced features like alerts or historical data, but these are not critical for a basic weather service.
Maintenance
Related MCP Connectors
Weather MCP — wraps Open-Meteo API (free, no auth)
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Unofficial OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides real-time weather updates and city geocoding by integrating the Nominatim and Open-Meteo APIs. It enables users to retrieve current weather conditions for any location through natural language queries in MCP-compatible clients.ISC
- AlicenseNot gradedqualityCmaintenanceProvides weather data including current conditions, forecasts, and summaries via Open-Meteo with no API key required, enabling natural language queries through an MCP interface.MIT
- AlicenseAqualityCmaintenanceMCP server for weather forecasts via Open-Meteo (no API key needed), providing current weather, hourly, and daily forecasts with geocoding support.3MIT
- AlicenseAqualityBmaintenanceMCP server for worldwide weather data, using high-resolution GeoSphere Austria data for the Alpine region and Open-Meteo elsewhere. Provides current conditions, hourly forecasts, and daily outlooks with compact emoji-markdown output.4200 PyPI1MIT