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
相關伺服器
Payman API
Integrates with Payman AI's payment APIs to manage payees, payments, and balances using natural language.
PUBLICMCP
Open standard for public-facing business identity MCP servers. pip install publicmcp to deploy in minutes. Federated router discovers and proxies calls to registered businesses.
Curve MCP Server
Pool data, swap rates, and liquidity info on Curve Finance.
Fonparam MCP
FonParam API üzerinden fonların güncel verilerini, performans istatistiklerini ve karşılaştırmalarını alabilirsiniz.
SommelierX
Remote MCP server for sommelier-grade wine pairing. 7 tools powered by a proprietary Wine DNA algorithm. API key or x402 pay-per-call.
jpi-guard
MCP server for Japanese prompt injection detection — detects homoglyphs, zero-width chars, and indirect injection attacks in real-time.
SNOTEL MCP Server
Provides access to USDA SNOTEL weather and snow data.
ShapeBridge
MCP Agent to understand 3D models
MCP Wallet Service
An MCP server that provides wallet balance checking capabilities.
Synthetix MCP Server
Synthetic asset data, staking info, and debt pool metrics on Synthetix.