
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
An unofficial MCP (Multiagent Conversation Protocol) wrapper for the QWeather API
An unofficial MCP (Multiagent Conversation Protocol) wrapper for the QWeather API. This package provides tools to easily access QWeather's comprehensive weather data services through MCP, allowing integration with AI agents, chatbots, and other applications.
pip install unoff-qweather-mcp
This package requires a QWeather API key. You'll need to:
export QWEATHER_API_KEY="your_api_key_here"
export QWEATHER_API_HOST="api.qweather.com" # or another appropriate host based on your subscription
The API host depends on your subscription tier. See QWeather API Configuration for details.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
# Clone and config the env
git clone https://github.com/HongpengM/unoff-qweather-mcp.git
# Set up your environment variables by copying the example file
copy env.example .env
# Run the MCP server
uv --directory /path/to/your_dir run src/unoff_qweather/qweather.py
Using the published version:
{
"mcpServers": {
"qweather": {
"command": "uvx",
"args": [
"unoff-qweather-mcp"
],
"env": {
"QWEATHER_API_KEY": "your_api_key_here",
"QWEATHER_API_HOST": "api.qweather.com"
}
}
}
}
For local pulled repository:
{
"mcpServers": {
"qweather": {
"command": "uv",
"args": [
"--directory",
"/path/to/your_dir",
"run",
"src/unoff_qweather/qweather.py"
],
"env": {
"QWEATHER_API_KEY": "your_api_key_here",
"QWEATHER_API_HOST": "api.qweather.com"
}
}
}
}
This package provides the following MCP tools:
lookup_city
- Search for cities by name or coordinateslookup_poi
- Find points of interestweather_now
- Get current weather conditionsweather_forecast_days
- Get daily weather forecasts (3-30 days)weather_forecast_hours
- Get hourly weather forecasts (24-168 hours)warning_city_list
- Get cities with active weather warningsweather_warning
- Get detailed weather warnings for a locationweather_indices
- Get lifestyle indices (UV, sports, etc.)air_quality_now
- Get current air quality dataair_quality_forecast
- Get air quality forecastsFor detailed parameter information, see each function's docstring in the code.
This project is licensed under the MIT License - see the LICENSE file for details.
This is an unofficial wrapper and not affiliated with or endorsed by QWeather. Users must comply with QWeather's terms of service when using this package.
FAQs
An unofficial MCP (Multiagent Conversation Protocol) wrapper for the QWeather API
We found that unoff-qweather-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.