Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Weather Israel

FreeNot checked

Enables fetching weather forecasts for Israeli cities via browser automation with Playwright, no API needed.

GitHubEmbed

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 מחזיר תחזית לפי קואורדינטות גיאוגרפיות

from github.com/rivka-git/mcp

Install Weather Israel in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install weather-israel-mcp

Installs 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-client

FAQ

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

Compare 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