WM

weather-mcp/weather-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

58 stars 11 forks 质量 88 趋势 21MIT

weather-mcp/weather-mcp 是从 https://github.com/weather-mcp/weather-mcp. 导入的 MCP 服务器候选

概览

weather-mcp/weather-mcp 是从 https://github.com/weather-mcp/weather-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

为你的AI助手提供真实天气数据——17个工具,零API密钥,零注册,零成本。

天气MCP是一个模型上下文协议服务器,连接AI助手(Claude、Cursor、Cline、Zed及其他MCP客户端)与实时天气数据:预报、当前状况、警报、空气质量、海洋状况、闪电、雷达、河流、野火以及85+年的历史天气。它完全基于免费的公共数据源构建——NOAA、Open-Meteo、MET Norway、USGS、NIFC、NASA公司、RainViewer和 Blitzortung.org——因此无需注册,也无需粘贴密钥。(少数可选密钥可解锁额外内容——参见可选API密钥——但没有工具需要添加。)

这就是 Claude Code 的全部安装内容。对于其他 MCP 客户端,可以在它的 MCP 配置里添加以下内容:

那就直接问:

“这个周末东京的天气怎么样?” “现在湖附近有闪电吗?” “今天和这个季节的平常相比怎么样?” “我小屋50英里范围内有野火吗?” “这个周末会有满月吗?” “这是今天的最高纪录吗?” “今天柏林的花粉有多严重?” “1944年6月6日巴黎的天气如何?”

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Weather MCP Server

Give your AI assistant real weather data — 17 tools, zero API keys, zero signup, zero cost.

Weather MCP is a Model Context Protocol 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, and 85+ years of historical weather. It’s built entirely on free public data sources — NOAA, Open-Meteo, MET Norway, USGS, NIFC, NASA FIRMS, RainViewer, and Blitzortung.org — so there is nothing to sign up for and no key to paste in. (A few optional keys unlock extras — see Optional API keys — but no tool ever requires one.)

claude mcp add weather -- npx -y @dangahagan/weather-mcp@latest

That’s the whole install for Claude Code. For any other MCP client, add this to its MCP config:

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

Then just ask:

“What’s the weather in Tokyo this weekend?” “Is there any lightning near the lake right now?” “How does today compare to normal for this time of year?” “Are there wildfires within 50 miles of my cabin?” “Will there be a full moon this weekend?” “Is this a record high for today?” “How bad is the pollen in Berlin today?” “What was the weather in Paris on June 6, 1944?”

👉 See it in action — real prompts like these with the answers they produced, and the raw server output behind them.

📦 Listed in the Official MCP Registry as io.github.dgahagan/weather-mcp.

✅ The official package is @dangahagan/weather-mcp, published from this repository via npm trusted publishing. Every release carries a signed provenance attestation tying the tarball to the exact commit and workflow that built it — verify any version without installing it:

npm view @dangahagan/weather-mcp@latest dist.attestations
在 GitHub 查看完整 README

安装

npx -y @dangahagan/weather-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

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