Hefeng MCP Weather logo

Hefeng MCP Weather

by @iflow-mcp

MCP weather forecasts for locations in China using HeFeng, with coordinate-based queries and hourly or daily outlooks.

Install Hefeng MCP Weather

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for @iflow-mcp/hefeng-mcp-weather, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

@iflow-mcp/hefeng-mcp-weather connects MCP clients to the HeFeng Weather API for weather data about locations in China. Its `get-weather` tool accepts a location, including longitude and latitude coordinates, and returns current conditions plus hourly or daily forecasts. Hourly ranges cover 24, 72, or 168 hours, while daily forecasts span 3, 7, 10, 15, or 30 days. Use it when an agent needs Chinese weather information in the HeFeng API's Chinese descriptions.

Use cases

  • Retrieve current weather for a Chinese location
  • Check hourly conditions for the next 24, 72, or 168 hours
  • Build daily outlooks spanning up to 30 days
  • Query weather by longitude and latitude coordinates

Key features

  • HeFeng Weather API access over MCP
  • Coordinate-based location queries
  • Real-time weather data
  • 24-, 72-, and 168-hour forecasts
  • 3-, 7-, 10-, 15-, and 30-day forecasts
  • Chinese weather descriptions

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Hefeng MCP Weather works

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:

config.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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hefeng MCP Weather

@iflow-mcp/hefeng-mcp-weather is an MCP server that connects AI agents to the HeFeng Weather API. Its main `get-weather` tool retrieves real-time weather data and hourly or daily forecasts for locations in China, including queries identified by longitude and latitude coordinates.

Run it through `npx` in an MCP host configuration. Set the command to `npx` and pass `hefeng-mcp-weather@latest` with `--apiKey=${API_KEY}` in the arguments, then configure `API_KEY` with the credential used for HeFeng Weather API access.

It provides the `get-weather` tool. Use it to request weather forecast data for a specific location, including locations supplied with longitude and latitude coordinates.

It supports hourly forecasts for 24, 72, or 168 hours and daily forecasts for 3, 7, 10, 15, or 30 days. It also returns real-time weather data.

Yes, it can be configured in Claude Desktop through the `mcpServers` configuration. The example starts the package with `npx` and passes the HeFeng API key using the `--apiKey` argument.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHefeng MCP Weather AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/iflow-mcp-hefeng-mcp-weather?style=directory)](https://allmcps.com/mcp/iflow-mcp-hefeng-mcp-weather)
HTML Embed
<a href="https://allmcps.com/mcp/iflow-mcp-hefeng-mcp-weather"><img src="https://allmcps.com/api/badge/iflow-mcp-hefeng-mcp-weather?style=directory" alt="Hefeng MCP Weather on AllMCPs" /></a>