Mcp Qweather
@gandli
About Mcp Qweather
No overview available yet
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"
}
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
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
stdiotransport; 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.
Frequently asked questions
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](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.
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`.
Basic information
More Other MCP servers
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Comments