Skip to main content
Glama
MCP Weather Assistant

MCP Weather Assistant

by yehudit-alfa

๐ŸŒค๏ธ MCP Weather Assistant

ืคืจื•ื™ืงื˜ ื–ื” ื”ื•ื ื“ื•ื’ืžื” ืงื˜ื ื” ื•ืคืจืงื˜ื™ืช ืœื™ื™ืฉื•ื ืฉืœ MCP (Model Context Protocol) ืขื ืžื•ื“ืœ ืฉืคื”, ืฉืžืืคืฉืจ ืœืžื•ื“ืœ ืœืขื‘ื•ื“ ืขื ื›ืœื™ื ื—ื™ืฆื•ื ื™ื™ื ืืžื™ืชื™ื™ื.

๐ŸŽฏ ืžื” ื”ืคืจื•ื™ืงื˜ ืขื•ืฉื”?

ื”ืคืจื•ื™ืงื˜ ืžืืคืฉืจ ืœืžืฉืชืžืฉ ืœืฉืื•ืœ ืฉืืœื•ืช ืขืœ ืžื–ื’ ื”ืื•ื•ื™ืจ, ื•ื”-LLM ื‘ื•ื—ืจ ืื™ืœื• ื›ืœื™ื ืœื”ืฉืชืžืฉ ื›ื“ื™ ืœืขื ื•ืช ืขืœ ื”ืฉืืœื”.

ื™ืฉ ื‘ื• ืฉื ื™ ืกื•ื’ื™ ื›ืœื™ื:

  • ืขื‘ื•ืจ ื™ืฉืจืืœ โ€” ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘-Playwright ื›ื“ื™ ืœืคืชื•ื— ื“ืคื“ืคืŸ, ืœื”ื–ื™ืŸ ืฉื ืขื™ืจ, ืœื‘ื—ื•ืจ ืืช ื”ืชื•ืฆืื” ื•ืœื—ืœืฅ ืืช ืชื•ื›ืŸ ื”ื“ืฃ.

  • ืขื‘ื•ืจ ืืจืฆื•ืช ื”ื‘ืจื™ืช โ€” ื ืขืฉื” ืฉื™ืžื•ืฉ ื‘-API ืจืฉืžื™ ืฉืœ ืžื–ื’ ื”ืื•ื•ื™ืจ ื›ื“ื™ ืœืงื‘ืœ ืชื—ื–ื™ืช ื•-alerts.

ื”ื“ื‘ืจ ืžื™ื•ืขื“ ืœื”ื“ื’ื™ื ืื™ืš ืžื•ื“ืœ ืฉืคื” ื™ื›ื•ืœ ืœื ืจืง ืœืขื ื•ืช, ืืœื ื’ื ืœื‘ืฆืข ืคืขื•ืœื” ื‘ืขื•ืœื ื”ืืžื™ืชื™ ื“ืจืš ื›ืœื™ื ื—ื™ืฆื•ื ื™ื™ื.


Related MCP server: MCP Weather Forecast Server

๐ŸŽฏ ื”ืžื˜ืจื” ืฉืœ ื”ืคืจื•ื™ืงื˜

ื”ืžื˜ืจื” ื”ื™ื ืœื”ืจืื•ืช ื›ื™ืฆื“ ืืคืฉืจ ืœื”ืจื—ื™ื‘ ืืช ื™ื›ื•ืœื•ืช ืฉืœ LLM ื‘ืืžืฆืขื•ืช MCP Tools:

  • ืœืืกื•ืฃ ืžื™ื“ืข ื‘ื–ืžืŸ ืืžืช

  • ืœื‘ืฆืข ืคืขื•ืœื•ืช ื‘ื“ืคื“ืคืŸ ื‘ืื•ืคืŸ ืื•ื˜ื•ืžื˜ื™

  • ืœื”ืขื ื™ืง ืœืžื•ื“ืœ ืงื•ื ื˜ืงืกื˜ ื ื•ืกืฃ ืžื”ืืชืจ ืขืฆืžื• (RAG)

  • ืœืฉืœื‘ ื‘ื™ืŸ ื›ืœื™ื ืฉื•ื ื™ื ืœืžืžืฉืง ืฆ'ืื˜ ืื—ื“

ื–ื”ื• ืคืจื•ื™ืงื˜ ืœื™ืžื•ื“ื™ ืฉืžื“ื’ื™ื ืขืงืจื•ื ื•ืช ืฉืœ Agents, MCP Servers ื•-Tool Calling.


๐Ÿงฉ ืžื‘ื ื” ื”ืคืจื•ื™ืงื˜

  • client.py โ€” ืœืงื•ื— MCP ื’ื ืจื™ ืฉืžืชื—ื‘ืจ ืœืฉืจืชื™ื.

  • host.py โ€” ืฆ'ืื˜ Host ืฉืžืงื‘ืœ ืฉืืœื•ืช, ืฉื•ืœื— ืื•ืชืŸ ืœืžื•ื“ืœ ื•ืžื—ื‘ืจ ื‘ื™ืŸ ื”-LLM ืœื›ืœื™ื.

  • weather_USA.py โ€” ืฉืจืช MCP ืขื‘ื•ืจ ืžื–ื’ ืื•ื•ื™ืจ ื‘ืืจืฆื•ืช ื”ื‘ืจื™ืช ื“ืจืš API.

  • weather_Israel.py โ€” ืฉืจืช MCP ืขื‘ื•ืจ ืžื–ื’ ืื•ื•ื™ืจ ื‘ื™ืฉืจืืœ ื“ืจืš Playwright.


๐Ÿ› ๏ธ ื˜ื›ื ื•ืœื•ื’ื™ื•ืช ื‘ืฉื™ืžื•ืฉ

  • Python

  • MCP SDK

  • Playwright

  • Anthropic API

  • UV


๐Ÿš€ ืื™ืš ืžืจื™ืฆื™ื ืืช ื”ืคืจื•ื™ืงื˜

1. ื”ืชืงื ืช ื”ืชืœื•ื™ื•ืช

uv sync

2. ื”ืชืงื ืช ื“ืคื“ืคืŸ ืขื‘ื•ืจ Playwright

uv run playwright install chromium

3. ื”ื’ื“ืจืช ืžืคืชื— API

ื•ื“ืื• ืฉื™ืฉ ืœื›ื ืžืฉืชื ื” ืกื‘ื™ื‘ื” ื‘ืฉื:

ANTHROPIC_API_KEY=your_api_key_here

4. ื”ืจืฆืช ื”ืžืžืฉืง

uv run host.py

๐Ÿ’ฌ ื“ื•ื’ืžืื•ืช ืœืฉืืœื•ืช ืฉื ื™ืชืŸ ืœืฉืื•ืœ

  • ืžื” ืžื–ื’ ื”ืื•ื•ื™ืจ ื”ื™ื•ื ื‘ื™ืจื•ืฉืœื™ื?

  • ืชื‘ื“ื•ืง ืœื™ ื‘ื‘ืงืฉื” ืžื” ื”ืชื—ื–ื™ืช ื‘ื˜ื‘ืจื™ื”.

  • ื”ืื ื™ืจื“ ื’ืฉื ื”ื™ื•ื ื‘ืชืœ ืื‘ื™ื‘?

  • ืžื” ื”ืžืฆื‘ ื‘ืžื–ื’ ื”ืื•ื•ื™ืจ ื‘ืื™ืœืช?

  • What is the weather in New York?


โš ๏ธ ื“ื‘ืจื™ื ื—ืฉื•ื‘ื™ื ืœืฉื™ื ืœื‘ ืืœื™ื”ื

  • ื”ืคืจื•ื™ืงื˜ ืžื™ื•ืขื“ ืœืœื™ืžื•ื“ ื•ื”ื“ื’ืžื”, ืœืื• ื“ื•ื•ืงื ืœืžื•ืฆืจ ืกื•ืคื™ ื™ืฆื™ื‘.

  • ืขื‘ื•ืจ ื™ืฉืจืืœ, ื”ืชื”ืœื™ืš ืชืœื•ื™ ื‘ืืชืจ ื—ื™ืฆื•ื ื™, ื•ืœื›ืŸ ื”ื•ื ืขืœื•ืœ ืœื”ื™ืฉื‘ืจ ืื ื”ืืชืจ ื™ืฉื ื” ืืช ืžื‘ื ื” ื”ื“ืฃ.

  • ื›ื“ื™ ืฉื”-LLM ื™ื•ื›ืœ ืœืขื ื•ืช, ืฆืจื™ืš ืœื”ื™ื•ืช ืžื•ื’ื“ืจ ืžืคืชื— API ืชืงื™ืŸ.

Available Tools

4 tools
enter_weather_forecast_city_israelB

ืžืงื‘ืœ ืฉื ืขื™ืจ ื•ืžื–ื™ืŸ ืื•ืชื” ื‘ืฉื“ื” ื”ื—ื™ืคื•ืฉ ื‘ืืชืจ.

Inputs: city_name (required). Returns: result

extract_weather_data_israelB

ืžื—ืœืฅ ืืช ืชื•ื›ืŸ ื“ืฃ ื”ืชื—ื–ื™ืช ื”ื ื•ื›ื—ื™, ืžื ืงื” ืื•ืชื• ื•ืžื—ื–ื™ืจ ืืช ื˜ืงืกื˜ ื”ืชื—ื–ื™ืช ืขื‘ื•ืจ ื”-LLM.

Inputs: no named parameters. Returns: result

open_weather_forecast_israelA

ืคื•ืชื— ืืช ื”ื“ืคื“ืคืŸ ื•ืžื ื•ื•ื˜ ืœื“ืฃ ื”ืจืืฉื™ ืฉืœ ืืชืจ ืžื–ื’ ื”ืื•ื•ื™ืจ ื‘ื™ืฉืจืืœ.

Inputs: no named parameters. Returns: result

select_weather_forecast_city_israelB

ื‘ื•ื—ืจ ืืช ื”ืžื™ืงื•ื ื”ืจืืฉื•ืŸ ืฉืžื•ืคื™ืข ื‘ืจืฉื™ืžืช ื”ืขืจื™ื ื”ื ืคืชื—ืช (Dropdown).

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a distinct role in the workflow: open browser, enter city, select from dropdown, extract data. No overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case and the suffix '_israel', making them predictable.

    Tool Count5/5

    Four tools is appropriate for a focused weather scraping assistant, covering the essential steps without excess.

    Completeness4/5

    Covers the main workflow but lacks error handling or a tool to explicitly submit the search, leaving minor gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers