Skip to main content
Glama
HeFeng Weather MCP Server

HeFeng Weather MCP Server

by shanggqm

禾丰气象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 tool
get-weatherB

获取中国国内的天气预报

Inputs: location (required), days.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 1 tool

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count2/5

    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.

    Completeness2/5

    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.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides 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.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      3
      MIT