quickstart-resources/weather-server-go
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-10-26 00:36:16 +08:00
..
go.mod Add weather-server-go 2025-10-26 00:36:16 +08:00
go.sum Add weather-server-go 2025-10-26 00:36:16 +08:00
main.go Add weather-server-go 2025-10-26 00:36:16 +08:00
README.md Add weather-server-go 2025-10-26 00:36:16 +08:00

A Simple MCP Weather Server written in Go

See the Quickstart tutorial for more information.

Building

go build -o weather

Running

./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)