Skip to main content
Glama

סוכן חכם לתחזית מזג אוויר בישראל (Weather MCP Agent) 🌦️

פרויקט זה מציג סוכן חכם (AI Agent) המבוסס על מודל Gemini ומשתמש בפרוטוקול MCP (Model Context Protocol). הסוכן מסוגל לאסוף נתוני אמת מאתר מזג האוויר הישראלי ולהשיב על שאלות משתמשים בשפה טבעית.

מטרת הפרויקט

המטרה היא להדגים Agentic Workflow מלא, הכולל:

  1. אוטומציה בדפדפן (Playwright): פתיחת דפדפן, ניווט לאתר "weather2day", הזנת שם עיר ובחירתה מרשימה נפתחת.

  2. חילוץ נתונים (RAG): קריאת הטקסט המעודכן מתוך דף התחזית וסינונו.

  3. עיבוד שפה טבעית (LLM): העברת הנתונים הגולמיים למודל שפה, כדי שיפיק תשובה מדויקת, עניינית ואנושית למשתמש.

Related MCP server: Israel Weather MCP Agent

דרישות מוקדמות

  • התקנת Python (גרסה 3.10 ומעלה)

  • מנהל החבילות uv

  • מפתח API תקין של מודל Gemini (יש לשמור בקובץ .env תחת GEMINI_API_KEY)

איך להריץ את הפרויקט?

  1. שכפול המאגר (Clone):

    git clone [https://github.com/YourUsername/weather-mcp-agent.git](https://github.com/YourUsername/weather-mcp-agent.git)
    cd weather-mcp-agent
  2. התקנת תלויות והגדרת דפדפנים: ודאו שהסביבה הווירטואלית פעילה, והתקינו את דפדפני Playwright:

    uv sync
    playwright install chromium
  3. הפעלת הסוכן: הריצו את השרת המארח כדי להתחיל את הצ'אט:

    uv run host.py

דוגמאות לשאלות שהסוכן יודע לענות:

כאשר חלון השיחה נפתח בטרמינל (Query), ניתן לשאול שאלות כמו:

  • "מה מזג האוויר בירושלים כרגע?"

  • "האם צפוי גשם היום בתל אביב?"

  • "כמה מעלות יש עכשיו באילת ומה תהיה הטמפרטורה בלילה?"


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

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

Related MCP Servers

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/Lea-Wormsser/MCP-Project'

If you have feedback or need assistance with the MCP directory API, please join our Discord server