MCP.so
登录

Cwa Mcp Server

@lincw

关于 Cwa Mcp Server

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

基本信息

分类

其他

许可证

MIT license

运行时

shell

传输方式

stdio

发布者

lincw

提交者

Lin Chung-wen

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 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

FAQ from Cwa Mcp Server

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.

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.

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.

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.

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 服务器