Weather Alerts & Forecast

io.github.rsys-vtiwari由 GitHub 账号 rsys-vtiwari 发布v0.1.0更新于 Nov 3, 2026

US NWS alerts by state and short-term (next 5 periods) point forecasts.

发布方自己的服务:AlertsBar

已验证STDIO仅桌面位置与生活

概览

AI 生成的概览

本地 MCP 服务器,让助手按州查询美国国家气象局预警,并按经纬度获取短期点位预报。

可以做什么
  • 按两位州代码获取美国某州当前生效的 NWS 气象预警
  • 按经纬度获取未来 5 个时段的短期点位预报
适用场景
适合需要让助手查看美国境内当前气象预警或某地简短预报的场景,例如在美国境内安排出行或户外作业时。
运行要求
以 Python 本地进程通过 stdio 运行;README 使用 pip 安装并以 python -m weather.weather 启动。需要访问公开的 NWS API 网络。未声明账号、API 密钥、环境变量或请求头。
安装前请注意
仅覆盖美国国家气象局数据,不支持美国以外地区。README 提醒遵守该公开 API 的使用规范和速率限制。不涉及写入操作或凭据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Weather Alerts & Forecast,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Weather MCP Server

An MCP server that provides:

  • Active US National Weather Service (NWS) alerts by two-letter state code
  • Short-term point forecasts (next 5 periods) for latitude/longitude coordinates

Data is sourced from the public NWS API at https://api.weather.gov.

Tools

ToolDescriptionInputs
get_alertsFetch active NWS alerts for a US statestate (string, two-letter code)
get_forecastFetch short-term forecast (next 5 periods) for coordinateslatitude (number), longitude (number)

Usage (Local)

Install dependencies:

powershell
pip install .

Run the MCP server (stdio transport):

powershell
python -m weather.weather

Your MCP client should be configured to launch the server via the package entrypoint or the above module path.

Server JSON Summary

See server.json for registry metadata including name, version, tools, and entrypoint configuration.

Publishing Steps (Overview)

  1. Authenticate with publisher (GitHub namespace):
    powershell
    mcp-publisher login github
  2. Create and push repo to GitHub (see steps below).
  3. (Optional) Publish to PyPI if distributing as a package.
  4. Publish to MCP registry:
    powershell
    mcp-publisher publish
  5. Verify:
    powershell
    curl "https://registry.modelcontextprotocol.io/v0/servers?search=io.github.vtiwari/weather-mcp"

Create & Push GitHub Repository

If this directory is not yet a git repo:

powershell
git initgit add .git commit -m "Initial commit: Weather MCP server"

Create repo (GitHub CLI) and push:

powershell
gh repo create vtiwari/weather-mcp --public --source . --remote origin --push

If not using GitHub CLI, create the repo manually via the GitHub web UI, then:

powershell
git remote add origin https://github.com/vtiwari/weather-mcp.gitgit branch -M maingit push -u origin main

Tag version for release consistency:

powershell
git tag v0.1.0git push origin v0.1.0

PyPI Packaging (Optional)

To distribute via PyPI, ensure pyproject.toml includes build backend and metadata (authors, license). Then:

powershell
pip install build twinepython -m buildtwine upload dist/*

License

MIT (adjust if different).

Disclaimer

This server uses public NOAA/NWS endpoints. Respect API usage guidelines and rate limits.

来源:README.md,提交 70118b4

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Alerts 集成