Skip to content

CoteNite/weather-mcp

Repository files navigation

Weather-MCP

由于之前开发的小项目中需要用到天气查询的tool,因此就针对和风天气的Api写了一个

再然后就想着能不能拆成一个单独的MCP,就有了这个项目

和风天气开发文档:https://dev.qweather.com/docs/api/geoapi/

使用教程

根据和风天气的文档修改yml文件里的配置内容(本项目使用的为官方推荐的JWT模式)

weather:
  base-url: ${weather.base-url}
  sk: ${weather.sk}
  kid: ${weather.kid}
  sub: ${weather.sub}

为了方便使用,因此是根据给到的城市名称查询

About

和风天气的mcp(sse模式)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages