Skip to main content
Glama
shanggqm

HeFeng Weather MCP Server

by shanggqm

HeFeng天気MCPサーバー

HeFeng Weather API を通じて中国の各地の天気予報データを提供するモデル コンテキスト プロトコル サーバー。

特徴

  • リアルタイムの天気データを取得する

  • 1時間ごとの天気予報を取得(24時間/72時間/168時間)

  • 毎日の天気予報を取得(3日/7日/10日/15日/30日)

  • 経度と緯度の座標による位置検索をサポート

  • 中国の天気の完全な説明

Related MCP server: Hefeng QWeather MCP Server

API

この MCP サーバーは次のツールを提供します。

天気予報

特定の場所の天気予報データを取得します。

MCP ホストでの使用(例: 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

获取中国国内的天气预报

ParametersJSON Schema
NameRequiredDescriptionDefault
locationYes逗号分隔的经纬度信息 (e.g., 116.40,39.90)
daysNo预报天数,now为实时天气,24h为24小时预报,72h为72小时预报,168h为168小时预报,3d为3天预报,以此类推now

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden for behavioral disclosure. It mentions geographic restriction (China) but doesn't cover other important traits: whether this is a read-only operation, potential rate limits, authentication needs, error handling, or what the output format looks like. For a tool with no annotations, this leaves significant gaps in understanding how it behaves.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized for a simple weather tool and front-loads the essential information. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete for a tool with 2 parameters. It doesn't explain what weather data is returned (e.g., temperature, precipitation), how results are structured, or any behavioral constraints. For a weather forecasting tool, users need to know what to expect beyond just 'forecast'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents both parameters thoroughly. The description adds no additional parameter information beyond what's in the schema. It doesn't explain parameter relationships, provide examples beyond the schema's enum descriptions, or clarify edge cases. Baseline 3 is appropriate when the schema does all the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: '获取中国国内的天气预报' (Get weather forecast for China). It specifies both the action (get weather forecast) and the geographic scope (China), though it doesn't distinguish from siblings since none exist. The description is specific but could be more precise about what type of weather data is returned.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context (weather forecasting for China) but provides no explicit guidance on when to use this tool versus alternatives. With no sibling tools, there's no need to differentiate, but it doesn't mention prerequisites, limitations, or ideal use cases beyond the basic scope.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 1 tool update
    • First observedget-weather

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.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    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.
    29 PyPI
    4
    MIT
  • F
    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
    -