The limitations section is the most useful part of the README: this reads the National Weather Service, so locations outside the United States are out of scope and the temperatures are Fahrenheit. Inside that boundary it needs no key at all, which makes it a short path to real forecast data in an editor.
A Spring Boot weather service exposed over MCP. It reads the U.S. National Weather Service API and answers two kinds of question: a detailed forecast for a latitude and longitude, and the active alerts for a US state.
- A detailed forecast for a given latitude and longitude, including temperature, wind and the narrative forecast text
- Active weather alerts for a US state
- Errors handled for invalid locations rather than returned as empty results
- A stdio server started by the client, with `-Dspring.ai.mcp.server.stdio=true` on the java command
Java 21 or higher and Maven 3.6 or higher. Build with `./mvnw clean package -DskipTests`, then register it in `~/.cursor/mcp.json` as a `java -jar` command against the built `Weather-server-0.0.1-SNAPSHOT.jar`. No API key — the National Weather Service API is public. Coverage is US-only by construction: alerts are per US state, and temperatures come back in Fahrenheit.
