Skip to main content
Glama

🌦️ Weather Israel MCP

MCP(Model Context Protocol) 프로젝트로, LLM이 Playwright를 통해 API 없이 브라우저에서 직접 이스라엘 도시의 날씨 예보를 가져올 수 있게 합니다.


🎯 프로젝트 목적

내장 API에 의존하는 대신, 에이전트는 Chrome 브라우저를 열고 weather2day.co.il 사이트로 이동하여 도시를 검색하고 목록에서 선택한 다음 페이지 내용을 읽고 전체 예보를 제공합니다.


🛠️ 기술 스택

도구

역할

MCP SDK

Tools 정의 및 MCP 서버 실행

Playwright

브라우저 제어 — 탐색, 입력, 클릭

OpenAI API

대화를 관리하는 언어 모델

uv

환경 및 종속성 관리


📁 프로젝트 구조

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

🚀 프로젝트 실행

1. 종속성 설치

uv sync

2. Playwright용 Chrome 브라우저 설치

uv run playwright install chromium

3. API 키 설정

폴더에 .env 파일을 만듭니다:

OPENAI_API_KEY=your_openai_api_key_here

4. 실행

uv run host.py

💬 질문 예시

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?

🧩 weather_Israel MCP의 Tools

Tool

설명

open_weather_forecast_israel

브라우저를 열고 날씨 사이트로 이동

enter_weather_forecast_city_israel

검색 필드에 도시 이름 입력

select_weather_forecast_city_israel

드롭다운 목록에서 해당 도시 선택

extract_weather_data_from_page

페이지 내용을 읽고 예보를 LLM에 반환 (RAG)


🧩 weather_USA MCP의 Tools

Tool

설명

get_alerts_in_USA

주(state) 코드에 따라 날씨 경보 반환 (예: CA, NY)

get_forecast_in_USA

지리적 좌표에 따라 예보 반환

-
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