SuperAPIAI Directory

Weather-MCP

github.com · AI developer platforms

Weather-MCP is a server based on the Model Context Protocol (MCP) that provides real-time weather, air quality monitoring, forecasts, and astronomical information through the Caiyun Weather API. It supports minute-level precipitation forecasts, 1-360 hour/1-15 day forecasts, air quality trend analysis, weather alerts, historical weather queries, and other features, and has been localized into Chinese with intelligent formatting. The project adopts a modular architecture that is easy to maintain and extend, and is suitable for AI assistants or application scenarios that need to integrate weather data.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Weather-MCP (KnowAir Weather MCP Server) is a server based on the Model Context Protocol (MCP), designed to provide AI assistants (such as Claude) with comprehensive weather and air quality data. It obtains data through the Caiyun Weather API and exposes it to MCP clients in the form of tools.

Main capabilities include: real-time weather data (temperature, apparent temperature, humidity, wind speed, visibility, etc.); comprehensive air quality monitoring (PM2.5/PM10/O3/SO2/NO2/CO and Chinese and U.S. AQI standards); hourly air quality forecasts (1-72 hour hourly AQI/PM2.5 trend predictions, displayed with color grading); air quality trend analysis (automatically analyzes improvement/deterioration trends and provides health recommendations); minute-level precipitation forecasts (minute-by-minute precipitation intensity predictions for the next 2 hours); extended forecast range (1-360 hour / 1-15 day forecasts); weather alert system (real-time alert information push); astronomical information (sunrise and sunset, moon phase, moonrise and moonset times); historical weather data (queries for the past 72 hours); Chinese localization (weather phenomena and living indices fully localized into Chinese); intelligent formatting (precipitation intensity grading, emoji icons, user-friendly display); modular architecture (separation of tools, configuration, and model modules, easy to maintain and extend).

Usage: Users need to visit the Caiyun Weather API to apply for an API key, then add the corresponding configuration in Claude Desktop's configuration file claude_desktop_config.json, after which they can ask Claude questions in natural language (such as "What is the weather like in Beijing now?"). The server provides multiple tools, including real-time weather, hourly forecasts, daily forecasts, comprehensive air quality forecasts, minute-level precipitation, comprehensive weather reports, weather alerts, astronomical information, historical weather, etc. Each tool accepts parameters such as longitude and latitude and returns structured data.

Applicable scenarios: Developers or users who need to integrate weather and air quality data into applications such as AI conversations, smart homes, travel planning, and health reminders.

Limitations: The data source depends on the Caiyun Weather API, and a key must be applied for separately; minute-level precipitation forecasts mainly cover major cities in China; the data accuracy and coverage of other regions are not yet provided. The project uses the MIT License.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools