气象数据服务

提供免费的气象预报、历史数据、空气质量及海洋条件查询服务,无需API密钥。

  • by PetrefiedThunder
  • JavaScript
  • 本地部署
  • 更新于
在 GitHub 查看 PetrefiedThunder/mcp-openmeteo

使用说明

mcp-openmeteo

获取天气预报、历史数据、空气质量和海洋条件-免费,无API密钥。

免费API -不需要API密钥。

工具

工具 说明
get_weather 获取当前天气和7天预报。免费,无API密钥。
get_hourly 获取每小时预报(48小时)。
get_historical 获取历史天气数据。
get_air_quality 获取空气质量指数和污染物水平。
geocode 将位置名称转换为坐标。
get_marine 获取海洋/海洋预报。

安装

git clone https://github.com/PetrefiedThunder/mcp-openmeteo.git
cd mcp-openmeteo
npm install
npm run build

使用Claude Desktop

添加到您的 claude_desktop_config.json:

{
  "mcpServers": {
    "openmeteo": {
      "command": "node",
      "args": ["/path/to/mcp-openmeteo/dist/index.js"]
    }
  }
}

使用npx

npx mcp-openmeteo

许可证

麻省理工学院