Hefeng MCP Server

an mcp server for hefeng weather api

Local serverstdio

What is the Hefeng MCP Server?

an mcp server for hefeng weather api

The short version

A Model Context Protocol server that provides weather forecast data for locations in China through HeFeng Weather API.

  • 获取实时天气、逐小时和多天预报
  • 城市名称模糊搜索及经纬度查询
  • 获取天气生活指数(如穿衣、洗车、运动等)
  • 支持JWT认证,API主机可配置

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Hefeng MCP Server

{
  "mcpServers": {
    "hefeng-weather": {
      "command": "npx",
      "args": [
        "hefeng-weather-mcp@latest",
        "--apiHost=https://devapi.qweather.com",
        "--privateKey=${YOUR_PRIVATE_KEY}",
        "--keyId=${YOUR_KEY_ID}",
        "--projectId=${YOUR_PROJECT_ID}"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Frequently asked questions

an mcp server for hefeng weather api Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.