israel-weather-mcp-agent
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@israel-weather-mcp-agent What's the weather in Tel Aviv?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Israel Weather MCP Agent
מטרת הפרויקט
הפרויקט מממש MCP Server ייעודי לתחזית מזג אוויר בישראל באמצעות Playwright, ללא שימוש ב-API מובנה.
המערכת כוללת:
host.py- צ'אט טרמינל שמפעיל LLM + Tools.weather_Israel.py- MCP Server עם כלים לניווט באתר תחזית ישראלי, חיפוש עיר, בחירה ברשימה וחילוץ תוכן.weather_USA.py- שרת דוגמה קיים לתחזית בארה"ב.
Related MCP server: Weather Israel MCP
סטאק טכנולוגי
Python
MCP SDK
Playwright
OpenAI API (Tool Calling)
איך להריץ
להריץ מתוך תיקיית project-template:
cd project-template
uv sync
uv run playwright install chromium
uv run host.pyהגדרת משתני סביבה
יש ליצור/לעדכן קובץ .env:
OPENAI_API_KEY=your_openai_key_here
OPENAI_MODEL=gpt-4.1-miniסימולטור ויזואלי
ניתן לפתוח את תרשים הזרימה של המשימה באופן ויזואלי דרך קובץ ה-HTML הבא:
PROJECT_SPEC_FLOW_SIMULATOR.html בתצוגה ויזואלית
דוגמאות שאלות שה-Agent יודע לענות
מה התחזית בחיפה להיום?מה מזג האוויר בבית שמש היום?Are there active weather alerts in CA?What is the forecast for New York City?
זרימת עבודה תמציתית
המשתמש שואל שאלה בטרמינל.
ה-Host שולח למודל את השאלה + רשימת tools.
המודל מפעיל tools לפי הצורך (open -> enter -> select -> extract).
תוצאות הכלים חוזרות למודל.
המודל מחזיר תשובה סופית למשתמש.
הערות חשובות
אין להעלות את קובץ
.envל-Git.הקובץ
.env.exampleכולל רק תבנית ללא מפתחות.תיתכנה תלות ברשת ובטעינת האתר בזמן אמת.
Available Tools
4 toolsenter_weather_forecast_city_israelA
מזין עיר לשדה החיפוש באתר התחזית הישראלי. מומלץ להפעיל אחרי open_weather_forecast_israel.
Inputs: city (required). Returns: result
extract_weather_forecast_content_israelB
מחלץ תוכן תחזית מהעמוד ומחזיר טקסט נקי ל-LLM. להפעיל אחרי בחירת עיר.
Inputs: no named parameters. Returns: result
open_weather_forecast_israelA
פותח דפדפן ומנווט לעמוד התחזית בישראל. זה כלי פתיחה מומלץ לפני שאר הכלים.
Inputs: no named parameters. Returns: result
select_weather_forecast_city_israelA
בוחר את העיר הראשונה מרשימת ההצעות. אם צריך משתמש גם במקלדת (חץ למטה + Enter).
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
Each tool has a distinct action (open, enter, select, extract) and target, reducing ambiguity. However, the repetitive naming with 'weather_forecast_israel' might cause minor confusion in a larger set.
The naming follows a consistent pattern of verb_weather_forecast_target_israel, but the verbs vary (open, enter, select, extract) without a uniform action prefix. The pattern is recognizable but not fully standardized.
Four tools is well-scoped for a sequential web scraping workflow, providing just enough steps without redundancy. This is an ideal size for the intended purpose.
The tools cover the essential steps for retrieving weather data (open site, search city, select result, extract content). Minor gaps like error handling or direct URL navigation are not included, but the core workflow is complete.
Maintenance
Related MCP Connectors
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Weather MCP — wraps Open-Meteo API (free, no auth)
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables users to retrieve real-time weather forecasts for Israeli cities by autonomously browsing a weather website using Playwright.-
- FlicenseAqualityDmaintenanceEnables fetching weather forecasts for Israeli cities via browser automation with Playwright, no API needed.4-
- FlicenseNot gradedqualityDmaintenanceProvides LLMs with real-time weather forecasts for Israeli cities using browser automation with Playwright to scrape live data from a weather website.-
- FlicenseAqualityDmaintenanceEnables LLMs to retrieve up-to-date weather forecasts for Israeli cities from weather2day.co.il using Playwright and MCP, with Hebrew city name support and a sequential tool workflow.4-