HeFeng Weather MCP Server
# 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
## 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
```json
{
"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.
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.