HeFeng Weather MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HeFeng Weather MCP Serverwhat's the weather in Beijing today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HeFeng Weather MCP Server
A Model Context Protocol server that provides weather forecast data for locations in China through HeFeng Weather API.
Features
Get real-time weather data
Get hourly weather forecast (24h/72h/168h)
Get daily weather forecast (3d/7d/10d/15d/30d)
Support location query by longitude and latitude coordinates
Full Chinese weather description
Related MCP server: Hefeng QWeather MCP Server
API
This MCP server provides the following tool:
get-weather
Get weather forecast data for a specific location.
Usage with MCP Host(eg. Claude Desktop)
Add this to your claude_desktop_config.json
NPX
{
"mcpServers": {
"hefeng-weather": {
"command": "npx",
"args": ["hefeng-mcp-weather@latest", "--apiKey=${API_KEY}"]
}
}
}License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Available Tools
1 toolget-weatherB
获取中国国内的天气预报
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | 逗号分隔的经纬度信息 (e.g., 116.40,39.90) | |
| days | No | 预报天数,now为实时天气,24h为24小时预报,72h为72小时预报,168h为168小时预报,3d为3天预报,以此类推 | now |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- First observed
get-weather
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined as fetching weather forecasts for China, leaving no ambiguity for an agent to misselect.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'get-weather' follows a clear verb-noun pattern, and there are no other tools to deviate from this pattern.
A single tool is too few for a weather server's apparent scope, which typically involves multiple operations like current conditions, forecasts, alerts, or location-based queries. This minimal set limits functionality and feels thin for the domain.
The tool surface is severely incomplete for a weather domain. It only provides forecasts for China, missing essential operations such as current weather, historical data, alerts, or support for other regions, which will likely cause agent failures in broader tasks.
Maintenance
Related MCP Connectors
MCP server for China weather: current conditions and multi-day forecast by city name or adcode.
11MCP server for current weather and multi-day forecasts worldwide, Chinese city names and output.
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
China MCP gateway hosting HTTP APIs for Doubao/Tongyi/Wenxin/Claude; weather, currency, holiday.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides weather forecast data for locations in China through HeFeng Weather API, supporting real-time, hourly, and daily forecasts with full Chinese weather descriptions.38 npmISC
- AlicenseNot gradedqualityCmaintenanceProvides comprehensive weather data including forecasts, air quality, weather alerts, historical data, and astronomical information through the Hefeng Weather API. Supports real-time weather, multi-day forecasts, hourly predictions, and specialized data like sunrise/sunset times and precipitation forecasts.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying weather forecasts (1-7 days) and meteorological warnings for Chinese cities using the QWeather API. Supports detailed weather data including temperature, humidity, wind, precipitation, UV index, and real-time weather alerts.2MIT
- AlicenseBqualityDmaintenanceProvides Chinese city weather query and forecast functionality using Juhe Weather API.26 npmMIT