← 返回
未分类 中文

Beach Safety

Comprehensive beach surf conditions via mcporter MCP call. Use when asked about surf, waves, swim conditions, rip currents, or beach safety at any beach worl...
通过 mcporter MCP 调用提供全面的海滩冲浪信息,适用于询问冲浪、波浪、游泳条件、离岸流或海滩安全等问题。
evanfoglia evanfoglia 来源
未分类 clawhub v1.1.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 411
下载
💾 1
安装
2
版本
#latest

概述

Beach Safety

Get surf/weather conditions for any beach using the beach-safety MCP server.

Quick Usage

mcporter call beach-safety get_beach_report --args '{"beach_name": "Waikiki"}'
mcporter call beach-safety get_beach_report --args '{"beach_name": "Hapuna Beach, Hawaii"}'

Tools Available

ToolUse Case
----------------
get_beach_reportFull text report — waves, swell, wind, UV, safety score, recommendations
get_beach_jsonSame data as JSON for programmatic use
get_surf_forecastSurf-specific: wave height, swell, period, direction, rip risk
get_uv_forecastUV index with sun protection guidance

Safety Score

ScoreMeaningAction
------------------------
9-10Generally safeEnjoy with normal precautions
7-8Minor concernsCaution advised
4-6CautionSwim near lifeguard
1-3DangerousStay out of the water

Reporting Style

Always include BOTH current UV and daily max UV in surf summaries. The API returns them as current=X (daily max=Y). Never just say "UV max" — say "UV current=X (daily max=Y)" so the user knows if it's day or night at the beach.

Installation (Universal)

1. Install dependencies

pip install -r requirements.txt

(Requires Python 3.10+ and httpx>=0.27.0)

2. Find your install path

After clawhub install beach-safety, the skill lands in your skills directory (e.g. ~/.openclaw/workspace/skills/beach-safety/). The MCP server is at:

<install-dir>/src/server.py

For example, if you installed into ~/.openclaw/workspace/skills/:

# Confirm the path
ls ~/.openclaw/workspace/skills/beach-safety/src/server.py

3. Add to mcporter

Add this to your mcporter config (e.g. ~/.openclaw/workspace/config/mcporter.json):

{
  "mcpServers": {
    "beach-safety": {
      "command": "python3",
      "args": ["<path-to>/src/server.py"]
    }
  }
}

Replace with the actual install location from step 2.

4. Test

mcporter call beach-safety get_beach_report --args '{"beach_name": "Waikiki"}'

Data Sources (all free — no API keys)

SourceData
--------------
OpenStreetMap / PhotonsBeach name → coordinates
Open-Meteo MarineWave height, swell, ocean currents
Open-Meteo WeatherAir temp, wind, precipitation, UV index
NOAA NWSRip current risk, surf zone forecast (US only)

Notes

  • Works for any beach worldwide — just name it
  • NOAA surf zone data is most detailed for US coasts
  • Open-Meteo marine data covers global oceans
  • Some less-famous beaches may not resolve — try adding country/state (e.g. "Kuta Beach, Bali, Indonesia")
  • Beach name → coordinates powered by OpenStreetMap + Photons (free)

版本历史

共 2 个版本

  • v1.1.2 当前
    2026-06-04 13:25
  • v1.1.0
    2026-05-03 10:16 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

life-service

Sonoscli

steipete
控制Sonos音箱(发现/状态/播放/音量/分组)
★ 56 📥 85,102
knowledge-management

Wikipedia

evanfoglia
通过MCP访问维基百科,搜索文章、获取摘要、随机知识和恐龙知识。适合研究、创意灵感和百科查询。
★ 0 📥 1,053
life-service

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 453 📥 228,114