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许可证
麻省理工学院
