Weather MCP Server
by SeanLF
The Weather MCP Server provides weather forecast data from the Government of Canada Weather API. It integrates easily with Claude Desktop or any MCP-compatible client.
Last updated: N/A
What is Weather MCP Server?
A Model Context Protocol (MCP) server that fetches and provides weather forecasts for locations in Canada using the Government of Canada Weather API.
How to use Weather MCP Server?
The server can be run standalone or integrated with an MCP-compatible client like Claude Desktop. To use standalone, run python weather.py
. For Claude Desktop, configure the claude_desktop_config.json
file with the path to the weather.py
script.
Key features of Weather MCP Server
Fetches weather forecasts for any location in Canada
Uses latitude and longitude for location input
Provides a 5-day forecast
Integrates with Claude Desktop
MCP-compatible
Use cases of Weather MCP Server
Getting weather forecasts within Claude Desktop
Integrating weather data into other MCP-compatible applications
Automated weather updates for specific locations
Providing weather information to AI assistants
Displaying weather information in a user interface
FAQ from Weather MCP Server
What is the required Python version?
What is the required Python version?
Python 3.13 or higher is required.
How do I install the server?
How do I install the server?
Clone the repository, create a virtual environment (optional), and run pip install -e .
.
How do I get the weather forecast for a specific location?
How do I get the weather forecast for a specific location?
Use the get_forecast(latitude, longitude)
function, providing the latitude and longitude of the desired location.
Can I use this server with other MCP hosts besides Claude Desktop?
Can I use this server with other MCP hosts besides Claude Desktop?
Yes, configure the host to execute weather.py
using Python 3.13 or higher.
How can I contribute to the project?
How can I contribute to the project?
Contributions are welcome! Please submit a Pull Request.