Loading video player...
In this video, I walk you through how I built a fully functional Model Context Protocol (MCP) Server that fetches real-time Canadian weather data ā current conditions, 7-day forecasts, and active weather alerts ā all powered by Environment Canada. Using the MCP framework, I expose three tools that any MCP-compatible AI client (like Claude) can call directly: š”ļø get_canada_weather ā current weather & 7-day forecast by city name š get_canada_weather_by_coords ā weather by latitude & longitude (great for cities not in the named list!) ā ļø get_canada_weather_alerts ā active alerts from Environment Canada Under the hood, the server pulls data from two public APIs: āļø Open-Meteo (https://api.open-meteo.com/v1/forecast) ā for current conditions and 7-day forecasts šØ Environment Canada CAP Alerts (https://dd.weather.gc.ca/alerts/cap) ā for real-time weather alerts š Links š GitHub Repo: https://github.com/tridibbanik17/Canadian-Weather-MCP-Server.git š” Project Inspiration: https://modelcontextprotocol.io/docs/develop/build-server šµ Background Music Film by Alex-Productions | https://onsound.eu/ Music promoted by https://www.chosic.com/free-music/all/ Creative Commons CC BY 3.0 ā https://creativecommons.org/licenses/by/3.0/