israel-weather-mcp
Israel Weather MCP
プロジェクト概要
このプロジェクトは、イスラエルの都市の天気予報を取得するための専用 MCP サーバーを実装しています。
外部 API に基づく実装とは異なり、このプロジェクトでは Playwright を使用して取得を行います。Playwright はブラウザー上での人間のユーザーの操作をシミュレートします。具体的には、天気予報サイトを開き、都市名を入力し、ドロップダウンリストから都市を選択し、結果ページから予報データを取得します。
このプロジェクトの目的は、MCP とブラウザー自動化ツールを用いることで LLM の能力を拡張する方法を示すことです。モデルは質問に答えられるだけでなく、情報収集のために実際のアクションを実行することもできます。
Related MCP server: mcp-playwright-weather-israel
学習目的
独立した MCP サーバーの実装
LLM が使用するためのツールの公開
Playwright を使用したブラウザーの自動化
Web サイトから情報を取得し、クリーンなテキスト形式で返す
使用技術
Python
MCP SDK
Playwright
ローカル Google Chrome
プロジェクト構成
project-template/
├── client.py
├── host.py
├── weather_USA.py
├── weather_Israel.py
└── README.md
実行方法
依存関係のインストール:
uv sync
プロジェクトの実行:
uv run host.py
ローカル Chrome の設定
このプロジェクトはローカルの Chrome ブラウザーを使用します。
weather_Israel.py ファイルには、実行ファイルへのパスを設定します:
LOCAL_CHROME = r"C:\Program Files\Google\Chrome\Application\chrome.exe"
Chrome が別のパスにインストールされている場合は、それに応じて更新してください。
実装したツール
open_weather_forecast_israel
天気予報サイトを開きます。
enter_weather_forecast_city_israel
検索フィールドに都市名を入力します。
select_weather_forecast_city_israel
オートコンプリートのリストから都市を選択します。
get_weather_forecast_israel
一連の操作全体を実行し、ページからデータを抽出して、LLM が使用できるクリーンな予報を返します。
クエリの例
エルサレムの天気はどうですか?
ハイファの予報どうですか?
テルアビブの天気はどうですか?
出力例
項目 | 値 |
都市 | エルサレム |
気温 | 11.8° |
最終更新 | 19:10 |
湿度 | 71% |
風速 | 15.8 km/h |
まとめ
このプロジェクトでは、MCP と Playwright を利用して、LLM が実際の Web サイトとやり取りし、リアルタイムで情報を収集し、ユーザーに対して的を絞った関連性の高い解答を返すことを実現する方法を実証しています。
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
- FlicenseAqualityCmaintenanceAn MCP server that enables LLMs to automate browser interactions using Playwright to fetch real-time Israeli weather data.4
- FlicenseAqualityCmaintenanceMCP server enabling LLMs to fetch Israeli weather forecasts by automating a browser with Playwright to scrape weather2day.co.il.4
- FlicenseAqualityCmaintenanceAn MCP server that uses Playwright to scrape Israeli weather forecasts from weather2day.co.il by automating a real browser, enabling an LLM to answer questions about current conditions and hourly forecasts for Israeli cities.5
- FlicenseNot gradedqualityCmaintenanceMCP server that lets users obtain current Israeli city weather forecasts. It uses Playwright to browse Weather2day, extract the forecast page, and feed the cleaned data back to the LLM for natural language responses.
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)
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/YL4279/israel-weather-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server