mcp-weather-israel-playwright
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., "@mcp-weather-israel-playwrightwhat's the weather forecast for Tel Aviv tomorrow?"
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.
MCP with Playwright - Weather (Israel)
This project is the MCP (Model Context Protocol) assignment from Malka Baruch's course: "MCP with Playwright".
Project purpose
The MCP server provides weather forecasts for Israeli cities using Playwright to drive a real browser and scrape data from https://www.weather2day.co.il/forecast. The goal is to enable an LLM (Claude) to control a browser through exposed Tools so it can retrieve live web data without a traditional API.
Related MCP server: MCP Playwright Weather Israel
What I implemented
Tools (MCP server - weather_Israel.py):
open_weather_forecast_israel()Opens a Chromium browser (headless=False) and navigates to the forecast site. Keeps the browser and Page instances in a global context to persist between Tool calls.
enter_weather_search_israel(city: str)Types the given city name into the site's search field and waits for the autocomplete list to appear.
select_weather_forecast_city_israel()Selects the first autocomplete result (or presses Enter) and waits for the forecast page to load.
extract_weather_data_israel()Extracts the visible forecast text from the loaded page and performs cleaning to remove advertisements and UI noise so the LLM receives only useful weather data.
How to run
From the
project-templatefolder:
cd C:\Users\user1\Downloads\dovrot-ai-projects-master\dovrot-ai-projects-master\8-mcp\project-template
uv sync
uv run playwright install chromiumStart the host (terminal chat interface):
uv run host.pyIn the host chat prompt, ask a question such as:
"מה התחזית בתל אביב היום?"
"תן חיזוי גשם בתל אביב מחר"
The host should route the request to the weather-Israel MCP and the LLM will call the Tools in sequence (open → enter → select → extract) to fetch and return the forecast.
Submission instructions
Push the repository to GitHub as a public repo.
Include this
README.mddescribing purpose and run instructions.Make sure
.envis not committed with real API keys. Use.env.examplewith placeholders.
Notes and troubleshooting
Ensure
ANTHROPIC_API_KEYis set in your environment if running with the Anthropic SDK (Claude).If Playwright selectors break (site changed), update the selectors in
weather_Israel.pyaccording to the site's HTML (inspect with DevTools).
This README follows the course submission guidelines: purpose, run steps, and example queries.
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
- Flicense-qualityCmaintenanceEnables an LLM to retrieve Israeli weather forecasts by controlling a real Chromium browser to search and scrape a weather site.
- Flicense-qualityCmaintenanceEnables LLMs to retrieve Israeli weather forecasts by controlling a browser via Playwright and scraping data from an Israeli weather website.
- FlicenseAqualityBmaintenanceEnables LLMs to fetch Israeli weather forecasts by controlling a real browser via Playwright, simulating human interactions like typing and clicking on a weather website.4
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
Enable language models to perform advanced AI-powered web scraping with enterprise-grade reliabili…
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/esty783/mcp-weather-israel-playwright'
If you have feedback or need assistance with the MCP directory API, please join our Discord server