Weatherforcast Mcp Using Playwright — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Weatherforcast Mcp Using Playwright (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This project is an advanced portfolio piece that demonstrates a professional-grade workflow for integrating LLMs with custom MCP servers and browser automation.
It showcases how to build a multi-agent system in Python that uses:
The solution includes three main components:
host.py — the chat host that connects to multiple MCP clients, discovers available tools, and forwards user requests to the LLM.client.py — a generic MCP client wrapper that launches MCP server scripts and manages STDIO communication.weather_USA.py — a classic MCP server that fetches weather data from the NWS API for the USA.weather_Israel.py — a new MCP server that performs browser automation to retrieve Israeli weather forecast data from a website.The architecture intentionally separates concerns: one MCP handles API-based weather data, while another MCP handles browser-driven Israeli weather retrieval.
This project is designed to reflect both technical depth and learning progress:
It demonstrates the ability to design and implement advanced AI tooling, not just consume existing APIs.
This project highlights the key professional and educational outcomes:
MCP SDK — Anthropic's official toolkit for defining the MCP protocol and exposing tools to the model.Playwright — Microsoft's modern browser automation framework, used here to automate a real website and perform human-like interactions.The main goal is to build a new MCP Server that handles Israeli weather forecast requests by opening a browser and navigating to a specific site, rather than using a conventional API.
Recruiter-worthy highlights:
project-template/
├── client.py # generic MCP Client
├── host.py # terminal chat host that ties everything together
├── weather_USA.py # MCP Server for USA using API
└── weather_Israel.py # ← your core Israel-focused MCPGoal: implement MCP tools that allow the LLM to fetch Israeli weather forecast directly from the browser.
The new MCP should load the forecast page from: https://www.weather2day.co.il/forecast
The MCP exposes three Playwright-based tools that automate the complete flow:
open_weather_forecast_israel — open the browser and navigate to the weather page.enter_weather_forecast_city_israel — enter the city name into the search field.select_weather_forecast_city_israel — select the first city suggestion from the list.To make this work professionally:
Example command:
uv run host.pyThen ask the system for a forecast in a given city and confirm that the host opened the forecast page in the browser.
Goal: move beyond tool execution and give the LLM page content so it can answer directly in chat.
Add another tool that extracts the page content, cleans it, and returns a useful context snippet for the LLM. This is the RAG-style enhancement: the model receives actual page text and can incorporate it into the response.
host.py connects to the MCP clients defined in client.py.This project shows that I can:
python -m pip install -U pip
python -m pip install groq>=0.4.0 mcp>=1.27.0 python-dotenv>=1.2.2 playwright>=1.44.0
python -m playwright install.env file with:GROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=mixtral-8x7b-32768python host.pyWhat is the weather forecast for Jerusalem today?Open the Israeli weather site and get the forecast for Tel Aviv.Are there any weather alerts in California?Use the Israel browser tool and answer from the page content.How do I get a 5-day forecast for a US location?~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.