Weather Israel MCP Server
MCP, Gemini 및 Playwright를 사용한 AI 날씨 에이전트
개요
이 프로젝트는 MCP(Model Context Protocol), Google Gemini 및 Playwright를 사용하여 이스라엘 도시의 현재 날씨 정보를 검색하는 AI 에이전트를 구현합니다.
사용자가 도시의 날씨를 물어보면 에이전트는 날씨 웹사이트를 열고, 요청된 도시를 검색하고, 페이지에서 날씨 정보를 추출한 후 웹사이트 내용을 기반으로 답변을 반환합니다.
이 프로젝트는 또한 간단한 검색 단계를 포함하며, 여기서 날씨 정보는 웹 페이지에서 추출되어 최종 응답을 생성하기 전에 언어 모델에 추가 컨텍스트로 제공됩니다.
Related MCP server: Israel Weather MCP Server
기술 스택
Python
Google Gemini API
MCP (Model Context Protocol)
Playwright
AsyncIO
python-dotenv
프로젝트 구조
host.py # Main chat application
client.py # MCP client
weather_Israel.py # MCP weather server
README.md
requirements.txt작동 방식
사용자가 이스라엘 도시의 날씨를 묻습니다.
Gemini가 적절한 MCP 도구를 선택합니다.
Playwright가 날씨 웹사이트를 엽니다.
요청된 도시가 검색 상자에 입력됩니다.
자동 완성 목록에서 도시가 선택됩니다.
날씨 페이지가 로드됩니다.
페이지에서 날씨 정보가 추출됩니다.
추출된 텍스트가 Gemini에 반환됩니다.
Gemini가 추출된 정보를 사용하여 최종 답변을 생성합니다.
기능
이스라엘 도시의 날씨 쿼리를 지원합니다.
히브리어 또는 영어로 된 도시 이름을 허용합니다.
Playwright를 사용하여 실시간 날씨 웹사이트를 탐색합니다.
웹사이트에서 직접 날씨 정보를 추출합니다.
답변 전에 추출된 콘텐츠를 언어 모델에 제공합니다.
모델의 내부 지식에 의존하는 대신 웹사이트 콘텐츠를 사용합니다.
설치
저장소를 클론합니다:
git clone https://github.com/YisNiz/AI-MCP-with-RAG-project필요한 패키지를 설치합니다:
pip install -r requirements.txt다음을 포함하는 .env 파일을 생성합니다:
GEMINI_API_KEY=YOUR_API_KEYPlaywright 브라우저를 설치합니다:
playwright install프로젝트를 실행합니다:
python host.py예시 질문
예루살렘의 날씨는 어떻습니까?
텔아비브의 날씨
מזג האוויר בחיפה
מה מזג האוויר בבאר שבע?
참고 사항
날씨 정보는 실시간 날씨 웹사이트에서 검색됩니다.
언어 모델은 추출된 웹사이트 콘텐츠를 사용하여 답변하도록 지시받습니다.
이 프로젝트는 LLM과 MCP 도구 및 브라우저 자동화의 통합을 보여줍니다.
작성자
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