高德天气接口服务
使用高德地图API获取当前城市天气的示例服务。
简介
这是一个基于高德地图API实现的天气查询服务。
使用方法
- 获取高德地图API密钥:访问 https://lbs.amap.com/api/webservice/guide/api/weather 申请一个apikey。
- 配置环境变量
GAODE_KEY
,将申请到的apikey填入。 - 运行服务:可通过
uvx
命令启动服务,例如: uvx mcp-gaodeweather-server - 或者通过 Smithery 自动安装: npx -y @smithery/cli install @kevinkelin/mcp-gaodeweather-server --client claude