Weather Israel
FreeNot checkedEnables fetching weather forecasts for Israeli cities via browser automation with Playwright, no API needed.
About
Enables fetching weather forecasts for Israeli cities via browser automation with Playwright, no API needed.
README
פרויקט MCP (Model Context Protocol) שמאפשר ל-LLM לשלוף תחזית מזג אוויר לערים בישראל — ישירות מהדפדפן, ללא API, באמצעות Playwright.
🎯 מטרת הפרויקט
במקום להסתמך על API מובנה, ה-Agent פותח דפדפן כרום, מנווט לאתר weather2day.co.il, מחפש עיר, בוחר אותה מהרשימה — ואז קורא את תוכן הדף ומספק תחזית מלאה.
🛠️ סטאק טכנולוגי
| כלי | תפקיד |
|---|---|
| MCP SDK | הגדרת Tools והרצת שרת MCP |
| Playwright | שליטה בדפדפן — ניווט, הקלדה, לחיצה |
| OpenAI API | מודל השפה שמנהל את השיחה |
| uv | ניהול סביבה ותלויות |
📁 מבנה הפרויקט
project-template/
├── client.py # MCP Client גנרי — מתחבר לשרתי MCP
├── host.py # צ'אט טרמינל שמחבר את הכל יחד
├── weather_USA.py # MCP Server לתחזית ארה"ב (דרך NWS API)
├── weather_Israel.py # MCP Server לתחזית ישראל (דרך Playwright)
├── .env # מפתח API (לא מועלה ל-Git)
└── pyproject.toml # תלויות הפרויקט
🚀 הרצת הפרויקט
1. התקנת תלויות
uv sync
2. התקנת דפדפן כרום עבור Playwright
uv run playwright install chromium
3. הגדרת מפתח API
צור קובץ .env בתיקייה:
OPENAI_API_KEY=your_openai_api_key_here
4. הרצה
uv run host.py
💬 דוגמאות לשאלות
Query: what is the weather in Jerusalem?
Query: מה התחזית לתל אביב?
Query: האם גשום היום בחיפה?
Query: what is the weather forecast for Bnei Brak?
Query: what are the weather alerts in NY?
Query: what is the forecast for latitude 40.7, longitude -74.0?
🧩 ה-Tools של weather_Israel MCP
| Tool | תיאור |
|---|---|
open_weather_forecast_israel |
פותח דפדפן ומנווט לאתר מזג האוויר |
enter_weather_forecast_city_israel |
מקליד שם עיר בשדה החיפוש |
select_weather_forecast_city_israel |
בוחר את העיר המתאימה מהרשימה הנפתחת |
extract_weather_data_from_page |
קורא את תוכן הדף ומחזיר את התחזית ל-LLM (RAG) |
🧩 ה-Tools של weather_USA MCP
| Tool | תיאור |
|---|---|
get_alerts_in_USA |
מחזיר התראות מזג אוויר לפי קוד מדינה (e.g. CA, NY) |
get_forecast_in_USA |
מחזיר תחזית לפי קואורדינטות גיאוגרפיות |
Install Weather Israel in Claude Desktop, Claude Code & Cursor
unyly install weather-israel-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add weather-israel-mcp -- uvx mcp-clientFAQ
Is Weather Israel MCP free?
Yes, Weather Israel MCP is free — one-click install via Unyly at no cost.
Does Weather Israel need an API key?
No, Weather Israel runs without API keys or environment variables.
Is Weather Israel hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Weather Israel in Claude Desktop, Claude Code or Cursor?
Open Weather Israel on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Playwright
Browser automation, scraping, screenshots
by MicrosoftPuppeteer
Browser automation and web scraping.
by modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
by opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
by robhunterCompare Weather Israel with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All browse MCPs
