Taiwan CWA Weather MCP Server - Access Taiwan weather data through Model Context Protocol
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tw_cwa_weather_mcp-1.0.0.tar.gz.
File metadata
- Download URL: tw_cwa_weather_mcp-1.0.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b877a27ca9469909e88ada2d7a05837916736f71a5f43effd0b7733222789d63
|
|
| MD5 |
f41beddb5783dc567fbe07e28b3f950a
|
|
| BLAKE2b-256 |
47a3df8f67add4bdedf367fbc084179b9b441e9045231539a510bab9a9d74e85
|
File details
Details for the file tw_cwa_weather_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tw_cwa_weather_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a57c8c0dbb363540f0956c154c0b42fc40a201af7c935bb886ca3ebdab675f0
|
|
| MD5 |
f6cded5ec9de402269a55780c7c00ccc
|
|
| BLAKE2b-256 |
b3de30b98030d1fc758ab8183921258a8a49195ca119c56deea30b2d2c90893f
|