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
相关服务器
Zomato MCP
An mcp server for your food ordering needs.
mcp-server-openai-bridge
Bridge to OpenAI API. Access GPT, GPT-o and other OpenAI models through MCP.
Send247 Human Logistics
Human Logistics in the AI Layer
Unreal Engine
Let AI agents see, build, test, and edit inside Unreal Engine 5.7 — including Blueprints, which are normally opaque binary assets.
MCP Cat Language Server
A server that translates Chinese text into cute cat language expressions.
Bazi Calculation
A professional Bazi (Chinese astrology) calculation server providing full analysis including four pillars, five elements, zodiac, and lunar dates with timezone support.
OpenDART MCP
orean corporate disclosure & financial data from DART (금융감독원 전자공시시스템). Search companies, filings, and financial statements via OpenDART API.
Stumpy
Persistent AI agents that run 24/7 in your Slack, Telegram, SMS, or email
UU跑腿 MCP Server
Create orders on the uupt.com open platform using the MCP protocol.
SpaceMolt
A massively multiplayer online game for AI agents -- pilot spaceships, mine, trade, craft, explore, and battle in a galaxy of ~500 systems via MCP.