Weather Israel MCP Server
Agente meteorológico de IA con MCP, Gemini y Playwright
Resumen
Este proyecto implementa un agente de IA que obtiene información meteorológica actual de ciudades de Israel utilizando el Model Context Protocol (MCP), Google Gemini y Playwright.
Cuando el usuario pregunta por el tiempo en una ciudad, el agente abre un sitio web meteorológico, busca la ciudad solicitada, extrae la información meteorológica de la página y devuelve una respuesta basada en el contenido del sitio web.
El proyecto también incluye un paso sencillo de recuperación, donde la información meteorológica se extrae de la página web y se proporciona al modelo de lenguaje como contexto adicional antes de generar la respuesta final.
Related MCP server: Israel Weather MCP Server
Tecnologías
Python
Google Gemini API
MCP (Model Context Protocol)
Playwright
AsyncIO
python-dotenv
Estructura del proyecto
host.py # Main chat application
client.py # MCP client
weather_Israel.py # MCP weather server
README.md
requirements.txtCómo funciona
El usuario pregunta por el tiempo en una ciudad israelí.
Gemini selecciona las herramientas MCP adecuadas.
Playwright abre el sitio web meteorológico.
La ciudad solicitada se introduce en el cuadro de búsqueda.
La ciudad se selecciona de la lista de autocompletar.
Se carga la página meteorológica.
La información meteorológica se extrae de la página.
El texto extraído se devuelve a Gemini.
Gemini genera la respuesta final utilizando la información extraída.
Características
Admite consultas meteorológicas de ciudades de Israel.
Acepta nombres de ciudades en hebreo o inglés.
Utiliza Playwright para navegar por un sitio web meteorológico en vivo.
Extrae la información meteorológica directamente del sitio web.
Proporciona el contenido extraído al modelo de lenguaje antes de responder.
Utiliza el contenido del sitio web en lugar de depender del conocimiento interno del modelo.
Instalación
Clona el repositorio:
git clone https://github.com/YisNiz/AI-MCP-with-RAG-projectInstala los paquetes necesarios:
pip install -r requirements.txtCrea un archivo .env que contenga:
GEMINI_API_KEY=YOUR_API_KEYInstala los navegadores de Playwright:
playwright installEjecuta el proyecto:
python host.pyPreguntas de ejemplo
¿Qué tiempo hace en Jerusalén?
Tiempo en Tel Aviv
מזג האוויר בחיפה
מה מזג האוויר בבאר שבע?
Notas
La información meteorológica se obtiene de un sitio web meteorológico en vivo.
El modelo de lenguaje recibe instrucciones para responder utilizando el contenido extraído del sitio web.
El proyecto demuestra la integración de un LLM con herramientas MCP y automatización del navegador.
Autor
Yisca Nazri
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
- FlicenseNot gradedqualityDmaintenanceEnables users to retrieve real-time weather forecasts for Israeli cities by autonomously browsing a weather website using Playwright.
- FlicenseNot gradedqualityCmaintenanceProvides LLMs with real-time weather forecasts for Israeli cities using browser automation with Playwright to scrape live data from a weather website.
- FlicenseNot gradedqualityCmaintenanceEnables LLMs to retrieve Israeli weather forecasts by controlling a browser via Playwright and scraping data from an Israeli weather website.
- FlicenseNot gradedqualityBmaintenanceRetrieves current weather information for Israeli cities by scraping a live weather website using Playwright, and provides the data to the language model as context.
Related MCP Connectors
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs
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/leahlevovitz/AI-MCP-with-RAG-project'
If you have feedback or need assistance with the MCP directory API, please join our Discord server