这是一个使用高德地图的天气接口,获取当前城市天气的demo。
需要一个高德地图的apikey,申请地址:https://lbs.amap.com/api/webservice/guide/api/weather
{
"mcpServers": {
"gaodeweather": {
"name": "gaodeweather",
"command": "uvx",
"args": [
"mcp-gaodeweather-server"
],
"env": {
"GAODE_KEY": "your apikey"
}
}
}
}
To install mcp-gaodeweather-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kevinkelin/mcp-gaodeweather-server --client claude