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 整合