Mcp Server Weather MCP Server

本项目包含基于 Model Context Protocol (MCP) 的天气查询服务,分别用 Go 和 Python 实现,支持通过 MCP 工具获取指定城市的实时天气,适用于 AI 助手、自动化脚本等场景。

Local serverstdio

What is the Mcp Server Weather MCP Server?

Mcp Server Weather is an MCP project maintained in the pangerl/mcp-server repository. The maintainer describes its purpose as “本项目包含基于 Model Context Protocol (MCP) 的天气查询服务,分别用 Go 和 Python 实现,支持通过 MCP 工具获取指定城市的实时天气,适用于 AI 助手、自动化脚本等场景。”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares QWEATHER_API_KEY, QWEATHER_API_HOST. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Mcp Server Weather MCP Server

{
  "mcpServers": {
    "weather": {
      "disabled": false,
      "timeout": 60,
      "type": "stdio",
      "command": "python",
      "args": [
        "-m",
        "pangerl_mcp_server_weather.server"
      ],
      "env": {
        "QWEATHER_API_KEY": "YOUR_QWEATHER_API_KEY",
        "QWEATHER_API_HOST": "https://xxx.re.qweatherapi.com"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
QWEATHER_API_KEYDeclared in the maintainer’s client configuration.Check documentation
QWEATHER_API_HOSTDeclared in the maintainer’s client configuration.Check documentation