weather-server

weather-server

3.2

If you are the rightful owner of weather-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This is a weather service based on the official website, utilizing HeWeather as the weather service provider.

天气服务

仿照官网制作的天气服务,天气的服务提供商是和风天气,在此项目中你需要申请一个密钥用于获得天气服务。

功能

  • 获得城市地理位置
  • 获取指定城市的实时天气
  • 获取指定城市的生活指数

快速入门

  1. clone项目
  2. 执行下面的命令
npm run build
  1. 粘贴如下配置到你的 MCP 服务配置中
 "weather-server": {
      "command": "cmd",
      "args": [
        "/c",
        "node",
        "path\\to\\build\\index.js",
        "your-key"
      ]
    }

注意:需要 node18 及以上的环境才能使用