MCP.so
登录

Weather MCP Server

@SeanLF

基本信息

分类

媒体与设计

许可证

MIT license

传输方式

stdio

作者

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.

Weather MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

Weather MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

What are the runtime requirements?

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

3

Where does the weather data come from?

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

4

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.

5

Are there any geographic limits?

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

评论

媒体与设计 分类下的更多 MCP 服务器