weather-mcp/weather-mcp
让 AI 助手免费获取实时与历史天气数据的 MCP 服务器
解决什么问题
没有它,AI 助手只能凭训练数据谈天气,无法拿到实时预报、警报与历史观测。
- 19 个工具覆盖预报与警报
- 免费公共数据源,无需注册
- 历史天气可回溯 85 年以上
适用客户端
- claude-desktop
- cursor
- vscode
- cline
- cli
安装命令
claude mcp add weather -- npx -y @dangahagan/weather-mcp@latest 一键配置
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"-y",
"@dangahagan/weather-mcp@latest"
]
}
}
} {
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"-y",
"@dangahagan/weather-mcp@latest"
]
}
}
} {
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"-y",
"@dangahagan/weather-mcp@latest"
],
"env": {
"ENABLED_TOOLS": "all",
"CACHE_MAX_SIZE": "2000",
"LOG_LEVEL": "1"
}
}
}
} 安全标记
- 需要 API Key: 否
- 本地运行: 是
- 访问网络: 是
- 需要 root: 否
维护状态
| 最近提交 | 2026-12-06(0d) |
|---|---|
| Star | 62 |
| 待处理 issue | 4 |
| 协议 | MIT |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-06 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
Weather MCP is a [Model Context Protocol](https://modelcontextprotocol.io) server that connects AI assistants (Claude, Cursor, Cline, Zed, and any other MCP client) to live weather data: forecasts, current conditions, alerts, air quality, marine conditions, lightning, radar, rivers, wildfires, aviation weather, and 85+ years of historical weather.