Feedback

Mcp Qweather

@gandli Claim

Basic information

Category
License
Not specified
Transports
stdio
Author
gandli
Submitted by
Community
Quality
10

About Mcp Qweather Server

# Weather MCP Server [![Publish Python 🐍 distribution 📦 to PyPI and TestPyPI](https://github.com/gandli/mcp-qweather/actions/workflows/publish.yml/badge.svg)](https://github.com/gandli/mcp-qweather/actions/workflows/publish.yml)

Mcp Qweather is a MCP server in the Other category listed in the AddMCP.net directory, published by gandli. It exposes 3 tools, including lookup_city(location), get_warning(location), get_forecast(location). Supported transport: stdio. Source code is hosted on github.com. Related topics: fastmcp, mcp-qweather, weather-service.

Setup

{
    "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 config

Add this server to your MCP-compatible client using the configuration below.

{
    "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 tools

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

Overview

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.

Frequently asked questions

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

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬