Weather MCP Server
@devlibx
About Weather MCP Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"experiment-java-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Weather MCP Server?
Weather MCP Server is a Spring Boot application that exposes mock weather data through the Model Context Protocol (MCP). It provides a getWeather tool that AI assistants can call to retrieve current weather information for any location, using realistic simulated parameters.
How to use Weather MCP Server?
Clone the repository, build with mvn clean install, and run with mvn spring-boot:run. The server listens on port 8080 by default. To integrate with AI assistants in IDEs like Cursor or Cline, configure the SSE endpoint http://localhost:8089/sse in the MCP settings (ensure the port matches your application.properties). Use the MCP Inspector (npx @modelcontextprotocol/inspector) to test the getWeather tool.
Key features of Weather MCP Server
- Retrieves current weather for any specified location
- Generates realistic mock weather data (temperature, condition, humidity, wind speed)
- MCP integration for AI assistant compatibility
- Easy setup with Spring Boot and Maven
Use cases of Weather MCP Server
- AI assistants answering weather queries during conversations
- Testing MCP server integration in IDEs and development tools
- Demonstrating Spring AI’s MCP server capabilities with a simple tool
FAQ from Weather MCP Server
What does this server do?
It provides a mock weather service that AI assistants can call through MCP to get weather data for a given location.
How do I integrate it with an AI assistant in my IDE?
In your IDE’s MCP settings, add a new server with the SSE endpoint http://localhost:8089/sse (or the port configured in application.properties), then restart the assistant.
Can I use this server with real weather data?
No – the server uses mock data only, with realistic but simulated weather parameters. It is designed for demonstration and testing.
What are the runtime requirements?
Java 17 or higher, Maven 3.6+, and Spring Boot 3.2.0. Node.js and npm are needed only for the optional MCP Inspector.
How can I test the server without an AI assistant?
Run the MCP Inspector (npx @modelcontextprotocol/inspector), connect to the SSE endpoint (default http://localhost:8080/mcp/sse), and test the getWeather tool with a location parameter.
Frequently asked questions
What does this server do?
It provides a mock weather service that AI assistants can call through MCP to get weather data for a given location.
How do I integrate it with an AI assistant in my IDE?
In your IDE’s MCP settings, add a new server with the SSE endpoint `http://localhost:8089/sse` (or the port configured in `application.properties`), then restart the assistant.
Can I use this server with real weather data?
No – the server uses mock data only, with realistic but simulated weather parameters. It is designed for demonstration and testing.
What are the runtime requirements?
Java 17 or higher, Maven 3.6+, and Spring Boot 3.2.0. Node.js and npm are needed only for the optional MCP Inspector.
How can I test the server without an AI assistant?
Run the MCP Inspector (`npx @modelcontextprotocol/inspector`), connect to the SSE endpoint (default `http://localhost:8080/mcp/sse`), and test the `getWeather` tool with a location parameter.
Basic information
More Media & Design MCP servers
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.

Notch
NotchCreate finished video ads from chat. Give Notch a brief or product URL — it loads your brand context, writes the script, and produces the finished ad: avatar, scenes, voiceover, captions. Built for performance marketers,
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube

Spotify MCP
varunnealMCP to connect your LLM with Spotify.

Uwear.ai
Uwear.aiRun complete AI fashion photoshoots from ChatGPT, Claude, or Codex. Turn flat-lay, packshot, and mannequin product images into catalog-ready on-model photos and video with saved art direction, automatic QA, and catalog-s
Comments