Mcp Gaodeweather Server

Mcp Gaodeweather Server

🚀 使用高德地图天气接口获取城市天气信息示例

本示例借助高德地图的天气接口,可轻松获取当前城市的天气信息,为你提供便捷的天气查询体验。

🚀 快速开始

✨ 主要特性

  • 利用高德地图天气接口获取城市天气信息。
  • 支持通过MCP服务器和Smithery工具进行配置与安装。

📦 安装指南

请按照以下步骤完成安装与配置:

  1. 注册高德开发者账号:访问 高德开放平台 并注册一个开发者账号。
  2. 申请API Key:登录后,进入“我的应用”创建新应用,并在“应用详情”中获取你的 API Key。
  3. 配置MCP服务器
    • 在MCP配置文件中添加一个名为 gaodeweather 的服务,指定其命令为 uvx 并传入参数 mcp-gaodeweather-server
    • 设置环境变量 GAODE_KEY 为你的高德API Key。
  4. 启动服务:通过Claude Desktop启动配置好的MCP服务器。

MCP 配置示例

{
"mcpServers": {
"gaodeweather": {
"name": "gaodeweather",
"command": "uvx",
"args": [
"mcp-gaodeweather-server"
],
"env": {
"GAODE_KEY": "your_apikey_here"
}
}
}
}

使用Smithery安装

要通过 Smithery 自动安装 mcp-gaodeweather-server 到Claude Desktop,可执行以下命令:

npx -y @smithery/cli install @kevinkelin/mcp-gaodeweather-server --client claude

🔍 注意事项

  • 请将 your_apikey_here 替换为你的高德API Key。
  • 安装命令会在Claude Desktop中自动配置并启动服务。
  • 0 关注
  • 0 收藏,23 浏览
  • system 提出于 2025-10-01 12:39

相似服务问题

相关AI产品