Weather Service MCP Server

Weather Service MCP Server is an MCP server that provides weather forecasts and alerts by connecting to the U.S. National Weather Service API. Built with Spring Boot and Java, it enables AI assistants and developers using MCP-compatible environments like Cursor IDE to fetch real-time atmospheric data directly within their coding workspace. Users can query detailed weather reports for coordinates using latitude and longitude parameters, receiving temperature readings, wind conditions, and multi-period forecasts. The server also supports retrieving active weather alerts scoped to specific US states. Designed primarily for developers needing live weather context inside their editor, it standardizes access to government meteorological feeds using stdio-based Model Context Protocol communication. It handles invalid locations with built-in error handling while serving temperature data in Fahrenheit for supported United States geographic areas.

Category: Maps, Weather & Local Data

Tags: alerts, forecast, spring-boot, weather

Visit Weather Service MCP Server

How to install and configure Weather Service MCP Server

  1. Clone the repository and navigate into the project directory: bash git clone https://github.com/Ahmed-Naseer-01/MCP-Server.git cd Weather-server 2. Set your environment to Java 21: bash export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home 3. Build the JAR file using Maven: bash ./mvnw clean package -DskipTests 4. In Cursor IDE, open ~/.cursor/mcp.json and configure the server: json { "mcpServers": { "spring-ai-mcp-weather": { "command": "java", "args": [ "-Dspring.ai.mcp.server.stdio=true", "-jar", "/path/to/your/Weather-server/target/Weather-server-0.0.1-SNAPSHOT.jar" ] } } } Replace /path/to/your with your actual project location.

What you can do with Weather Service MCP Server

  • Querying localized weather forecasts directly in Cursor IDE using specific geographic latitude and longitude coordinates. * Checking active National Weather Service severe weather alerts and advisories across specific US states. * Inspecting current atmospheric conditions including local temperatures in Fahrenheit and wind measurements. * Validating location coordinates with automated error handling when querying meteorological data in development environments.

Key facts

  • https://github.com/Ahmed-Naseer-01/MCP-Server
  • Maps, Weather & Local Data
  • alerts, forecast, spring-boot, weather

Part of MCP Servers

Related MCP servers

  • MCP Weather Server — MCP Weather Server is an MCP server that connects AI assistants to the AccuWeather API to provide real-time meteorological observations…
  • MCP Weather Server Demo — MCP Weather Server Demo is an MCP server that provides meteorological data by connecting to the Open-Meteo API and public…
  • MCP Weather — MCP Weather is an MCP server that enables Model Context Protocol clients, such as Claude Desktop, to retrieve real-time weather…
  • Node.js OpenWeather MCP — mcp-nodejs is an MCP server that connects AI assistants to the OpenWeather API using a Node.js runtime. Built as a…
  • MCP-Weather — MCP-Weather is an MCP server that retrieves regional Japanese meteorological forecasts by connecting to a Japan Meteorological Agency compatible weather…
  • Michelin MCP — Michelin MCP is an MCP server that provides access to structured data from the Michelin Guide dataset for large language…

What is Weather Service MCP Server?

Weather Service MCP Server is a Spring Boot application that exposes US National Weather Service data over the Model Context Protocol. It allows connected AI clients to query real-time forecasts, wind conditions, and weather alerts.

What prerequisites are required to run this server?

The server requires Java 21 or higher and Maven 3.6 or higher to compile and run. You also need an MCP-compatible client such as Cursor IDE configured to launch Java processes via standard input and output.

Which regions are supported by Weather Service MCP Server?

The server currently only supports United States locations and territories because it relies on the US National Weather Service API. Weather alerts are limited to US states, and all temperature outputs are reported in Fahrenheit.

Which MCP clients work with Weather Service MCP Server?

Weather Service MCP Server is documented for use with Cursor IDE via its mcp.json configuration file, but it can connect to any Model Context Protocol client that supports running Java applications over stdio.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories