MCP.so
登录
M

MCP Qweather

@gandli

基本信息

分类

其他

传输方式

stdio

作者

gandli

提交者

gandli

关于 MCP Qweather

暂无概览

MCP Qweather 配置

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

{
  "mcpServers": {
    "weather": {
      "name": "weather",
      "type": "stdio",
      "command": "uvx",
      "args": [
        "weather-mcp"
      ],
      "env": {
        "QWEATHER_API_HOST": "your_api_host",
        "QWEATHER_API_KEY": "your_api_key"
      }
    }
  }
}

MCP Qweather 工具

工具列表暂未提供

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

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Mcp Qweather?

Mcp Qweather is an MCP server built on FastMCP that provides access to the QWeather (和风天气) API. It enables AI assistants to query city location data, weather warnings, and current forecasts using LocationID or coordinates. Designed for developers integrating weather data into MCP-compatible clients.

How to use Mcp Qweather?

Install by cloning the repository and running uv sync, or use the PyPI package directly with uvx mcp-qweather. Configure the server in your MCP client with stdio transport, setting environment variables QWEATHER_API_HOST and QWEATHER_API_KEY from the QWeather developer console.

Key features of Mcp Qweather

  • lookup_city(location): Query city or location by name or coordinates.
  • get_warning(location): Query weather warnings by LocationID or coordinates.
  • get_forecast(location): Query current weather by LocationID or coordinates.
  • Runs via stdio transport; no additional network configuration required.
  • Available as a PyPI package for zero-clone usage with uvx.

Use cases of Mcp Qweather

  • Provide real-time weather warnings to users in an AI chat interface.
  • Look up city IDs for downstream weather data requests.
  • Deliver current weather conditions during conversational planning tasks.

常见问题

1

What environment variables are required?

`QWEATHER_API_HOST` and `QWEATHER_API_KEY` must be set. Obtain them from the QWeather developer console.

2

How to get an API key?

Go to the [QWeather Console](https://console.qweather.com/project?lang=zh), create a project, and generate credentials for the API Key. Copy the API Host from the settings page.

3

Can I run it without cloning the repository?

Yes. The package is published on PyPI and can be invoked via `uvx mcp-qweather` in your MCP client configuration.

4

What transport does it use?

The server uses `stdio` transport, as shown in the example client configuration.

5

What license is it under?

MIT License, as specified in the repository's `LICENSE` file and `pyproject.toml`.

评论

其他 分类下的更多 MCP 服务器