drio
Open app

Weather MCP Server

Source

A Model Context Protocol (MCP) server that provides weather forecast data from the Government of Canada Weather API. Fetch accurate 5-day forecasts for any location in Canada by latitude and longitude. Easily integrates with Claude Desktop and other MCP-compatible clients.

Catalog onlyCatalog onlySTDIO

Overview

Weather MCP Server is a Model Context Protocol (MCP) server that provides accurate weather forecast data from the Government of Canada Weather API, allowing users to fetch 5-day forecasts for any location in Canada using latitude and longitude.

To use Weather MCP Server, clone the repository, set up a virtual environment, install the package, and run the server. It can also be integrated with Claude Desktop or other MCP-compatible clients.

  • Fetch weather forecasts for any location in Canada by providing latitude and longitude. - Easily integrates with Claude Desktop or any MCP-compatible client.
  1. Providing weather updates for travel planning.
  2. Integrating weather data into applications for real-time updates.
  3. Assisting in agricultural planning based on weather forecasts.

Add to your AI client

Use these steps to connect Weather MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "weather-mcp-seanlf": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-seanlf"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "weather-mcp-seanlf": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-seanlf"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "weather-mcp-seanlf": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-seanlf"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "weather-mcp-seanlf": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-seanlf"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "weather-mcp-seanlf": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-seanlf"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "weather-mcp-seanlf": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-weather-mcp-seanlf"
      ]
    }
  }
}

FAQ

Can I use Weather MCP Server for locations outside Canada?

No, Weather MCP Server is designed specifically for Canadian locations only.

Is there a cost to use Weather MCP Server?

No, Weather MCP Server is free to use.

What programming language is Weather MCP Server built with?

Weather MCP Server is built using Python.