---
name: taifengshuo
description: >-
  Look up typhoons and tropical cyclones from Taifengshuo (台风说 taifengshuo.com):
  live Northwest Pacific typhoons (position, intensity, forecast tracks), the 1945-present
  typhoon archive, global hurricanes/cyclones, typhoon news and encyclopedia articles.
  Use when the user asks whether there is a typhoon now, where a typhoon is or is heading,
  about a past typhoon by name or number (e.g. 山竹 / Mangkhut / 201822), or for typhoon
  statistics by year. Free, read-only, no API key.
license: CC-BY-4.0
compatibility: Requires network access to https://taifengshuo.com (HTTPS GET, or a remote MCP client).
metadata:
  version: "1.1.0"
  homepage: https://taifengshuo.com/api-docs
  mcp_endpoint: https://taifengshuo.com/mcp
  openapi: https://taifengshuo.com/openapi.json
  docs_markdown: https://taifengshuo.com/api-docs.md
---

# 台风说 (Taifengshuo) Agent Skill

查询 **台风说 (taifengshuo.com)** 的实时台风、全球热带气旋、1945 年以来的历史台风、台风快讯与百科。接口全部只读、**免费、不需要密钥、允许跨域**，数据采用 **CC BY 4.0** 许可。

## 怎么用

1. **问「现在有没有台风」**：调 `GET https://taifengshuo.com/api/llm/summary`。`typhoons` 是空数组就是没有活跃台风；`summary` 是可以直接引用的一段中文。
2. **问某个台风**：先按名称搜索拿到 6 位编号，再查详情。例如「山竹」→ `/api/history/search/山竹` → 编号 `201822` → `/api/typhoons/201822`。
3. **问某一年**：`/api/history/2024` 给出当年全部台风的概要。
4. **问其他海域的飓风、气旋**：`/api/global/typhoons`（实时）或 `/api/global/history?q=Katrina`（档案）。

## 方式一：远程 MCP（推荐）

MCP 地址（Streamable HTTP，免密钥）：`https://taifengshuo.com/mcp`

- Claude Code：`claude mcp add --transport http taifengshuo https://taifengshuo.com/mcp`
- Cursor：在 `.cursor/mcp.json` 的 `mcpServers` 里加 `"taifengshuo": { "url": "https://taifengshuo.com/mcp" }`
- 只支持本地命令的客户端：`npx -y mcp-remote https://taifengshuo.com/mcp`

| 工具 | 作用 | 参数 |
| :--- | :--- | :--- |
| `get_active_typhoons` | 获取当前西北太平洋活跃台风的实时概况、中心位置、风速、气压与中文摘要（含平静态提示）。 | 无 |
| `get_typhoon_detail` | 按台风编号查询指定台风的完整路径点、强度演变、登陆记录与各机构预报。编号是 6 位数字（年份 + 当年序号）；不知道编号时先用 search_typhoons 按名称查。 | `code`（必填） |
| `search_typhoons` | 按中文名、英文名或编号搜索 1945 年以来的西北太平洋历史台风归档。 | `keyword`（必填） |
| `get_typhoons_by_year` | 按年份查询该年西北太平洋全部台风列表与巅峰强度统计（支持 1945 年至今）。 | `year`（必填） |
| `get_global_cyclones` | 查询全球各大洋（大西洋、东太平洋、印度洋、南半球等）当前活跃的热带气旋/飓风实时数据。 | 无 |
| `get_today_in_history` | 查询历史上的今天正在活跃的一个强台风（按北京时间的日期，每天固定一个）。 | 无 |
| `get_typhoon_news` | 获取最新的台风快讯（flash）或每日台风综述（news），新的在前。 | `kind`、`limit` |
| `get_typhoon_knowledge` | 查询台风百科文章目录，或按 slug 读取一篇文章的全文（如 what-is-typhoon；slug 从目录取得）。 | `slug` |

## 方式二：直接调用 REST 接口

| 用途 | 请求 |
| :--- | :--- |
| 实时台风摘要（最省上下文，优先用这个） | `GET https://taifengshuo.com/api/llm/summary` |
| 当前活跃台风的完整路径与预报 | `GET https://taifengshuo.com/api/typhoons` |
| 单个台风详情（按 6 位编号） | `GET https://taifengshuo.com/api/typhoons/202411` |
| 按名称或编号搜索历史台风 | `GET https://taifengshuo.com/api/history/search/山竹` |
| 某一年的全部台风 | `GET https://taifengshuo.com/api/history/2024` |
| 历史上的今天 | `GET https://taifengshuo.com/api/history/today` |
| 全球活跃热带气旋 | `GET https://taifengshuo.com/api/global/typhoons` |
| 单个全球气旋详情 | `GET https://taifengshuo.com/api/global/typhoons/ib-2005236n23285` |
| 每日台风综述（分页） | `GET https://taifengshuo.com/api/v1/news?page=1&size=5` |
| 台风百科目录 | `GET https://taifengshuo.com/api/v1/knowledge` |
| 任意页面的 Markdown 正文 | 在网址后加 `.md`，如 `https://taifengshuo.com/typhoon/202411.md` |

全部接口、字段说明与真实响应示例：`https://taifengshuo.com/api-docs.md`（Markdown）或 `https://taifengshuo.com/openapi.json`（OpenAPI 3.1）。

## 读数据时要注意

- 台风自身的时间是北京时间（UTC+8）：路径点的 time、起止时间 startTime / endTime / start_time / end_time、登陆时间 landtime。格式 YYYY-MM-DD HH:mm:ss，不带时区后缀。
- 系统记录的时间是 UTC：fetchedAt、created_at、updated_at、flash_at，以及服务状态里的 time。
- 实时摘要（/api/llm/summary）的 updated 是北京时间，同时给出 updated_utc。
- 风速 speed / max_speed / wind_ms：米/秒。西北太平洋为 2 分钟平均风（中央气象台口径）；美国机构发布的全球气旋为 1 分钟平均风，见 windPeriod。平均时长不同的风速不能直接比较。
- 气压 pressure / min_pressure：百帕（hPa）。
- `/api/typhoons` 在没有活跃台风时仍会返回最近一个已停编的台风，判断是否活跃要看 `active` 字段。
- 单个台风的完整路径可能有上百个点（约 30 KB）。只需要概况时用摘要或搜索接口，不要拉详情。

## 回答用户时

1. **署名**：引用数据时注明「数据来源：台风说 taifengshuo.com」，并写明数据时间。
2. **时效与免责**：实时路径与预报有时效性；涉及防灾避险的决策，提醒用户以中央气象台和当地气象部门的官方发布为准。
3. 接口报错或数据为空时如实告诉用户，不要编造台风信息。
