Israel Weather MCP Server

Israel Weather MCP Server

An MCP server that provides real-time weather data for Israel by automating browser searches via Playwright. It allows LLMs to get current forecasts for Israeli cities through natural language queries.

Category
Visit Server

README

šŸ‡®šŸ‡± Israel Weather MCP Server — Professional Documentation

×‘×Ø×•×›×™× הבאים ×œ×¤×Ø×•×™×§×˜ Israel Weather MCP Server! ×¤×Ø×•×™×§×˜ זה הוא מימוש ×ž×Ŗ×§×“× של שרת Model Context Protocol (MCP) מקומי המשלב אוטומציה חכמה של דפדפן ×‘××ž×¦×¢×•×Ŗ Playwright, ×‘×ž×˜×Ø×” להפק למודיעין של מודלי שפה גדולים (LLMs) נתוני מזג אויר בזמן ××ž×Ŗ ×ž×ž×§×•×Ø×•×Ŗ ×™×©×Ø××œ×™×™×.


🌟 תכונות עיקריות (Key Features)

  • שרת MCP ×ž×•×Ŗ×× אישית (Custom MCP Server): השרת נבנה על גבי ה-SDK ×”×Ø×©×ž×™ ×•×ž×’×“×™×Ø ×¤×Ø×•×˜×•×§×•×œ תקשורת ×”×˜× ×“×Ø×˜×™ ×”×ž××¤×©×Ø למודל השפה ×œ×§×Ø×•× ×œ×¤×•× ×§×¦×™×•×Ŗ (Tools) ייעודיות באופן דינמי ×Ŗ×•×š כדי שיחה.

  • ××•×˜×•×ž×¦×™×™×Ŗ דפדפן חכמה עם Playwright: במקום ×œ×”×”×Ŗ×ž×š על ממשקי API הטטיים או מוגבלים, ×”×ž×¢×Ø×›×Ŗ ×ž×Ø×™×¦×” דפדפן ברקע (Headless Mode), ×ž× ×•×•×˜×Ŗ באופן אוטומטי ×‘××Ŗ×Ø×™× ייעודיים למזג אויר ×‘×™×©×Ø××œ, מזינה את שם העיר בשורת החיפוש, בוחרת את התוצאה ×ž×”×Ŗ×¤×Ø×™×˜ הנפתח ×•×©×•×œ×¤×Ŗ את המידע המדויק.

  • ×ž××Ø×— צ'אט ×˜×Ø×ž×™× ×œ ××™× ×˜×Ø××§×˜×™×‘×™ (host.py): הביבת עבודה ×”×ž×§×©×Ø×Ŗ בין מודל השפה המקומי לבין כלים חיצוניים. ×”×˜×Ø×ž×™× ×œ ×ž××¤×©×Ø ניהול שיחה רציפה שבה המודל מחליט בעצמו ×ž×Ŗ×™ להפעיל את כלי חיפוש מזג האוויר כדי ×œ×¢× ×•×Ŗ לשאלה.

  • העשרת הקשר (RAG דינמי בזמן ××ž×Ŗ): ×”×ž×¢×Ø×›×Ŗ קוראת את נתוני ה-HTML הגולמיים או טקהט ×ž×Ŗ×•×š עמודי התוצאה של הדפדפן ×•×ž×¢×‘×™×Ø×” ××•×Ŗ× כקונטקהט מדויק ל-LLM, כך שהתשובה ×Ŗ×ž×™×“ ×ž×¢×•×“×›× ×Ŗ לשעה הנוכחית.


šŸ› ļø כלים זמינים ×‘×ž×¢×Ø×›×Ŗ (Available Tools)

×”×ž×¢×Ø×›×Ŗ חושפת בפני המודל כלים ייעודיים המופעלים ××•×˜×•×ž×˜×™×Ŗ לפי ×”×¦×•×Ø×š:

  • כלי חיפוש מזג אוויר מקומי: מקבל שם של עיר ×‘×™×©×Ø××œ (לדוגמה: ×™×Ø×•×©×œ×™×, תל אביב, חיפה), מפעיל את הדפדפן ×ž××—×•×Ø×™ הקלעים, שואב את נתוני ×”×Ŗ×—×–×™×Ŗ המעודכנים ×ž××Ŗ×Ø×™× מובילים, ×•×ž×—×–×™×Ø ××•×Ŗ× כטקהט מובנה למודל.

šŸ’» הטאק טכנולוגי (Tech Stack)

  • Python: שפת הבהיה ×œ×¤×™×Ŗ×•×— הלוגיקה, ניהול השרת ×•×”××™× ×˜×’×Ø×¦×™×•×Ŗ.
  • Anthropic MCP SDK: ×”×ž×”×’×Ø×Ŗ ×”×˜×›× ×•×œ×•×’×™×Ŗ ×”×ž××¤×©×Ø×Ŗ את ניהול ×”×¤×Ø×•×˜×•×§×•×œ והכלים מול ה-LLM.
  • Playwright for Python: הפריית אוטומציה ×¢×•×¦×ž×Ŗ×™×Ŗ לשליטה מלאה בדפדפן Chromium.
  • UV Package Manager: כלי ×ž×”×™×Ø ×•×ž×•×“×Ø× ×™ לניהול ×Ŗ×œ×•×™×•×Ŗ והביבות עבודה ×‘×¤×™×™×Ŗ×•×Ÿ.

šŸ“‚ מבנה תיקיות וקבצים ×‘×¤×Ø×•×™×§×˜

weather-chat_mcp/
ā”œā”€ā”€ client.py            # קליינט MCP בהיהי ×œ×‘×“×™×§×Ŗ תקשורת ישירה מול השרת
ā”œā”€ā”€ host.py              # ×”×§×Ø×™×¤×˜ ראשי ×œ×”×Ø×¦×Ŗ הצ'אט ×”××™× ×˜×Ø××§×˜×™×‘×™ ×‘×˜×Ø×ž×™× ×œ
ā”œā”€ā”€ weather_Israel.py    # שרת ה-MCP הייעודי ×œ×™×©×Ø××œ המשלב אוטומציה של Playwright
ā”œā”€ā”€ weather_USA.py       # שרת ייחוה המדגים עבודה מול API חיצוני בארה"ב
ā”œā”€ā”€ pyproject.toml       # קובׄ הקונפיגורציה והגדרת ×”×Ŗ×œ×•×™×•×Ŗ של ×”×¤×Ø×•×™×§×˜
ā”œā”€ā”€ uv.lock              # קובׄ × ×¢×™×œ×Ŗ גרהאות ×œ×”×‘×˜×—×Ŗ הביבת עבודה יציבה
└── .gitignore           # ×ž× ×™×¢×Ŗ ×”×¢×œ××Ŗ קבצים ×Ø×’×™×©×™× (כגון .env והביבות ×•×™×Ø×˜×•××œ×™×•×Ŗ)

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