Description
KnowAir Weather MCP is a comprehensive weather and air quality Model Context Protocol (MCP) server. It provides real-time meteorological data and detailed air quality monitoring (PM2.5, PM10, O₃, SO₂, NO₂, CO, AQI – CN & US standards), along with short- and long-term forecasts and astronomical information. Built with Python 3.12+ and FastMCP, it integrates with the Caiyun Weather API to deliver high-precision environmental intelligence.
Features
• 🌤️ Meteorology: real-time temperature, humidity, wind, precipitation
• 🏙️ Air Quality: pollutant concentrations + AQI (CN & US)
• 📅 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 and air quality warnings
Example Usage
Ask Claude (with this MCP enabled):
“What’s the current weather and air quality in Beijing?”
“Get comprehensive environmental data for 116.4575, 39.9113”
Overview
what is KnowAir Weather MCP?
KnowAir Weather MCP is a comprehensive weather and air quality Model Context Protocol (MCP) server that provides real-time meteorological data and detailed air quality monitoring, including PM2.5, PM10, O₃, SO₂, NO₂, CO, and AQI according to both China and US standards.
how to use KnowAir Weather MCP?
To use KnowAir Weather MCP, enable it with an MCP-compatible client (like Claude Desktop) and query for current weather and air quality data by location or coordinates.
key features of KnowAir Weather MCP?
- Real-time meteorological data (temperature, humidity, wind, precipitation)
- Air quality monitoring with pollutant concentrations and AQI
- 72-hour hourly and 7-day daily forecasts
- Minute-level precipitation predictions for cities in China
- Astronomical information (sunrise, sunset, moon phases)
- Real-time weather and air quality alerts
use cases of KnowAir Weather MCP?
- Monitoring air quality for health and safety in urban areas.
- Planning outdoor activities based on real-time weather data.
- Researching environmental conditions for academic studies.
FAQ from KnowAir Weather MCP?
- Can KnowAir Weather MCP provide data for any location?
Yes! It can provide data for various locations, especially in China.
- Is there a cost to use KnowAir Weather MCP?
The usage details are not specified, but it is designed for developers and researchers.
- How accurate is the data provided by KnowAir Weather MCP?
The server uses the Caiyun Weather API, ensuring high precision in environmental intelligence.
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"
}
}
}
}