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.
主な機能
- Standard REST API endpoints for direct weather queries
- Built with Spring WebFlux for reactive, non-blocking operations
- Seamless MCP integration using Spring AI's WebFlux starter
- 0 GitHub stars
- Spring AI MCP Tools for `get_weather` and `get_weather_summary`
- Mock Weather Service providing detailed weather data
ユースケース
- Integrating weather data into AI models and intelligent agents via MCP
- Providing a backend weather service for web or mobile applications
- Demonstrating Spring AI's MCP server capabilities with tool annotations