# @iflow-mcp/hefeng-mcp-weather [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/shanggqm/hefeng-mcp-weather  
**GitHub Stars:** 10  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/iflow-mcp-hefeng-mcp-weather

## Description
an mcp server for hefeng weather api

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What @iflow-mcp/hefeng-mcp-weather does

@iflow-mcp/hefeng-mcp-weather exposes weather forecast data from the HeFeng Weather API through the Model Context Protocol. It is intended for MCP hosts that need to retrieve weather information for locations in China.

The server provides one MCP tool, `get-weather`. It retrieves weather data for a specified location and supports location lookup using longitude and latitude coordinates. Returned information includes real-time weather data, hourly forecasts, and daily forecasts. Weather descriptions are provided in Chinese.

Hourly forecast choices cover 24, 72, or 168 hours. Daily forecast choices cover 3, 7, 10, 15, or 30 days.

## How it works

An MCP host starts the server as a local process and makes the `get-weather` tool available to an agent. When the tool is called, the server uses the supplied location information to request forecast data from HeFeng Weather API, then returns the weather result through MCP.

The server is designed for coordinate-based location queries, so an integration can identify a place with longitude and latitude before requesting its forecast. The available forecast periods let an agent choose between near-term hourly conditions and longer daily outlooks.

## Setup and configuration

The server can be launched with `npx` from an MCP host configuration. Claude Desktop uses an entry similar to the following:

```json
{
  "mcpServers": {
    "hefeng-weather": {
      "command": "npx",
      "args": ["hefeng-mcp-weather@latest", "--apiKey=${API_KEY}"]
    }
  }
}
```

Replace `${API_KEY}` with the credential used to access HeFeng Weather API, or configure the host to expand that environment variable. The API key is passed to the process through the `--apiKey` argument. This setup runs the package through the npm `@latest` tag and registers it under the `hefeng-weather` MCP server name.

## Tools and capabilities

- `get-weather`: retrieves weather forecast data for a selected location.
- Real-time weather data retrieval.
- Hourly forecasts for 24, 72, or 168 hours.
- Daily forecasts for 3, 7, 10, 15, or 30 days.
- Location queries using longitude and latitude.
- Chinese weather descriptions.

## Limitations and notes

The service is focused on locations in China and depends on access to the HeFeng Weather API. Forecast range selection is limited to the hourly and daily periods exposed by the tool. Responses use Chinese weather descriptions, which may require translation or Chinese-language handling in an agent workflow.

_Full upstream README: https://allmcps.com/mcp/iflow-mcp-hefeng-mcp-weather/readme_

