- ✓Actively maintained (<30d)
- ✓Documented (README)
- !No standard license detected
- !No description
claude mcp add cwa -- uvx cwa-mcp-server{
"mcpServers": {
"cwa": {
"command": "uvx",
"args": ["cwa-mcp-server"]
}
}
}MCP Servers overview
# cwa-mcp-server
<!-- mcp-name: io.github.gary2376/cwa-mcp-server -->
MCP server,包中央氣象署(CWA)開放資料 API,讓 agent 能查天氣預報、地震報告、天氣特報、颱風警報,並產生避難建議。
## 功能
- **Tool** `get_weather_forecast(county)` — 縣市未來 36 小時天氣預報
- **Tool** `get_earthquake_report(limit)` — 最近 N 筆顯著有感地震報告
- **Tool** `get_weather_warning(county)` — 縣市目前生效中的天氣特報(豪雨、強風等)
- **Tool** `get_typhoon_warning(limit)` — 最近 N 筆颱風警報
- **Resource** `cwa://counties` — 合法縣市名稱清單
- **Prompt** `evacuation_advisory(county)` — 根據即時天氣/特報/地震/颱風資料生成避難建議的提示模板
## 申請 API Key
1. 到 [氣象資料開放平台](https://opendata.cwa.gov.tw) 註冊會員(email + 密碼即可,免審核)
2. 登入後點「API 授權碼」→「取得授權碼」,立即產生 key
## 安裝(一般使用者)
已發布到 [PyPI](https://pypi.org/project/cwa-mcp-server/),不需要 clone 這個 repo。在 Claude Desktop / Claude Code 的 MCP 設定裡指定 `uvx` 執行即可,會自動抓套件:
```json
{
"mcpServers": {
"cwa-weather": {
"command": "uvx",
"args": ["cwa-mcp-server"],
"env": { "CWA_API_KEY": "你申請到的授權碼" }
}
}
}
```
或用 Claude Code CLI:
```bash
claude mcp add cwa-weather -e CWA_API_KEY=你申請到的授權碼 -- uvx cwa-mcp-server
```
## 開發(改這個 repo 原始碼)
```bash
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 因為 `uv_build` 預設用 `project.name` 猜模組名(`cwa_mcp_server`),跟實際原始碼目錄 `src/cwa_mcp/` 對不上,打包出一個空殼套件,`uvx cwa-mcp-server` 會直接 `ModuleNotFoundError`。已在 `pyproject.toml` 加 `[tool.uv.build-backend] module-name = "cwa_mcp"` 修正,重新 build 驗證過 wheel 內容正確。
## License
MIT
What people ask about cwa-mcp-server
What is gary2376/cwa-mcp-server?
+
gary2376/cwa-mcp-server is mcp servers for the Claude AI ecosystem with 0 GitHub stars.
How do I install cwa-mcp-server?
+
You can install cwa-mcp-server by cloning the repository (https://github.com/gary2376/cwa-mcp-server) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is gary2376/cwa-mcp-server safe to use?
+
Our security agent has analyzed gary2376/cwa-mcp-server and assigned a Trust Score of 52/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains gary2376/cwa-mcp-server?
+
gary2376/cwa-mcp-server is maintained by gary2376. The last recorded GitHub activity is dated 2026-08-22, with 0 open issues.
Are there alternatives to cwa-mcp-server?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy cwa-mcp-server to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/gary2376-cwa-mcp-server)<a href="https://claudewave.com/repo/gary2376-cwa-mcp-server"><img src="https://claudewave.com/api/badge/gary2376-cwa-mcp-server" alt="Featured on ClaudeWave: gary2376/cwa-mcp-server" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!