MCP.so
ログイン
M

Mcp Qweather

@gandli

Mcp Qweather について

概要はまだありません

基本情報

カテゴリ

その他

トランスポート

stdio

公開者

gandli

投稿者

gandli

設定

以下の設定を使って、このサーバーを 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"
      }
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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.

FAQ from Mcp Qweather

What environment variables are required?

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

How to get an API key?

Go to the QWeather Console, create a project, and generate credentials for the API Key. Copy the API Host from the settings page.

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.

What transport does it use?

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

What license is it under?

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

コメント

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