quickstart-resources/weather-server-go
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dependabot[bot] 28567a09e8
Bump the go_modules group across 2 directories with 1 update
Bumps the go_modules group with 1 update in the /mcp-client-go directory: [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk).
Bumps the go_modules group with 1 update in the /weather-server-go directory: [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk).


Updates `github.com/modelcontextprotocol/go-sdk` from 1.3.1 to 1.4.1
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/go-sdk/compare/v1.3.1...v1.4.1)

Updates `github.com/modelcontextprotocol/go-sdk` from 1.3.1 to 1.4.1
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases)
- [Commits](https://github.com/modelcontextprotocol/go-sdk/compare/v1.3.1...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/modelcontextprotocol/go-sdk
  dependency-version: 1.4.1
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/modelcontextprotocol/go-sdk
  dependency-version: 1.4.1
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 12:45:41 +00:00
..
go.mod Bump the go_modules group across 2 directories with 1 update 2026-03-19 12:45:41 +00:00
go.sum Bump the go_modules group across 2 directories with 1 update 2026-03-19 12:45:41 +00:00
main.go Use http.DefaultClient for NWS API requests 2026-01-29 01:50:04 +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)