loading…
Search for a command to run...
loading…
Enables users to retrieve real-time weather forecasts for Israeli cities by autonomously browsing a weather website using Playwright.
Enables users to retrieve real-time weather forecasts for Israeli cities by autonomously browsing a weather website using Playwright.
פרויקט זה מממש שרת MCP (Model Context Protocol) המאפשר למודלי שפה (LLMs) לגלוש באופן אוטונומי לאתר מזג האוויר הישראלי, לחפש עיר ספציפית ולשלוף את התחזית המדויקת שלה בזמן אמת.
הפרויקט מדגים שילוב של סוכן AI עם דפדפן (באמצעות Playwright). הסוכן מסוגל:
שכפול הפרויקט:
git clone https://github.com/dvori9359-blip/MCP-with-Playwright.git
cd MCP-with-Playwright
התקנת תלויות וסביבת עבודה:
uv sync
uv pip install python-dotenv
התקנת דפדפן Chromium עבור Playwright:
uv run playwright install chromium
הגדרת מפתח API:
צרו קובץ בשם .env בתיקיית הפרויקט והוסיפו אליו את מפתח ה-API שלכם מ-Anthropic:
ANTHROPIC_API_KEY=sk-ant-api-YOUR_KEY_HERE
הפעלת הפרויקט:
uv run host.py
Add this to claude_desktop_config.json and restart Claude Desktop.
{
"mcpServers": {
"israel-weather-mcp-agent": {
"command": "npx",
"args": []
}
}
}