Add weather-server-go

This commit is contained in:
amikai 2025-10-26 00:18:05 +08:00
commit 80ba22e4ea
No known key found for this signature in database
GPG key ID: 884FCD0E8CF183C7

View file

@ -0,0 +1,19 @@
# A Simple MCP Weather Server written in Go
See the [Quickstart](https://modelcontextprotocol.io/quickstart) tutorial for more information.
## Building
```bash
go build -o weather
```
## Running
```bash
./weather
```
The server will communicate via stdio and expose two MCP tools:
- `get_forecast` - Get weather forecast for a location (requires latitude and longitude)
- `get_alerts` - Get weather alerts for a US state (requires two-letter state code)