Israel Weather MCP
by lea-blum
README.md
# Israel Weather MCP Server š¦ļøš®š±
פר×××§× ×× ×××ש שרת **MCP (Model Context Protocol)** ×××פשר ×××××× ×©×¤× (LLMs) ××שת ×ש×ר××Ŗ ×× ×Ŗ×× × ××× ××××ר ×¢××× ××× ××שר×× ×××צע××Ŗ ×××××צ×× ×©× ×פ××¤× (Playwright).
×× ×××× ×ש×××ש ×-API ×”×× ×ר××, ×שרת פ××Ŗ× ×פ×פ×, ×× ××× ××תר [Weather2Day](https://www.weather2day.co.il/forecast), ××××ׄ ××Ŗ ×××××¢ ×ר×××× ×× ×צ××Ø× ××× ×××Ŗ.
## š ×Ŗ××× ××Ŗ ×¢×קר×××Ŗ
* **×××××צ×× ××××:** × ×××× ××תר, ××Ŗ××××××Ŗ ×¢× ×××× ×××Ŗ Cookies ×××פ×ש ער××.
* **××××××Ŗ RAG:** ××××ׄ ×Ŗ××× ××§×”××××× ××××£ ××× ××פשר ××××× ×הפק תש××××Ŗ ×פ×ר×××Ŗ ××××××§××Ŗ.
* **××שק FastMCP:** פ××Ŗ×× ×××ר ×× ×× ×¢× ××”××” ×-SDK ×רש××.
## š ļø ××× ×××××××Ŗ
* Python 3.10+
* [MCP SDK](https://github.com/modelcontextprotocol)
* [Playwright](https://playwright.dev/python/) (×××××צ×× ×©× ×פ×פ×)
* FastMCP
## š¦ ××Ŗ×§× × ××רצ×
1. **×”× ×ר×× ×”××××Ŗ ××¢××××:**
×××× ×©×××Ŗ×§× ×צ××× `uv` ××ר×צ×:
```bash
uv sync
2. **××Ŗ×§× ×Ŗ ×פ××¤× Playwright**
×ר××¦× ××Ŗ ×פק××× ×××× ××× ×××Ŗ×§×× ××Ŗ ××× ××¢ ×©× Chromium ××ר×ש ×פע×××Ŗ ××”×××:
```bash
uv run playwright install chromium
3. ×רצת ×-Host
××× ×××Ŗ××× ×××ר ×¢× ×-Agent, ×ר××¦× ××Ŗ ×§××ׄ ××××Ø× (Host):
Bash
uv run host.py
š ×××××××Ŗ ×ש××××Ŗ ש×-Agent ××××¢ ××¢× ××Ŗ
×××ר ×רצת ×-Host, ×Ŗ×××× ×ש××× ××ר××× × ×©××××Ŗ ××××:
"×× ××× ×××××ר ×¢×ש×× ××ר×ש×××?"
"××× ×¦×¤×× ××©× ××× × ×רק ××××××× ×קר××××?"
"×Ŗ× ×× ×Ŗ××××Ŗ ×פ×ר××Ŗ ××Ŗ× ×××× ×××××."
"×× ×××פר×××Ø× ×××§×”×××××Ŗ ×××Ŗ××× × ×Ŗ ×××פ×?"
šļø ××× × ×פר×××§×
weather_Israel.py: שרת ×-MCP ××××× ××Ŗ ××××× (Tools) ×ש×××× ××פ××¤× ×××××ׄ ××Ŗ××× ×××תר×× ×ר×××× ××××.
host.py: ×××שק ××ר××× ×©×××ר ××× ×-LLM (Claude) ×××× ×©×Ø×Ŗ× ×-MCP.
client.py: ××××§×Ŗ ××§×× ×× ×Ø××Ŗ ××× ×××Ŗ ××Ŗ ×תקש×רת ××× ×שרת××.
ā ļø ××¢×Ø× ××שת××©× × ×פר×
××§×× ×××× ×××ר××Ŗ ×Ŗ×××××Ŗ ×¢××ר ×שת××©× NetFree (××××× ×××××Ŗ SSL ×-httpx) ××× ××פשר ×¢×××× ×××§× ×¢× ×-API ×©× Anthropic ×××××©× ××תר×× ××”×××× ××”×× × ×Ŗ.
š” ××ש×× ××× ×××
ש×××ש ×-RAG: ××”××× ×שת×ש ×××× get_weather_page_content ××× ×××ׄ ××§×”× ××××× ×××תר ×××עש×ר ××Ŗ ××§×× ××§×”× ×©× ××××× ×××××¢ ×¢××× ×.
×××××צ××: ×פר×××§× ×××× ×¤×¢××××Ŗ ×× ×ש×××Ŗ ××× ××§××× ××××Ŗ× × ××××× ××× (Selectors) ××× ×××××× ×××× ××Ŗ ××××× ×ש××פת ×× ×Ŗ×× ××.
TDQS
B3.3/5.0
Scored across 4 tools
Disambiguation5/5
Each tool has a distinct step in the weather scraping workflow (open site, enter city, select city, get page content). No overlap in purpose or function.
Naming Consistency4/5
Tools consistently use verb_weather_forecast_city_israel pattern for three, but get_weather_page_content deviates slightly. Minor inconsistency but still predictable.
Tool Count5/5
4 tools is appropriate for the narrow scope of fetching a weather forecast from a specific website. Not too few or too many.
Completeness3/5
The tools cover the scraping workflow but lack other common weather operations (e.g., multiple cities, different forecast types, structured data output). Notable gaps for a general weather MCP.
Maintenance
ActivityInactive
ResponsivenessNo issues