Skip to main content

Taiwan CWA Weather MCP Server

Access Taiwan Central Weather Administration (CWA) weather data and forecasts through the Model Context Protocol.

Features

  • Get weather forecasts for all Taiwan counties and cities
  • List available locations
  • Support for location aliases
  • Real-time data from Taiwan CWA OpenData API

Tools

get_weather

Get weather forecast data for a specific Taiwan location.

Parameters:

  • given_location (string): The county or city name (supports both Chinese and aliases)

Returns: Weather forecast data including temperature, rainfall probability, weather conditions, and comfort level.

list_available_locations

List all available Taiwan counties/cities and their aliases.

Returns: Complete list of supported locations and their alternative names.

Installation

pip install tw-cwa-weather-mcp

Configuration

You need a Taiwan CWA API key to use this server. Create a file named GOV_api_key.txt in the server directory with your API key.

Get your API key from: https://opendata.cwa.gov.tw/

Usage

Add to your MCP client configuration:

{
  "mcpServers": {
    "taiwan-weather": {
      "command": "python",
      "args": ["-m", "tw_cwa_weather_mcp"]
    }
  }
}

Development

This server uses FastMCP to provide Taiwan weather data through the Model Context Protocol.

License

MIT License

Author

nigue3025

Metadata

Release files for tw-cwa-weather-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tw-cwa-weather-mcp 1.0.0
File Size Uploaded
tw_cwa_weather_mcp-1.0.0.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tw-cwa-weather-mcp 1.0.0
File Interpreter ABI Platform
tw_cwa_weather_mcp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / tw_cwa_weather_mcp-1.0.0.tar.gz

Download URL tw_cwa_weather_mcp-1.0.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b877a27ca9469909e88ada2d7a05837916736f71a5f43effd0b7733222789d63
BLAKE2b-256 checksum
How to use checksums
47a3df8f67add4bdedf367fbc084179b9b441e9045231539a510bab9a9d74e85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / tw_cwa_weather_mcp-1.0.0-py3-none-any.whl

Download URL tw_cwa_weather_mcp-1.0.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a57c8c0dbb363540f0956c154c0b42fc40a201af7c935bb886ca3ebdab675f0
BLAKE2b-256 checksum
How to use checksums
b3de30b98030d1fc758ab8183921258a8a49195ca119c56deea30b2d2c90893f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page