HeFeng Weather MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HeFeng Weather MCP Serverwhat's the weather in Beijing today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
HeFeng Weather MCP Server
A Model Context Protocol server that provides weather forecast data for locations in China through HeFeng Weather API.
Features
Get real-time weather data
Get hourly weather forecast (24h/72h/168h)
Get daily weather forecast (3d/7d/10d/15d/30d)
Support location query by longitude and latitude coordinates
Full Chinese weather description
Related MCP server: Hefeng QWeather MCP Server
API
This MCP server provides the following tool:
get-weather
Get weather forecast data for a specific location.
Usage with MCP Host(eg. Claude Desktop)
Add this to your claude_desktop_config.json
NPX
{
"mcpServers": {
"hefeng-weather": {
"command": "npx",
"args": ["hefeng-mcp-weather@latest", "--apiKey=${API_KEY}"]
}
}
}License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Available Tools
1 toolget-weatherB
获取中国国内的天气预报
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | 逗号分隔的经纬度信息 (e.g., 116.40,39.90) | |
| days | No | 预报天数,now为实时天气,24h为24小时预报,72h为72小时预报,168h为168小时预报,3d为3天预报,以此类推 | now |
TDQS
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.
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.
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.
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.
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.
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. Dates show when Glama detected each change.
1 tool update
- First observed
get-weather
TDQS
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.
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.
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.
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for current weather and multi-day forecasts worldwide, Chinese city names and output.
Provide real-time and forecast weather information for locations in the United States using natura…
Global weather API: forecasts, historical data, marine, ski, astronomy and timezone.
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides weather forecast data for locations in China through HeFeng Weather API, supporting real-time, hourly, and daily forecasts with full Chinese weather descriptions.324ISC
- AlicenseNot gradedqualityBmaintenanceProvides 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.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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.1-
- AlicenseBqualityDmaintenanceProvides Chinese city weather query and forecast functionality using Juhe Weather API.6214MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shanggqm/hefeng-mcp-weather'
If you have feedback or need assistance with the MCP directory API, please join our Discord server