MCP MCP Server

MCP server for CWA (中央氣象署) open data API — 36 tools across 7 weather data categories

Local serverstdio

What is the MCP MCP server?

MCP server for CWA (中央氣象署) open data API — 36 tools across 7 weather data categories. The mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

MCP server for CWA (中央氣象署, Central Weather Administration) Open Data API. Provides 36 read-only tools across 7 weather data categories for AI agents such as Claude.

  • 36 tools — covering all major CWA Open Data categories
  • 80 API endpoints — accessible via intelligent tool grouping (e.g. 44 township forecasts → 2 tools with county parameter)
  • 22 county mapping — for township-level weather forecasts
  • All tools are read-only with readOnlyHint=True annotations

Adding it to your client

The server ships on PyPI as mcp-cwa, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration

You will need one environment variable: CWA_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp mcp server does with a few real requests.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes.

This entry was verified against MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the MCP MCP server

{
  "mcpServers": {
    "mcp-cwa": {
      "command": "python3",
      "args": ["mcp_server.py"],
      "cwd": "/path/to/mcp-cwa",
      "env": {
        "CWA_API_KEY": "CWA-your-authorization-code"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
CWA_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with MCP directly.