Weather MCP Server

一个基于Go语言开发的天气查询MCP(Model Context Protocol)服务器,提供实时天气信息查询功能。

Local serverstdio

What is the Weather MCP Server?

Weather is an MCP project maintained in the x-shuffle/weather-mcp-server repository. The maintainer describes its purpose as “一个基于Go语言开发的天气查询MCP(Model Context Protocol)服务器,提供实时天气信息查询功能。”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using go. 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 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 Weather MCP Server

{
  "mcpServers": {
    "weather-mcp-server": {
      "command": "go",
      "args": [
        "run",
        "cmd/server/main.go"
      ],
      "env": {
        "OPENWEATHER_API_KEY": "YOUR_OPENWEATHER_API_KEY"
      },
      "cwd": "/path/to/weather-mcp-server"
    }
  }
}

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

Configuration

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