Skip to main content
Glama

🌦️ Weather Israel MCP

Proyecto MCP (Model Context Protocol) que permite al LLM obtener el pronóstico del tiempo para ciudades de Israel — directamente desde el navegador, sin API, mediante Playwright.


🎯 Objetivo del proyecto

En lugar de depender de una API integrada, el agente abre un navegador Chrome, navega al sitio weather2day.co.il, busca una ciudad, la selecciona de la lista — y luego lee el contenido de la página y proporciona un pronóstico completo.


🛠️ Stack tecnológico

Herramienta

Función

MCP SDK

Definición de Tools y ejecución del servidor MCP

Playwright

Control del navegador — navegación, escritura, clic

OpenAI API

Modelo de lenguaje que gestiona la conversación

uv

Gestión del entorno y dependencias


📁 Estructura del proyecto

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     # תלויות הפרויקט

🚀 Ejecución del proyecto

1. Instalación de dependencias

uv sync

2. Instalación del navegador Chrome para Playwright

uv run playwright install chromium

3. Configuración de la clave API

Crea un archivo .env en la carpeta:

OPENAI_API_KEY=your_openai_api_key_here

4. Ejecución

uv run host.py

💬 Ejemplos de preguntas

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?

🧩 Las Tools de weather_Israel MCP

Tool

Descripción

open_weather_forecast_israel

Abre el navegador y navega al sitio del clima

enter_weather_forecast_city_israel

Escribe el nombre de una ciudad en el campo de búsqueda

select_weather_forecast_city_israel

Selecciona la ciudad adecuada de la lista desplegable

extract_weather_data_from_page

Lee el contenido de la página y devuelve el pronóstico al LLM (RAG)


🧩 Las Tools de weather_USA MCP

Tool

Descripción

get_alerts_in_USA

Devuelve alertas meteorológicas según el código de estado (p. ej. CA, NY)

get_forecast_in_USA

Devuelve el pronóstico según coordenadas geográficas

-
license - not tested
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 Connectors

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

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

  • US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.

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/miri0612/weather-mcp-with-playwright'

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