天气 MCP 服务器

这是一个基于 FastMCP 构建的天气查询服务器,提供城市天气信息查询服务。

Local serverstdio

What is the 天气 MCP 服务器 MCP Server?

天气 MCP 服务器 is an MCP project maintained in the qianyan/weather-mcp-server repository. The maintainer describes its purpose as “这是一个基于 FastMCP 构建的天气查询服务器,提供城市天气信息查询服务。”. Read the project documentation for the complete scope.

Installation

The documented pypi package is weather-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares OPENWEATHER_API_KEY. 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 服务器 MCP Server

{
  "mcpServers": {
    "weather-mcp-server": {
      "command": "uvx",
      "args": [
        "weather-mcp-server"
      ],
      "env": {
        "OPENWEATHER_API_KEY": "YOUR_OPENWEATHER_API_KEY"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
OPENWEATHER_API_KEYDeclared in the maintainer’s client configuration.Check documentation