Weather Service MCP Server
A Spring Boot-based weather service providing weather forecasts and alerts via MCP integration.
MCP-Server
Weather Service MCP Server
A Spring Boot-based weather service that provides weather forecasts and alerts through Model Context Protocol (MCP) integration. This service currently uses the U.S. National Weather Service API to fetch weather data.
Features
- Get detailed weather forecasts by latitude/longitude
- Retrieve weather alerts for US states
- MCP server integration for Cursor IDE
- Temperature, wind, and detailed forecast information
- Error handling for invalid locations
Prerequisites
- Java 21 or higher
- Maven 3.6 or higher
- Cursor IDE (for MCP integration)
Setup Instructions
-
Clone the Repository
git clone https://github.com/Ahmed-Naseer-01/MCP-Server.git cd Weather-server -
Set Java 21
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home -
Build the Project
./mvnw clean package -DskipTests -
Configure MCP Server Go to Cursor setting->MCP Tools->mcp.json(create this file) Create or update
~/.cursor/mcp.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/yourwith your actual project path.
Limitations
- Currently only supports US locations through the National Weather Service API
- Alerts are only available for US states
- All temperatures are in Fahrenheit
Servidores relacionados
Robust Long‑Term Memory
A persistent, human‑like memory system for AI companions
Bazi
An MCP server for accessing Bazi (Chinese astrology) data, requiring an API key.
ChatSpatial
MCP server for spatial transcriptomics analysis with 60+ integrated methods
MCP Claude Spotify
An integration for Claude Desktop to interact with Spotify using the Model Context Protocol (MCP).
QuantToGo MCP
Macro-factor quantitative signal source — 8 live-tracked strategies (US + China), free 30-day trial, AI agent self-registration via MCP tools.
F1 MCP Server
Provides advanced Formula 1 data analysis, including real-time telemetry, tire performance, weather prediction, and race strategy simulation.
Movie Recommendation
Tracks movies you've watched and provides recommendations based on your preferences.
AHME MCP
Asynchronous Hierarchical Memory Engine
Berlin Transport
Access Berlin's public transport data via the VBB (Verkehrsverbund Berlin-Brandenburg) API.
Weather MCP Server
Provides real-time weather alerts and detailed forecasts for US locations using the National Weather Service API.