9 months ago
Description
KnowAir Weather MCP is a comprehensive Model Context Protocol (MCP) server that provides real-time weather, air quality monitoring, short- and long-term forecasts, and astronomical information. Built with Python 3.12+ and FastMCP, it integrates with the Caiyun Weather API to deliver precise meteorological and environmental data.
Features
• 🌤️ Real-time conditions: temperature, humidity, wind, precipitation
• 🏙️ Air quality: PM2.5, PM10, O₃, SO₂, NO₂, CO with both CN & US AQI standards
• 📅 Forecasts: 72-hour hourly and 7-day daily predictions
• 🌧️ Minute-level precipitation: hyper-local rain/snow timing (China cities)
• 🌅 Astronomy: sunrise, sunset, moon phases
• ⚠️ Alerts: real-time weather warnings and advisories
Example Usage
Ask Claude (with this MCP enabled):
“What’s the weather in Beijing now?”
“Get comprehensive weather data for 116.4575, 39.9113”
Server Config
{
"mcpServers": {
"knowair-weather": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/Weather-MCP",
"run",
"mcp-knowair-weather"
],
"env": {
"CAIYUN_WEATHER_API_TOKEN": "YOUR_API_TOKEN_HERE"
}
}
}
}