微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🌊

全球潮汐与海洋气象数据服务

tides · vv1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
专业技能 安全 A 级 作者 hamandmore 公开目录收录
880 下载 313 安装 2.5k 收藏 28.2k 浏览

简介

基于第三方 API 的全球潮汐预测服务,支持实时潮高、极值计算及气象数据查询,适用于航海、渔业及海洋科研场景。

原始描述

Access global ocean tides model. Functions include tide height at a given date/time/location, tide extrema, and grid weather data.

通过你的 Agent 添加

安装目录:tides/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/tides/
Codex CLI~/.codex/skills/tides/
DeepSeek Harness~/.agents/skills/tides/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: tides description: Access global ocean tides model. Functions include tide height at a given date/time/location, tide extrema, and grid weather data.

Tides JSON-RPC Access

Use this guide to call the deployed API directly:

  • Base URL: https://hamandmore.net/api/harmonics/mcp
  • Method: POST
  • Content-Type: application/json
  • Protocol: JSON-RPC 2.0 request envelope

Authentication

Use one of these modes:

  • Anonymous: no Authorization header (free tier rate limits)
  • Keyed: add Authorization: Bearer <token> or Authorization: Basic <token>
  • Need higher usage tiers? Request authentication by emailing hamandmore@gmail.com.

Important:

  • Basic here is an opaque token prefix, not RFC Basic base64 decoding.
  • Tokens do not need to be valid base64.

JSON-RPC Envelope

Always send:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list",
  "params": {}
}
  • id: any client correlation value
  • method: one of initialize, tools/list, tools/call
  • params: object (required shape depends on method)

Quick Start Commands

Initialize:

curl -sS -X POST https://hamandmore.net/api/harmonics/mcp \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'

List tools:

curl -sS -X POST https://hamandmore.net/api/harmonics/mcp \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'

List tools (keyed tier):

curl -sS -X POST https://hamandmore.net/api/harmonics/mcp \
  -H 'content-type: application/json' \
  -H 'authorization: Bearer YOUR_TOKEN' \
  --data '{"jsonrpc":"2.0","id":3,"method":"tools/list","params":{}}'

Tool Call Pattern

All tool calls use:

{
  "jsonrpc": "2.0",
  "id": 10,
  "method": "tools/call",
  "params": {
    "name": "TOOL_NAME",
    "arguments": {}
  }
}

Curl Examples

1) Current time (tides_time)

curl -sS -X POST https://hamandmore.net/api/harmonics/mcp \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":10,"method":"tools/call","params":{"name":"tides_time","arguments":{}}}'

2) Single tide value (tides_single)

curl -sS -X POST https://hamandmore.net/api/harmonics/mcp \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":11,"method":"tools/call","params":{"name":"tides_single","arguments":{"latitude":40.7128,"longitude":-74.0060,"time":"2026-02-10T00:00:00Z"}}}'

3) Tide extrema (tides_extrema)

curl -sS -X POST https://hamandmore.net/api/harmonics/mcp \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":12,"method":"tools/call","params":{"name":"tides_extrema","arguments":{"latitude":40.7128,"longitude":-74.0060,"start_time":"2026-02-10T00:00:00Z","end_time":"2026-02-11T00:00:00Z"}}}'

4) Weather points (weather_met)

curl -sS -X POST https://hamandmore.net/api/harmonics/mcp \
  -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","id":13,"method":"tools/call","params":{"name":"weather_met","arguments":{"latitude":40.7128,"longitude":-74.0060,"start_time":"2026-02-10T00:00:00Z","variables":["wind/surface/0","tmp/surface/0"]}}}'

Response Shape

Successful responses include:

  • result.content[0].text: stringified JSON result
  • result.structuredContent: same result as an object (preferred)

Errors use JSON-RPC error:

  • -32602: invalid params
  • -32601: method not found
  • -32603: server/tool exception

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

apidata-analyticseducation-researchocean

同类 Skill