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`.

コメント

「その他」の他のコンテンツ