关于 TidesAtlas
TidesAtlas 是提供全球港口潮汐预测、海洋天气预报和天文数据的 API,适用于开发者及海事或旅行应用。它通过单一 API 提供预报、历史数据和多种潮汐基准面数据。
主要功能
- 01潮汐时间、高度与系数
- 02天气预报
- 03波浪与涌浪数据
- 04日出、日落与月相数据
- 05多种潮汐基准面
- 06法国站点实时观测
适用场景
- 01查询港口潮汐状况
- 02结合波浪和天气规划海上活动
- 03获取日出或月亮信息
- 04查询历史潮汐和天气数据
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://tidesatlas.com/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http com-tidesatlas-tides https://tidesatlas.com/mcpCursor.cursor/mcp.json
{"mcpServers":{"com-tidesatlas-tides":{"type":"http","url":"https://tidesatlas.com/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"com-tidesatlas-tides":{"type":"http","url":"https://tidesatlas.com/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"com-tidesatlas-tides":{"type":"http","url":"https://tidesatlas.com/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"com-tidesatlas-tides":{"serverUrl":"https://tidesatlas.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
全部服务地址
Streamable HTTP
https://tidesatlas.com/mcp需要授权工具
详细介绍
TidesAtlas API
为 180 个国家的 13,000 多个港口提供全球潮汐预测、海洋预报和天文数据。
基础 URL: https://tidesatlas.com/api/v1
控制面板: tidesatlas.com/api/dashboard
功能
- 潮汐预测:覆盖 180 个国家的 13,000 多个港口
- 潮汐系数(法国系数刻度,20-120)
- 天气预报 — 温度、风、降水、UV 指数
- 海洋数据 — 浪高、涌浪、浪向、海况
- 天文数据 — 日出、日落、月相、照明度
- 多种基准面 — LAT、MSL、MLLW、MHW、MHHW 等
- 实时观测数据:法国 REFMAR 站点
快速开始
- 在 tidesatlas.com/api/register 注册(赠送 50 个免费额度,无需信用卡)
- 从控制面板复制 API 密钥
- 发起首次调用:
curl -H "X-API-Key: YOUR_KEY" \
"https://tidesatlas.com/api/v1/tides?port=brest&days=3"
端点
| 端点 | 描述 |
|---|---|
GET /tides | 高潮和低潮时间、水位及系数 |
GET /ports | 按名称、坐标或国家搜索港口 |
GET /countries | 列出所有国家及其港口数量 |
GET /weather | 天气预报(1-7 天) |
GET /marine | 波浪和涌浪预报(1-7 天) |
GET /astronomy | 日出、日落、月相 |
GET /conditions | 一次调用获取天气、海洋和天文数据 |
GET /history | 历史潮汐和天气数据 |
身份验证
在 X-API-Key 标头中传入 API 密钥:
X-API-Key: ta_your_api_key_here
示例
多种语言的完整可运行示例:
响应示例
{
"port": {
"name": "Brest",
"slug": "brest",
"country": "France",
"region": "Brittany"
},
"datum": {
"reference": "LAT",
"available": ["LAT", "MSL", "MLLW", "MHW", "MLW", "MHHW", "MTL"]
},
"extremes": [
{
"datetime": "2026-05-13T05:18:00+02:00",
"height_m": 6.79,
"type": "high"
},
{
"datetime": "2026-05-13T11:45:00+02:00",
"height_m": 0.82,
"type": "low"
}
]
}
基准面转换
以任何受支持的参考系请求高度:
# Heights relative to Mean Sea Level
curl -H "X-API-Key: KEY" \
"https://tidesatlas.com/api/v1/tides?port=brest&datum=MSL"
# Heights relative to Mean Lower Low Water (US standard)
curl -H "X-API-Key: KEY" \
"https://tidesatlas.com/api/v1/tides?port=seattle&datum=MLLW"
速率限制
| 套餐 | 请求数 | 价格 |
|---|---|---|
| Free | 一次性 50 个额度 | $0 |
| Hobby | 每天 500 次 | $4.99/mo |
| Starter | 每天 1,000 次 | $9/mo |
| Pro | 每天 10,000 次 | $29/mo |
| Business | 每天 50,000 次 | $79/mo |
每个响应都包含速率限制标头:
X-RateLimit-Limit: 500
X-RateLimit-Remaining: 347
X-RateLimit-Reset: 1715644800
数据来源
- 潮汐预测: 使用 TICON-4 和 FES2022 潮汐分量进行谐波分析
- 天气: 通过 Open-Meteo 获取 NOAA GFS 数据(CC BY 4.0)
- 海洋: 通过 Open-Meteo 获取 Copernicus Marine / ECMWF 数据(CC BY 4.0)
- 天文数据: 根据日月星历计算
状态
API 状态页面:tidesatlas.com/api/status
支持
- 电子邮件:[email protected]
- 问题反馈:GitHub Issues
许可证
此代码库仅包含文档和示例代码。示例代码以 MIT License 发布。API 本身是一项商业服务,详情请参阅使用条款。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。