MCP ExplorerExplorer

Hefeng Mcp Weather

@shanggqmon 9 months ago
5 MIT
FreeCommunity
AI Systems
an mcp server for hefeng weather api

Overview

What is Hefeng Mcp Weather

hefeng-mcp-weather is a Model Context Protocol server that provides weather forecast data for locations in China through the HeFeng Weather API.

Use cases

Use cases include providing weather information in travel applications, integrating weather data into smart home systems, and developing weather-related analytics tools.

How to use

To use hefeng-mcp-weather, add the provided configuration to your claude_desktop_config.json file, replacing ${API_KEY} with your actual API key.

Key features

Key features include real-time weather data, hourly weather forecasts (for 24h, 72h, and 168h), daily weather forecasts (for 3d, 7d, 10d, 15d, and 30d), location queries by longitude and latitude, and full Chinese weather descriptions.

Where to use

hefeng-mcp-weather can be used in applications requiring weather data, such as mobile apps, web services, and IoT devices that provide weather updates.

Content

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

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers