Skip to main content
Glama
HeFeng Weather MCP Server

HeFeng Weather MCP Server

by ctermiii

HeFeng Weather MCP-сервер

Сервер Model Context Protocol, предоставляющий данные о прогнозе погоды для различных мест в Китае через API HeFeng Weather.

Функции

  • Получайте данные о погоде в реальном времени

  • Получите почасовой прогноз погоды (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

НПХ

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

Лицензия

Этот сервер MCP лицензирован по лицензии MIT. Это означает, что вы можете свободно использовать, изменять и распространять программное обеспечение в соответствии с условиями лицензии MIT. Для получения более подробной информации см. файл LICENSE в репозитории проекта.

Available Tools

3 tools
get_datetimeB

获取当前的日期和时间。可以提供一个可选的时区参数,默认为 'Asia/Shanghai'。

Inputs: timezone.

get_location_idC

根据城市名称(拼音/英文)、经纬度、LocationID或Adcode获取其精确的位置ID和详细地理信息。

Inputs: city_name (required).

get_weatherC

获取指定地点的天气预报。请提供LocationID或经纬度坐标。

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 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_datetime retrieves time data, get_location_id finds location identifiers, and get_weather fetches weather forecasts. There is no overlap in functionality, and an agent can easily distinguish between them based on their specific objectives.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with 'get_' prefix: get_datetime, get_location_id, and get_weather. This uniformity makes the set predictable and easy to understand, adhering to a clear naming convention throughout.

    Tool Count3/5

    With only 3 tools, the set feels thin for a weather server, as it lacks operations like historical weather data, alerts, or air quality. While the core functions are present, the scope is minimal and may limit agent capabilities in more complex scenarios.

    Completeness3/5

    The tools cover basic weather retrieval (get_weather) and location lookup (get_location_id), but there are notable gaps such as missing update/delete operations, historical data access, or weather alerts. The surface is functional for simple queries but incomplete for comprehensive weather domain coverage.

    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.
      2
      MIT