天气数据服务

提供全球天气数据、预报和空气质量信息的MCP服务器,基于Open-Meteo API,免费且无需API密钥。

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

使用说明

@aigentkarl/天气mcp服务器

用于全球天气数据、预报和空气质量的MCP服务器——由 开放天气.

免费,不需要API密钥。

工具

工具 说明
geocode 城市名称到坐标(最多5个结果)
get_current_weather 当前温度、风、湿度、压力
get_forecast 每日预报长达16天
get_air_quality 欧洲空气质量指数、PM2.5、PM10、NO2、臭氧

快速开始

使用克劳德桌面

添加到您的 claude_desktop_config.json:

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["-y", "@aiagentkarl/weather-mcp-server"]
    }
  }
}

使用npm(全局)

npm install -g @aiagentkarl/weather-mcp-server
weather-mcp-server

示例用法

> get_current_weather({ location: "Berlin" })
> get_forecast({ location: "Tokyo", days: 5 })
> get_air_quality({ location: "Los Angeles" })
> geocode({ name: "München" })

位置可以是城市名称或坐标(例如。 "48.14,11.58").

API

使用免费 开放气象API -没有注册,没有API密钥,没有合理使用的费率限制。


AiAgentKarl提供的更多MCP服务器

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

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

许可证

麻省理工学院