MCP.so
ログイン

Weather Service Application MCP Server

@khalidmnor

基本情報

カテゴリ

メディアとデザイン

トランスポート

stdio

作者

khalidmnor

Weather Service Application MCP Server について

Simple implementation of MCP Server for WeatherAPI.com using SpringBoot

Weather Service Application MCP Server の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

Weather Service Application MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Weather Service Application?

Weather Service Application is a Spring Boot application that provides current weather details for a given city through a REST API. It is built with Java 21 and Kotlin, using reactive WebClient for API calls and returning JSON responses.

How to use Weather Service Application?

Install Java 21 and Maven 3.8+, then configure the API properties (base-url, endpoint, api-key) in application.yml. Start the application and invoke GET /weather?city={cityName} to retrieve weather data for the specified city.

Key features of Weather Service Application

  • Fetch current weather details by city name.
  • Built with Java 21 and Kotlin.
  • Uses Spring Boot 3.4.5 and reactive WebClient.
  • Configurable API properties via application.yml.
  • Logs weather information for debugging.
  • Returns JSON responses for easy integration.
  • Modular design with DTOs for clean data handling.

Use cases of Weather Service Application

  • Integrate live weather data into a mobile or web dashboard.
  • Power automated alerts or notifications based on weather conditions.
  • Serve as a backend endpoint for third-party weather applications.
  • Test and prototype weather API consumption in a Spring Boot project.

よくある質問

1

What are the runtime prerequisites?

Java 21 or higher and Maven 3.8 or higher are required.

2

How do I configure the API key?

Set the property `weather-api.api-key` in `application.yml` (or `application.properties`) with your actual API key, along with the base URL and endpoint.

3

How do I fetch weather for a city?

Send a GET request to `/weather?city={cityName}`. The response contains the current weather details in JSON format.

4

What technologies does the application use?

Java 21, Kotlin, Spring Boot 3.4.5, Maven, Lombok, and reactive WebClient.

5

Does the application return JSON?

Yes, all responses are in JSON format for easy integration with other systems.

コメント

「メディアとデザイン」の他のコンテンツ