Weather Server

•

Provides real-time weather information and summaries through a mock API, exposed as both REST endpoints and Model Context Protocol (MCP) tools.

This application functions as a simple weather information server, built using the robust Spring WebFlux framework for reactive programming and integrated with Spring AI for seamless MCP tool exposure. It offers a mock weather data service, providing details like temperature, condition, humidity, and wind speed. Developers can access this data via standard REST API endpoints or leverage two pre-defined MCP tools, `get_weather` and `get_weather_summary`, which are automatically registered through Spring AI's tool annotations, making it ideal for integration with AI models or other MCP-compatible systems.

주요 기능

01Standard REST API endpoints for direct weather queries
02Built with Spring WebFlux for reactive, non-blocking operations
03Seamless MCP integration using Spring AI's WebFlux starter
040 GitHub stars
05Spring AI MCP Tools for `get_weather` and `get_weather_summary`
06Mock Weather Service providing detailed weather data

사용 사례

01Integrating weather data into AI models and intelligent agents via MCP
02Providing a backend weather service for web or mobile applications
03Demonstrating Spring AI's MCP server capabilities with tool annotations