Mmcp.market

Cwa MCP server

by gary2376·io.github.gary2376/cwa-mcp-server·v0.1.1

MCP server for Taiwan CWA open data: weather forecast, earthquake, warnings, typhoon.

B78/100grade B
What users say
No reviews yet
Be the first
Safety scan
B78/100

full report

Adoption
New

0 stars35 downloads/wk

Reviews

Write one

Nobody has reviewed Cwa yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Cwa tools (4)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • get_earthquake_report

    查詢最近 N 筆顯著有感地震報告(時間、地點、規模、深度)。

  • get_typhoon_warning

    查詢最近 N 筆颱風警報(命名、路徑強度描述、大雨/強風特報段落)。

  • get_weather_forecast

    查詢指定縣市未來 36 小時天氣預報(天氣現象、降雨機率、氣溫等)。

  • get_weather_warning

    查詢指定縣市目前生效中的天氣特報(豪雨、強風等現象與有效時段)。

Public scan report

scanner v0.1.9 · 2026-09-21 · same rubric, same numbers if you re-run it

no findings
  • Code scan5 source files scanned25/25
  • Live reliabilityno gateway calls yet and no remote to proben/a
  • Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 31 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 78/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

What the publisher says

From the Cwa repository's README, as published. We do not edit it. Read it on GitHub

cwa-mcp-server

<!-- mcp-name: io.github.gary2376/cwa-mcp-server -->

MCP server,包中央氣象署(CWA)開放資料 API,讓 agent 能查天氣預報、地震報告、天氣特報、颱風警報,並產生避難建議。

功能

  • Tool getweatherforecast(county) — 縣市未來 36 小時天氣預報
  • Tool getearthquakereport(limit) — 最近 N 筆顯著有感地震報告
  • Tool getweatherwarning(county) — 縣市目前生效中的天氣特報(豪雨、強風等)
  • Tool gettyphoonwarning(limit) — 最近 N 筆颱風警報
  • Resource cwa://counties — 合法縣市名稱清單
  • Prompt evacuation_advisory(county) — 根據即時天氣/特報/地震/颱風資料生成避難建議的提示模板

申請 API Key

  1. 到 氣象資料開放平台 註冊會員(email + 密碼即可,免審核)
  2. 登入後點「API 授權碼」→「取得授權碼」,立即產生 key

安裝(一般使用者)

已發布到 PyPI,不需要 clone 這個 repo。在 Claude Desktop / Claude Code 的 MCP 設定裡指定 uvx 執行即可,會自動抓套件:

{
  "mcpServers": {
    "cwa-weather": {
      "command": "uvx",
      "args": ["cwa-mcp-server"],
      "env": { "CWA_API_KEY": "你申請到的授權碼" }
    }
  }
}

或用 Claude Code CLI:

claude mcp add cwa-weather -e CWA_API_KEY=你申請到的授權碼 -- uvx cwa-mcp-server

開發(改這個 repo 原始碼)

git clone https://github.com/gary2376/cwa-mcp-server
cd cwa-mcp-server
uv sync
cp .env.example .env   # 填入 CWA_API_KEY

uv run python tests/test_client.py   # 最小自我檢查(不打真網路)
uv run mcp dev src/cwa_mcp/server.py # 本地用 inspector 手動測試 tools

狀態

四個 tool(天氣預報、地震報告、天氣特報、颱風警報)都已用真實 key 打過線上 API 驗證,也已接上 Claude Code 實測對話流程,能正確判斷風險等級並給出具體建議。已發布到 PyPI 與 MCP Server Registry。

已知修過的坑:v0.1.0 最初上傳的 wheel 因為 uvbuild 預設用 project.name 猜模組名(cwamcpserver),跟實際原始碼目錄 src/cwamcp/ 對不上,打包出一個空殼套件,uvx cwa-mcp-server 會直接 ModuleNotFoundError。已在 pyproject.toml 加 [tool.uv.build-backend] module-name = "cwa_mcp" 修正,重新 build 驗證過 wheel 內容正確。

License

MIT

Nothing above is checked by us. What we check is on the safety report.

Install directly

claude mcp add cwa-mcp-server -- uvx cwa-mcp-server
Add to Cursor

Cwa: common questions

Is Cwa MCP server safe?
Mostly: it is graded B (78/100). Read the Cwa safety report
How do I install Cwa?
It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
Does Cwa need an API key?
Yes. The registry entry asks for CWA_API_KEY.
Is Cwa maintained?
The last commit was 32 days ago (2026-08-22). The latest release is v0.1.1.
What can I use instead of Cwa?
Servers from other publishers that do the same job: Jma MCP server, Weather & Geo Intel MCP server and Weather MCP server. Compare all Cwa alternatives.

Alternatives to Cwa

Same job from other publishers: the closest match first, then the best rated.

All Cwa alternatives →
  • Jma
    JMA (Japan Meteorological Agency) MCP — keyless weather forecasts, warnings,
    B
  • Weather & Geo Intel MCP
    US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
    A
  • Weather
    Unified weather server: NWS forecasts and alerts, USGS earthquakes, and FEMA disasters.
    A
  • Weather Data MCP Server
    17 weather tools, no API keys: forecasts, alerts, air quality, marine, radar, lightning, wildfires
    A
  • Noaa Spaceweather
    NOAA SWPC space weather: storm scales, Kp index, aurora forecasts, solar wind, activity, alerts.
    A

More from gary2376