Weather Alerts & Forecast

搜索与获取

by rsys-vtiwari

提供美国 NWS 各州预警信息,以及指定点位未来 5 个时段的短期天气预报。

什么是 Weather Alerts & Forecast

提供美国 NWS 各州预警信息,以及指定点位未来 5 个时段的短期天气预报。

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 init
git 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.git
git branch -M main
git push -u origin main

Tag version for release consistency:

powershell
git tag v0.1.0
git 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 twine
python -m build
twine upload dist/*

License

MIT (adjust if different).

Disclaimer

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

常见问题

Weather Alerts & Forecast 是什么?

提供美国 NWS 各州预警信息,以及指定点位未来 5 个时段的短期天气预报。

相关 Skills

热门

股票投研9点分析框架,覆盖基本面/财务/竞品/估值/宏观/情绪等维度

搜索与获取
未扫描4.3k

SEO审计工具

by amdf01-debug

热门

搜索与获取
未扫描4.3k

智能浏览器

by ayakolin

热门

A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands. (Chinese localized version)

搜索与获取
未扫描4.3k

相关 MCP Server

网页抓取

编辑精选

by Anthropic

热门

Fetch 是 MCP 官方参考服务器,让 AI 能抓取网页并转为 Markdown 格式。

这个服务器解决了 AI 直接处理网页内容时格式混乱的问题,适合需要让 Claude 分析在线文档或新闻的开发者。不过作为参考实现,它缺乏生产级的安全配置,你得自己处理反爬虫和隐私风险。

搜索与获取
84.2k

Brave 搜索

编辑精选

by Anthropic

热门

Brave Search 是让 Claude 直接调用 Brave 搜索 API 获取实时网络信息的 MCP 服务器。

如果你想让 AI 助手帮你搜索最新资讯或技术文档,这个工具能绕过传统搜索的限制,直接返回结构化数据。特别适合需要实时信息的开发者,比如查 API 更新或竞品动态。不过它依赖 Brave 的 API 配额,高频使用可能受限。

搜索与获取
84.2k

by Anthropic

热门

Puppeteer 是让 Claude 自动操作浏览器进行网页抓取和测试的 MCP 服务器。

这个服务器解决了手动编写 Puppeteer 脚本的繁琐问题,适合需要自动化网页交互的开发者,比如抓取动态内容或做端到端测试。不过,作为参考实现,它可能缺少生产级的安全防护,建议在可控环境中使用。

搜索与获取
84.2k

评论