israel-weather-mcp-agent
Provides MCP tools to fetch weather forecasts for Israeli cities using browser automation with Playwright, without relying on external APIs.
README
Israel Weather MCP Agent
מטרת הפרויקט
הפרויקט מממש MCP Server ייעודי לתחזית מזג אוויר בישראל באמצעות Playwright, ללא שימוש ב-API מובנה.
המערכת כוללת:
host.py- צ'אט טרמינל שמפעיל LLM + Tools.weather_Israel.py- MCP Server עם כלים לניווט באתר תחזית ישראלי, חיפוש עיר, בחירה ברשימה וחילוץ תוכן.weather_USA.py- שרת דוגמה קיים לתחזית בארה"ב.
סטאק טכנולוגי
- Python
- MCP SDK
- Playwright
- OpenAI API (Tool Calling)
איך להריץ
להריץ מתוך תיקיית project-template:
cd project-template
uv sync
uv run playwright install chromium
uv run host.py
הגדרת משתני סביבה
יש ליצור/לעדכן קובץ .env:
OPENAI_API_KEY=your_openai_key_here
OPENAI_MODEL=gpt-4.1-mini
סימולטור ויזואלי
ניתן לפתוח את תרשים הזרימה של המשימה באופן ויזואלי דרך קובץ ה-HTML הבא:
PROJECT_SPEC_FLOW_SIMULATOR.html בתצוגה ויזואלית
דוגמאות שאלות שה-Agent יודע לענות
מה התחזית בחיפה להיום?מה מזג האוויר בבית שמש היום?Are there active weather alerts in CA?What is the forecast for New York City?
זרימת עבודה תמציתית
- המשתמש שואל שאלה בטרמינל.
- ה-Host שולח למודל את השאלה + רשימת tools.
- המודל מפעיל tools לפי הצורך (open -> enter -> select -> extract).
- תוצאות הכלים חוזרות למודל.
- המודל מחזיר תשובה סופית למשתמש.
הערות חשובות
- אין להעלות את קובץ
.envל-Git. - הקובץ
.env.exampleכולל רק תבנית ללא מפתחות. - תיתכנה תלות ברשת ובטעינת האתר בזמן אמת.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.