qweather-mcp logo

qweather-mcp

by overstarry

qweather-mcp is an MCP server for the QWeather API, providing weather information query capabilities. It allows users to retrieve weather data through the Model Context Protocol.

View on GitHub

Last updated: N/A

qweather-mcp

MCP server for QWeather API.

This project provides weather information query capabilities through Model Context Protocol (MCP).

Usage

Get your API Key here.

Installing via Smithery

To install qweather-mcp for Claude Desktop automatically via Smithery:

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

Configure manually

# stdio server
npx -y qweather-mcp

Environment variables:

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

JSON config

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

Available Tools

  • lookup-city: Look up city information by name
  • get-weather-now: Get current weather for a location

License

MIT.