MCP.so
ログイン

Weather MCP Server

@SeanLF

Weather MCP Server について

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.

基本情報

カテゴリ

メディアとデザイン

ライセンス

MIT license

ランタイム

python

トランスポート

stdio

公開者

SeanLF

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "weather-mcp-seanlf": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        ".venv"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Weather MCP Server?

Weather MCP Server is a Model Context Protocol (MCP) server that provides weather forecast data from the Government of Canada Weather API. It is intended for developers using MCP-compatible clients like Claude Desktop to retrieve weather forecasts for Canadian locations by supplying latitude and longitude.

How to use Weather MCP Server?

Install Python 3.13 or higher, clone the repository, optionally create a virtual environment, and run pip install -e .. Then run python weather.py as a standalone server or configure it in Claude Desktop by adding an entry to the claude_desktop_config.json file that points to the Python interpreter and the weather.py script.

Key features of Weather MCP Server

  • Fetches weather forecasts for any location in Canada
  • Uses latitude and longitude coordinates as input
  • Returns a 5‑day forecast as a formatted string
  • Integrates easily with Claude Desktop and other MCP hosts
  • Simple installation via pip from a local clone

Use cases of Weather MCP Server

  • Ask an AI assistant for the current 5‑day forecast for a specific Canadian city
  • Automate weather queries in workflows using an MCP client
  • Embed weather data retrieval into custom MCP‑based applications

FAQ from Weather MCP Server

What does Weather MCP Server do?

It provides a get_forecast tool that returns a 5‑day weather forecast for a given latitude and longitude in Canada.

What are the runtime requirements?

Python 3.13 or higher is required. A virtual environment is optional but recommended.

Where does the weather data come from?

All forecasts are sourced from the Government of Canada Weather API.

How is the server accessed?

It runs as a local MCP server using the stdio transport. Clients communicate by executing the weather.py script. No authentication is needed.

Are there any geographic limits?

Yes – forecasts are only available for locations within Canada because the server relies on the Government of Canada API.

コメント

「メディアとデザイン」の他のコンテンツ