天气数据服务

提供全球天气、预报、空气质量及历史气候数据的免费API服务,适用于天气应用开发和数据分析。

  • by AiAgentKarl
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 AiAgentKarl/weather-mcp-server

使用说明

气象MCP服务器🌤️

MCP服务器,用于全球天气、预报、空气质量和气候数据。由...驱动 开放天气 — 完全免费,不需要API密钥.

特性

  • 当前天气 --任何地点的温度、湿度、风、降水
  • 预测 --多达16天的每日降水概率预报
  • 空气质量 --欧盟/美国空气质量指数、PM2.5、PM10、臭氧、NO₂ 以及更多
  • 历史天气 --1940年以来的每日天气数据
  • 海洋天气 --沿海地区的波高、涌浪、洋流
  • 地理编码 --将城市名称转换为坐标

安装

pip install weather-mcp-server

使用Claude代码

添加到您的 .mcp.json:

{
  "mcpServers": {
    "weather": {
      "command": "uvx",
      "args": ["weather-mcp-server"]
    }
  }
}

工具

工具 说明
get_current_weather 任何地点的当前天气状况
get_weather_forecast 每日预报长达16天
get_air_quality 空气质量指数和污染物水平
get_historical_weather 历史每日天气数据(自1940年以来)
get_marine_weather 波高、涌浪、洋流
geocode_location 将城市名称转换为坐标

示例

"What's the weather in Berlin?"
"Give me a 10-day forecast for Tokyo"
"How was the weather in New York on Christmas 2023?"
"What's the air quality in Beijing?"
"Wave conditions at Sylt for surfing?"

数据源

所有数据由 开放天气 --免费用于非商业用途。


AiAgentKarl提供的更多MCP服务器

类别 服务器
🔗 区块链 索拉纳
🌍 数据 天气 · 德国 · 农业 · 太空 · 航空 · 欧盟公司
🔒 安全 网络安全 · 策略网关 · 审计跟踪
🤖 代理基础设施 记忆 · 目录 · 中心 · 声誉
🔬 研究 学术的 · LLM基准 · 法律

→ 完整目录(40+台服务器)

许可证

麻省理工学院