HeFeng Weather MCP Server
禾丰气象MCP服务器
通过禾丰天气API提供中国各地天气预报数据的模型上下文协议服务器。
特征
获取实时天气数据
获取每小时天气预报(24小时/72小时/168小时)
获取每日天气预报(3天/7天/10天/15天/30天)
支持通过经纬度坐标查询位置
完整的中文天气描述
Related MCP server: Hefeng QWeather MCP Server
API
该 MCP 服务器提供以下工具:
获取天气
获取特定位置的天气预报数据。
与 MCP Host(例如 Claude Desktop)一起使用
将其添加到您的 claude_desktop_config.json
NPX
{
"mcpServers": {
"hefeng-weather": {
"command": "npx",
"args": ["hefeng-mcp-weather@latest", "--apiKey=${API_KEY}"]
}
}
}执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
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 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden for behavioral disclosure. It mentions geographic restriction (China) but doesn't cover other important traits: whether this is a read-only operation, potential rate limits, authentication needs, error handling, or what the output format looks like. For a tool with no annotations, this leaves significant gaps in understanding how it behaves.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized for a simple weather tool and front-loads the essential information. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and no output schema, the description is incomplete for a tool with 2 parameters. It doesn't explain what weather data is returned (e.g., temperature, precipitation), how results are structured, or any behavioral constraints. For a weather forecasting tool, users need to know what to expect beyond just 'forecast'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters thoroughly. The description adds no additional parameter information beyond what's in the schema. It doesn't explain parameter relationships, provide examples beyond the schema's enum descriptions, or clarify edge cases. Baseline 3 is appropriate when the schema does all the work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: '获取中国国内的天气预报' (Get weather forecast for China). It specifies both the action (get weather forecast) and the geographic scope (China), though it doesn't distinguish from siblings since none exist. The description is specific but could be more precise about what type of weather data is returned.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context (weather forecasting for China) but provides no explicit guidance on when to use this tool versus alternatives. With no sibling tools, there's no need to differentiate, but it doesn't mention prerequisites, limitations, or ideal use cases beyond the basic scope.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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 current weather and multi-day forecasts worldwide, Chinese city names and output.
Global weather via Open-Meteo: forecast, historical, marine, air quality, geocoding, elevation.
Provide real-time and forecast weather information for locations in the United States using natura…
Global weather API: forecasts, historical data, marine, ski, astronomy and timezone.
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.317 npmISC
- AlicenseNot gradedqualityBmaintenanceProvides 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.29 PyPI4MIT
- FlicenseNot 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.2-
- AlicenseBqualityDmaintenanceProvides Chinese city weather query and forecast functionality using Juhe Weather API.26 npmMIT