taiwan-cwa-mcp-server
0
The Taiwan CWA MCP Server is a project that provides a streamlined interface to the Taiwan Central Weather Bureau's API, allowing users to access detailed weather forecasts and historical rainfall data for various regions in Taiwan. It includes features like automated data processing and error handling.
Taiwan CWA MCP Server
This project provides a Model Context Protocol (MCP) server that interfaces with the Taiwan Central Weather Bureau (CWA) API to easily access weather data for Taiwan.
Features
- Access 3-day weather forecasts for cities in Taiwan
- Access 1-week weather forecasts for cities in Taiwan
- Historical rainfall data for the past three days
- Automated data cleaning and conversion
- Error handling and retry logic
- Simplified API output with only necessary information
Installation
Claude Desktop Setup
- Install Claude Desktop link and ensure version updates
- Configure the MCP server with the CWA API key
Tools
get_3_days_weather
: Get a 3-day weather forecast.get_1_week_weather
: Get a 1-week weather forecast.get_historical_rainfall
: Get historical rainfall data for the past three days.
Development
- Environment variables configured via
.env
- Test using
fastmcp dev
andMCP Inspector
tools
Resources
- API key required from the Central Weather Bureau
Contribution
Contributions and feature requests are welcome! Visit the issues page.
License
Licensed under MIT License.