Weather Israel MCP
Provides weather forecast data for cities in Israel by scraping weather2day.co.il via Playwright, and for the USA via NWS API, with the OpenAI model managing the conversation.
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 what's the weather forecast for tomorrow 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.
š¦ļø Weather Israel MCP
An MCP (Model Context Protocol) project that lets an LLM pull weather forecasts for cities in Israel ā directly from the browser, no API, using Playwright.
šÆ Project Goal
Instead of relying on a built-in API, the Agent opens a Chrome browser, navigates to the weather2day.co.il site, searches for a city, selects it from the list ā and then reads the page content and provides a full forecast.
Related MCP server: Israeli Weather MCP
š ļø Tech Stack
Tool | Role |
Defining Tools and running the MCP server | |
Browser control ā navigation, typing, clicking | |
The language model that manages the conversation | |
Environment and dependency management |
š Project Structure
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 # ×Ŗ×××××Ŗ ×פר××קך Running the Project
1. Installing Dependencies
uv sync2. Installing Chrome Browser for Playwright
uv run playwright install chromium3. Setting Up the API Key
Create a .env file in the directory:
OPENAI_API_KEY=your_openai_api_key_here4. Running
uv run host.pyš¬ Example Questions
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?š§© The weather_Israel MCP Tools
Tool | Description |
| Opens a browser and navigates to the weather site |
| Types a city name in the search field |
| Selects the matching city from the dropdown list |
| Reads the page content and returns the forecast to the LLM (RAG) |
š§© The weather_USA MCP Tools
Tool | Description |
| Returns weather alerts by state code (e.g. |
| Returns a forecast by geographic coordinates |
Available Tools
4 toolsenter_weather_forecast_city_israelC
××× ×Ŗ ×©× ××¢×ר ×ש×× ×××פ×ש.
Inputs: city_name (required).
extract_weather_data_from_pageA
×××ׄ ××Ŗ ×Ŗ××× ×××§×”× ××××£ ×× ×××× ××× ×©×-LLM ×××× ×קר×× ××Ŗ ××Ŗ××××Ŗ. ××× ×©×× ×-RAG ש×הפק ×§×× ××§×”× ×××××.
Inputs: no named parameters.
open_weather_forecast_israelA
פת×××Ŗ ××תר ×× ×××× ×××£ ××Ŗ××××Ŗ.
Inputs: no named parameters.
select_weather_forecast_city_israelB
×××רת ××¢×ר ××רש××× ×× ×¤×Ŗ××Ŗ.
Inputs: no named parameters.
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 represents a distinct step in a clear browser workflow: open the site, enter a city, select a city, and extract text. Even though enter and select both relate to city input, their descriptions clearly distinguish typing into a search field from choosing from a dropdown.
All tool names use snake_case with a verb-noun structure, but the object naming is slightly inconsistent: three names end with 'city_israel' or 'israel', while the extract tool uses 'weather_data_from_page' and drops the location marker. Overall the pattern is readable and predictable.
With only 4 tools, the server is tightly scoped to a single weather-forecast retrieval workflow. Each tool earns its place as a necessary step, and the count is well within the ideal range for a focused server.
The tools cover the core lifecycle of opening the forecast page, entering and selecting a city, and extracting the forecast text for the model. Minor gaps exist, such as no explicit retry, reset, or alternate navigation tool, but the primary user journey is fully supported.
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
MCP server for weather with reasoning ā umbrella advice, outdoor checks, city comparisons.
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant ā Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Weather MCP ā wraps Open-Meteo API (free, no auth)
Related MCP Servers
- FlicenseAqualityDmaintenanceMCP server enabling LLMs to fetch Israeli weather forecasts by automating a browser with Playwright to scrape weather2day.co.il.4-
- FlicenseNot gradedqualityCmaintenanceMCP server that lets users obtain current Israeli city weather forecasts. It uses Playwright to browse Weather2day, extract the forecast page, and feed the cleaned data back to the LLM for natural language responses.-
- FlicenseAqualityDmaintenanceAn MCP server that provides real-time weather data for Israel by automating browser searches via Playwright. It allows LLMs to get current forecasts for Israeli cities through natural language queries.4-
- FlicenseBqualityDmaintenanceMCP server that enables LLMs to retrieve weather forecasts for Israeli cities by automating a browser with Playwright, and also provides US weather alerts and forecasts via NWS API.4-