Weather Israel MCP Server
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., "@Weather Israel MCP Server What's the weather in Tel Aviv today?"
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.
Weather Israel MCP Server ๐ค๏ธ
A Python and Playwright-based MCP (Model Context Protocol) server that enables Large Language Models (LLMs) to retrieve up-to-date weather forecasts for various cities in Israel from weather2day.co.il.
๐ Key Features
Full MCP Integration: Provides a structured set of tools for executing search and data extraction workflows.
Efficient Browser Management (Singleton Pattern): Maintains a single active Playwright session across all search steps.
Built-in Hebrew Support: Explicit prompts instruct the LLM to pass city names in Hebrew for accurate search results.
Targeted Content Extraction (RAG): Extracts and cleans text from the forecast page, delivering a focused context payload to the language model.
Related MCP server: Israeli Weather MCP Agent
๐ ๏ธ Available Tools
The server provides the following tools, designed to be called in sequential order:
open_weather_forecast_israel
Opens the browser and navigates to the main Israeli weather forecast homepage.enter_weather_forecast_city_israel(city_name: str)
Types the requested city name (in Hebrew) into the site's search field.select_weather_forecast_city_israel
Selects the first suggestion from the autocomplete dropdown list and navigates to the corresponding forecast page.get_weather_forecast_content_israel
Extracts text content from the forecast page, cleans whitespace and empty lines, and returns up to 3,000 characters to the LLM.
๐ฌ Example Queries
Here are examples of questions you can ask the Agent:
"What is the weather forecast in Jerusalem today?"
"Is it going to rain in Tel Aviv?"
"What is the temperature in Haifa right now?"
"ืื ืืชืืืืช ืืื ื ืืจืง ืืืืื?"
๐ฆ Prerequisites and Installation
Prerequisites
Python 3.10 or higher
uvpackage manager (recommended)
Installing Dependencies
Install the required packages and Playwright browser binaries:
uv pip install mcp playwright
uv run playwright install chromium
๐ป Running the Server
Run the server directly using uv:
uv run weather_Israel.py
Configuration in Host Client (e.g., Claude Desktop / MCP Client)
{
"mcpServers": {
"weather-israel": {
"command": "uv",
"args": [
"run",
"--with",
"mcp",
"--with",
"playwright",
"path/to/weather_Israel.py"
]
}
}
}
๐ System Architecture
User Query ("What's the weather in Bnei Brak?")
โ
โผ
LLM / Host
โ
โโโบ 1. open_weather_forecast_israel()
โโโบ 2. enter_weather_forecast_city_israel(city_name="ืื ื ืืจืง")
โโโบ 3. select_weather_forecast_city_israel()
โโโบ 4. get_weather_forecast_content_israel()
โ
โผ
LLM Processes Context & Answers UserAvailable Tools
4 toolsenter_weather_forecast_city_israelA
Step 2: Enters the requested city name into the search field on the weather site.
Args: city_name: The name of the city in Hebrew (e.g. 'ืืจืืฉืืื', 'ืชื ืืืื', 'ืืืคื').
Inputs: city_name (required). Returns: result
get_weather_forecast_content_israelA
Step 4: Extracts text content from the loaded city weather page. Call this after select_weather_forecast_city_israel.
Inputs: no named parameters. Returns: result
open_weather_forecast_israelA
Step 1: Opens the browser and navigates to the Israel weather forecast homepage. Call this first before searching for a city.
Inputs: no named parameters. Returns: result
select_weather_forecast_city_israelA
Step 3: Selects the first city result from the autocomplete dropdown list. Call this right after enter_weather_forecast_city_israel.
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 is a distinct step in a sequential flowโopen, enter, select, getโand the step numbers in descriptions make boundaries clear. The two city-related tools (enter and select) are slightly similar in name but their action verbs and descriptions differentiate them well.
All tools follow a snake_case verb-first pattern and share a weather_forecast_israel domain prefix. Minor inconsistencies exist: open_weather_forecast_israel omits 'city,' and get_weather_forecast_content_israel uses 'content' instead of 'city,' but the pattern remains predictable.
Four tools map directly to the four required browser-automation steps, and none feel redundant. This is a well-scoped size for a simple weather lookup workflow.
The tool set covers the full flow from opening the weather site to extracting the city forecast text, so agents can complete a basic lookup. It lacks structured forecast data or alternate input formats, but these are not core to the described workflow.
Maintenance
Related MCP Connectors
Current weather and forecast lookup as an agent tool.
Get current weather for any city and create images from your prompts. Streamline planning, reportsโฆ
Official NWS forecasts and alerts, as one MCP tool through Apify
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides LLMs with real-time weather forecasts for Israeli cities using browser automation with Playwright to scrape live data from a weather website.-
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to retrieve Israeli weather forecasts by controlling a browser via Playwright and scraping data from an Israeli weather website.-
- FlicenseAqualityDmaintenanceEnables querying weather forecasts for Israeli cities by automating browser with Playwright, extracting data from Weather2Day website, and feeding it to an LLM for natural language responses.4-
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to fetch real-time, localized weather forecasts for Israeli cities by using Playwright to autonomously navigate and scrape weather2day.co.il, including handling Hebrew queries and stateful web interactions.-