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
संबंधित सर्वर
MCP.science
A collection of open-source MCP servers designed for scientific research applications.
Immanuel MCP Server
An MCP server for astrological chart calculations using the immanuel-python library.
SignalK MCP Server
Provides AI agents with read-only access to SignalK marine data systems, enabling queries of vessel navigation data, AIS targets, and system alarms.
guessmarket-mcp
Trade on prediction markets from Claude Code. Browse markets, check odds, build and execute trades on-chain.
Overseerr
Interact with the Overseerr API to manage movie and TV show requests.
Vintage Chocolate Recipes (1914)
146 historic chocolate recipes from 1914. Search cakes, candies, and beverages from Maria Parloa's classic cookbook.
CTFd MCP Server
Connect to CTFd instance, download tasks and submit flags
MCP 3D Printer Server
Connects to 3D printer management systems like OctoPrint, Klipper, and Bambu Labs for model manipulation and printing workflows.
Transkribus MCP Server
MCP server for the Transkribus REST API — manage collections, documents, HTR/OCR recognition, models, and more. 290 tools across 22 resource domains.
SafeDep
Real-time malicious package protection for AI coding agents