Weather Israel MCP Server

Weather Israel MCP Server

Enables LLMs to retrieve up-to-date weather forecasts for Israeli cities from weather2day.co.il using Playwright and MCP, with Hebrew city name support and a sequential tool workflow.

Category
Visit Server

README

Weather Israel MCP Server šŸŒ¤ļø

A Python and Playwright-based MCP (Model Context Protocol) server that enables Large Language Models (LLMs) to retrieve up-to-date weather forecasts for various cities in Israel from weather2day.co.il.

šŸš€ Key Features

  • Full MCP Integration: Provides a structured set of tools for executing search and data extraction workflows.
  • Efficient Browser Management (Singleton Pattern): Maintains a single active Playwright session across all search steps.
  • Built-in Hebrew Support: Explicit prompts instruct the LLM to pass city names in Hebrew for accurate search results.
  • Targeted Content Extraction (RAG): Extracts and cleans text from the forecast page, delivering a focused context payload to the language model.

šŸ› ļø Available Tools

The server provides the following tools, designed to be called in sequential order:

  1. open_weather_forecast_israel
    Opens the browser and navigates to the main Israeli weather forecast homepage.

  2. enter_weather_forecast_city_israel(city_name: str)
    Types the requested city name (in Hebrew) into the site's search field.

  3. select_weather_forecast_city_israel
    Selects the first suggestion from the autocomplete dropdown list and navigates to the corresponding forecast page.

  4. get_weather_forecast_content_israel
    Extracts text content from the forecast page, cleans whitespace and empty lines, and returns up to 3,000 characters to the LLM.


šŸ’¬ Example Queries

Here are examples of questions you can ask the Agent:

  • "What is the weather forecast in Jerusalem today?"
  • "Is it going to rain in Tel Aviv?"
  • "What is the temperature in Haifa right now?"
  • "מה ×”×Ŗ×—×–×™×Ŗ בבני ברק להיום?"

šŸ“¦ Prerequisites and Installation

Prerequisites

  • Python 3.10 or higher
  • uv package manager (recommended)

Installing Dependencies

Install the required packages and Playwright browser binaries:

uv pip install mcp playwright
uv run playwright install chromium

šŸ’» Running the Server
Run the server directly using uv:


uv run weather_Israel.py
Configuration in Host Client (e.g., Claude Desktop / MCP Client)
{
  "mcpServers": {
    "weather-israel": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp",
        "--with",
        "playwright",
        "path/to/weather_Israel.py"
      ]
    }
  }
}

šŸ“ System Architecture

User Query ("What's the weather in Bnei Brak?")
       │
       ā–¼
  LLM / Host
       │
       ā”œā”€ā–ŗ 1. open_weather_forecast_israel()
       ā”œā”€ā–ŗ 2. enter_weather_forecast_city_israel(city_name="בני ברק")
       ā”œā”€ā–ŗ 3. select_weather_forecast_city_israel()
       └─► 4. get_weather_forecast_content_israel()
       │
       ā–¼
  LLM Processes Context & Answers User

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured