MCP.so
ログイン

Cwa MCP Server

@lincw

基本情報

カテゴリ

その他

ライセンス

MIT license

トランスポート

stdio

作者

lincw

投稿者

Lin Chung-wen

Cwa MCP Server について

利用台灣中央氣象局的 API 建立 MCP-server

#cwa-mcp-server#weather-api#nodejs

Cwa MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "cwa": {
      "command": "node",
      "args": [
        "/path/to/cwa-server.js"
      ],
      "env": {
        "CWA_API_KEY": ""
      }
    }
  }
}

Cwa MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Cwa Mcp Server?

A lightweight Node.js Model Context Protocol (MCP) server that connects Claude Desktop to the Taiwan Central Weather Administration (CWA) API, providing access to weather forecast data for all Taiwanese counties and cities.

How to use Cwa Mcp Server?

Obtain a CWA API key from the official website, run the install.sh script, then edit the Claude Desktop configuration file (~/.config/claude/claude_desktop_config.json) to add your API key and server path. Restart Claude Desktop to start querying weather data. Docker deployment is also supported via docker-compose.yml.

Key features of Cwa Mcp Server

  • Simple, lightweight Node.js implementation
  • Easy setup with Claude Desktop
  • Access weather forecasts for all Taiwanese counties and cities
  • Provides 36‑hour weather forecast data
  • Supports Docker deployment
  • Single tool: get_weather_forecast

Use cases of Cwa Mcp Server

  • Ask Claude “What is the weather in Taipei City right now?” and receive a 36‑hour forecast
  • Query weather forecasts for any supported county or city in Taiwan
  • Integrate real‑time CWA weather data into conversations via Claude Desktop
  • Automate weather checks for travel planning or daily updates

よくある質問

1

What are the runtime requirements?

Node.js 18 or higher is required. A valid CWA API key must be obtained from [https://opendata.cwa.gov.tw/user/authkey](https://opendata.cwa.gov.tw/user/authkey).

2

How do I configure Claude Desktop to use this server?

Edit `~/.config/claude/claude_desktop_config.json` and add the `cwa` MCP server entry with the `command`, `args` pointing to `cwa-server.js`, and the `CWA_API_KEY` environment variable.

3

Can I run the server with Docker?

Yes. A Docker Compose file is provided in the README. You set the `CWA_API_KEY` environment variable in `docker-compose.yml` and update the Claude Desktop configuration to use the `docker exec` command.

4

What data does the server provide?

It retrieves a 36‑hour weather forecast for any supported Taiwanese county or city. The tool is named `get_weather_forecast`.

5

Which locations are supported?

The server supports 22 locations: all special municipalities (Taipei, New Taipei, Taoyuan, Taichung, Tainan, Kaohsiung), counties (e.g., Yilan, Hualien, Taitung), and outlying islands (Penghu, Kinmen, Lienchiang).

コメント

「その他」の他のコンテンツ