israel-weather-mcp
Israel Weather MCP
Projektbeschreibung
Dieses Projekt implementiert einen dedizierten MCP-Server zum Abrufen von Wettervorhersagen für Städte in Israel.
Im Gegensatz zu einer Implementierung, die auf einer externen API basiert, erfolgt der Abruf in diesem Projekt über Playwright, das eine Aktion eines menschlichen Benutzers im Browser simuliert: Öffnen der Wetter-Website, Eingabe des Stadtnamens, Auswahl der Stadt aus der Dropdown-Liste und Abrufen der Vorhersagedaten aus der Ergebnisseite.
Das Ziel des Projekts ist es zu demonstrieren, wie die Fähigkeiten eines LLM mithilfe von MCP und Browser-Automatisierungstools erweitert werden können, sodass das Modell nicht nur Fragen beantworten, sondern auch tatsächliche Aktionen zur Informationsbeschaffung ausführen kann.
Related MCP server: mcp-playwright-weather-israel
Lernziele
Im Rahmen des Projekts wurden die folgenden Fähigkeiten umgesetzt:
Implementierung eines eigenständigen MCP-Servers
Bereitstellung von Tools zur Nutzung durch das LLM
Verwendung von Playwright zur Browser-Automatisierung
Abrufen von Informationen von einer Website und deren Rückgabe in einem sauberen Textformat
Technologien
Python
MCP SDK
Playwright
Lokales Google Chrome
Projektstruktur
project-template/
├── client.py
├── host.py
├── weather_USA.py
├── weather_Israel.py
└── README.md
Ausführung
Installation der Abhängigkeiten:
uv sync
Ausführen des Projekts:
uv run host.py
Einrichtung von lokalem Chrome
Das Projekt verwendet einen lokalen Chrome-Browser.
In der Datei weather_Israel.py muss der Pfad zur ausführbaren Datei festgelegt werden:
LOCAL_CHROME = r"C:\Program Files\Google\Chrome\Application\chrome.exe"
Wenn Chrome an einem anderen Pfad installiert ist, muss dieser entsprechend aktualisiert werden.
Die implementierten Tools
open_weather_forecast_israel
Öffnet die W#### ########### Assignment 1 ##########.
(weather.py) - (turtle drawing a house with turtle library Python tkinter canvas error:; NameError: name 'ImageTk is not defined
Available Tools
4 toolsenter_weather_forecast_city_israelC
מזין עיר בתיבת החיפוש.
Inputs: city (required). Returns: result
get_weather_forecast_israelC
מבצע את כל הזרימה ומחזיר תחזית נקייה.
Inputs: city. Returns: result
open_weather_forecast_israelC
פותח את אתר התחזית.
Inputs: no named parameters. Returns: result
select_weather_forecast_city_israelC
בוחר את העיר מהרשימה הנפתחת.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The composite get_weather_forecast_israel performs the entire flow, making the three granular browser-step tools (open, enter, select) redundant and raising 'when to use which' confusion. Descriptions clarify each step's action, but the boundaries between the composite and its sub-steps overlap significantly.
All four tools follow a consistent snake_case verb_noun pattern with the same weather_forecast..._israel stem. The naming is fully predictable and easy to parse.
Four tools is a reasonable raw count, but three are subsumed by the single composite tool, so effectively only one tool earns its place. The set is borderline redundant rather than well-scoped.
The core task—retrieving a clean weather forecast for an Israeli city—is covered by get_weather_forecast_israel. For this narrow domain there are no obvious missing lifecycle operations, though multi-city or forecast-detail coverage is not evident.
Related MCP Connectors
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
Weather MCP — wraps Open-Meteo API (free, no auth)
An MCP server for weather information by @kulybaba
Related MCP Servers
- FlicenseAqualityDmaintenanceMCP server enabling LLMs to fetch Israeli weather forecasts by automating a browser with Playwright to scrape weather2day.co.il.4-
- FlicenseAqualityDmaintenanceAn MCP server that uses Playwright to scrape Israeli weather forecasts from weather2day.co.il by automating a real browser, enabling an LLM to answer questions about current conditions and hourly forecasts for Israeli cities.5-
- FlicenseNot gradedqualityCmaintenanceMCP server that lets users obtain current Israeli city weather forecasts. It uses Playwright to browse Weather2day, extract the forecast page, and feed the cleaned data back to the LLM for natural language responses.-
- FlicenseAqualityDmaintenanceAn MCP server that provides real-time weather data for Israel by automating browser searches via Playwright. It allows LLMs to get current forecasts for Israeli cities through natural language queries.4-