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).

评论

其他 分类下的更多 MCP 服务器