Q

QWeather气象控制平台

@overstarry/qweather-mcp
Hosted
3 Stars 816 次浏览 overstarry 更新于 2026-08-23

请提供具体的正文内容,目前的内容“qweather mcp”不足以进行准确的语言识别和翻译。如果这是特定术语或代码,请给予更多上下文信息。

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "qweather": {
      "args": [
        "-y",
        "qweather-mcp"
      ],
      "command": "npx",
      "env": {
        "QWEATHER_API_BASE": "\u003cyour-api-url\u003e",
        "QWEATHER_API_KEY": "\u003cyour-api-key\u003e"
      }
    }
  }
}

该服务需要配置环境变量:QWEATHER_API_BASE、QWEATHER_API_KEY

服务介绍

qweather-mcp

smithery badge

用于 QWeather API 的 MCP 服务器。

该项目通过模型上下文协议(MCP)提供天气信息查询功能。

使用方法

在这里获取您的 API 密钥 here

通过 Smithery 安装

要通过 Smithery 自动为 Claude Desktop 安装 qweather-mcp:

npx -y @smithery/cli install @overstarry/qweather-mcp --client claude

手动配置

# stdio server
npx -y qweather-mcp

环境变量:

QWEATHER_API_BASE=https://api.qweather.com
QWEATHER_API_KEY=<your-api-key>

JSON 配置

{
  "mcpServers": {
    "qweather": {
      "command": "npx",
      "args": ["-y", "qweather-mcp"],
      "env": {
        "QWEATHER_API_BASE": "<your-api-url>",
        "QWEATHER_API_KEY": "<your-api-key>"
      }
    }
  }
}

可用工具

  • lookup-city: 根据名称查找城市信息
  • get-weather-now: 获取某个地点的当前天气

许可证

MIT。

相关 MCP 服务