Israel Weather Forecast MCP Server
Click on "Install 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., "@Israel Weather Forecast MCP ServerWhat's the weather forecast for Jerusalem 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.
Israel Weather Forecast MCP Server
A standalone MCP server that fetches an Israeli weather forecast by driving a real browser (Playwright), rather than by calling a conventional API. The idea: the model (the Host, for example, Claude Desktop / Claude Code) calls the tools one after another, exactly like a human user browsing the site: opens the page, types a city name, selects it from the autocomplete list, and finally extracts the page content to answer the user's question.
Project Structure
israel-weather-mcp/
├── server.py # השרת עצמו - כל ה-tools מוגדרים כאן
├── requirements.txt
└── README.mdRelated MCP server: Israel Weather MCP Agent
Implemented Tools
Stage A - Navigation and City Search
Tool | Description |
| Opens a Chromium browser (Playwright) and navigates to the ims.gov.il forecast page |
| Types the city name into the search box on the page |
| Selects the matching city from the autocomplete list that appears |
Stage B - Content Extraction (RAG)
Tool | Description |
| Extracts the text from the forecast page (after selecting a city), cleans out HTML/script/style and returns clean text the LLM can answer from directly in chat |
| Closes the browser when finished |
The typical flow (the call order expected by the LLM):
open_weather_forecast_israel
↓
enter_weather_forecast_city_israel("תל אביב")
↓
select_weather_forecast_city_israel("תל אביב")
↓
get_weather_forecast_content() → הטקסט חוזר למודל, שמנסח תשובה למשתמשInstallation
cd israel-weather-mcp
python -m venv .venv
source .venv/bin/activate # ב-Windows: .venv\Scripts\activate
pip install -r requirements.txt
playwright install chromium # מוריד את הדפדפן שה-Playwright מפעילConnecting to a Host (for example, Claude Desktop)
In the MCP configuration file (for example, claude_desktop_config.json), add:
{
"mcpServers": {
"israel-weather-forecast": {
"command": "python",
"args": ["/נתיב-מלא/israel-weather-mcp/server.py"]
}
}
}After saving, restart the Host. The tools will appear in the list of available tools, and you'll be able to ask, for example: "What's today's forecast in Haifa?" and the Host will run the tools one after another to answer.
Important Note About the Selectors
The exact HTML structure of the ims.gov.il site (the class/id names of the search box,
the autocomplete items and the forecast area) can change with site updates, so
all the selectors are centralized in the SELECTORS dictionary at the top of server.py, with several
alternatives (fallback) for each element. It is recommended:
Run with
HEADLESS = Falseinserver.py(a line near the general settings) to see the browser in action.Open the forecast site in a regular browser, right-click → "Inspect" on the search box / autocomplete list / forecast area, and update the lists in the
SELECTORSdictionary accordingly.
This way you can adapt the server even if you decide to point it at a different Israeli forecast site
(for example, a private company's site) instead of ims.gov.il - you just need to update IMS_FORECAST_URL
and SELECTORS.
Uploading to GitHub
The project is already set up as a local git repo (it has an initial commit). To upload it to GitHub and get a link to send to your lecturer/teacher:
Go to github.com and click New repository (without checking "Add README" / ".gitignore" / "license" - we already have those).
Give it a name, for example
israel-weather-mcp, and click Create repository.In the terminal, inside the project folder (
israel-weather-mcp/), run:git remote add origin https://github.com/<שם-המשתמש-שלכם>/israel-weather-mcp.git git branch -M main git push -u origin mainAfter the push, the link you'll send to your lecturer is the repository URL:
https://github.com/<שם-המשתמש-שלכם>/israel-weather-mcp
If you haven't set up git for the first time on your computer yet, you may need to run once:
git config --global user.name "השם שלכם"
git config --global user.email "האימייל שלכם"Direct Run for Testing (Without a Host)
You can also run a quick test with the MCP CLI:
mcp dev server.pyThis opens a local test interface (MCP Inspector) where you can call the tools directly and see the output, without needing a connection to Claude Desktop.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables LLMs to query real-time weather data in Israel by automating a browser to scrape weather2day.co.il.4
- FlicenseNot gradedqualityDmaintenanceEnables users to retrieve real-time weather forecasts for Israeli cities by autonomously browsing a weather website using Playwright.
- FlicenseBqualityCmaintenanceEnables users to query weather forecasts for Israeli cities through natural language using browser automation and Gemini.4
- FlicenseNot gradedqualityCmaintenanceProvides LLMs with real-time weather forecasts for Israeli cities using browser automation with Playwright to scrape live data from a weather website.
Related MCP Connectors
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mali8573/israel-weather-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server