Skip to main content
Glama
YL4279

israel-weather-mcp

by YL4279

Israel Weather MCP

Project Description

This project implements a dedicated MCP Server for retrieving weather forecasts for cities in Israel.

Unlike an implementation based on an external API, this project performs the retrieval using Playwright, which simulates the actions of a human user in a browser: opening the weather site, entering a city name, selecting the city from the dropdown list, and retrieving the forecast data from the results page.

The purpose of the project is to demonstrate how the capabilities of an LLM can be extended using MCP and browser automation tools, so that the model is able not only to answer questions but also to perform actual actions in order to gather information.


Related MCP server: mcp-playwright-weather-israel

Learning Objectives

The following capabilities were implemented as part of the project:

  • Implementing a standalone MCP Server

  • Exposing Tools for use by an LLM

  • Using Playwright for browser automation

  • Fetching information from a website and returning it in a clean textual format


Technologies

  • Python

  • MCP SDK

  • Playwright

  • Local Google Chrome


Project Structure

project-template/

├── client.py

├── host.py

├── weather_USA.py

├── weather_Israel.py

└── README.md


How to Run

Installing dependencies:

uv sync

Running the project:

uv run host.py


Setting Up Local Chrome

The project uses a local Chrome browser.

In the file weather_Israel.py, the path to the executable file must be set:

LOCAL_CHROME = r"C:\Program Files\Google\Chrome\Application\chrome.exe"

If Chrome is installed in a different path, update it accordingly.


The Tools Implemented

open_weather_forecast_israel

Opens the weather site.

enter_weather_forecast_city_israel

Enters the city name in the search field.

select_weather_forecast_city_israel

Selects the city from the autocomplete list.

get_weather_forecast_israel

Runs the full sequence of actions, extracts the data from the page, and returns a clean forecast for use by the LLM.


Example Queries

What is the weather in Jerusalem?

What is the forecast in Haifa?

What is the weather in Tel Aviv?


Example Output

City: Jerusalem

Temperature: 11.8°

Last update: 19:10

Humidity: 71%

Wind: 15.8 km/h


Summary

The project demonstrates how MCP and Playwright can be used to allow an LLM to interact with a real website, gather information in real time, and return a focused and relevant answer to the user.

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs

  • Zenrows MCP server — Fetch, Extract, Batch, and Browser Sessions for AI coding assistants

  • WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)

View all MCP Connectors

Latest Blog Posts

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/YL4279/israel-weather-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server