weather.py Is the main file where we have APIs for each functionality. I have two API calls for weather MCP server get_forecast, get_alerts
Usage: You can go to chat window and ask for weather forcast or alerts for any city, state For usage example, I'm copying the chat messages for references
give me weather for fremont, CA
I'll fetch the forecast for Fremont, CA and any California weather alerts.
Got the forecast and California alerts; summary below.
Location: Fremont, CA (lat 37.5485, lon -121.9886) Tonight: 38°F — Partly cloudy; low around 38°F; NE wind ~3 mph. Sunday (day): High ~62°F — Mostly sunny; NNE wind ~5 mph. Sunday night: Low ~39°F — Partly cloudy. Monday: High ~62°F; Monday night low ~40°F. Alerts (California): Beach Hazards Statement (dangerous rip currents/sneaker waves along coast) and a Cold Weather Advisory covering the Santa Clara Valley (including Fremont) early Sunday morning. Want a 48-hour hourly breakdown or an upcoming-week forecast?