MCP.so
ログイン

MCP Weather Server - Java implementation

@chrischiedo

MCP Weather Server - Java implementation について

A simple weather MCP server implementation in Java

基本情報

カテゴリ

メディアとデザイン

ランタイム

java

トランスポート

stdio

公開者

chrischiedo

設定

標準の設定はありません

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

リポジトリ

ツール

ツールは検出されませんでした

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

概要

What is MCP Weather Server - Java implementation?

A simple Model Context Protocol (MCP) server, implemented in Java with Spring Boot, that provides current weather information for any location. It is designed for AI assistants (like Claude) and other MCP clients that need weather data via a standardized interface.

How to use MCP Weather Server - Java implementation?

Clone the repository, then build the server with ./mvnw clean install -DskipTests. Run the jar with java -jar target/weather-mcp-server-0.0.1-SNAPSHOT.jar. For integration with Claude Desktop, add the server configuration to the claude_desktop_config.json file, specifying the java command and path to the jar.

Key features of MCP Weather Server - Java implementation

  • Get current weather for any location using wttr.in
  • Compatible with Claude Desktop and other MCP clients
  • Uses the free wttr.in weather API (no API key required)
  • Built with Java 17, Spring Boot, and Spring AI MCP starter

Use cases of MCP Weather Server - Java implementation

  • Ask an AI assistant like Claude for current weather in a specific city
  • Integrate real-time weather data into agent workflows or applications
  • Query weather conditions (e.g., temperature, rain) without leaving the chat interface

FAQ from MCP Weather Server - Java implementation

What is MCP?

MCP (Model Context Protocol) is a standardized way for AI applications and agents to connect with data sources and tools, allowing AI models like Claude to interact with local systems, services, and custom tools.

What are the system requirements?

Java 17 or later, Maven 3.6 or later, and Spring Boot 3.3.x or later. For AI assistant integration, Claude Desktop is used as an MCP client.

How do I build and run the server?

First clone the repository, then run ./mvnw clean install -DskipTests to build the jar. Execute it using java -jar target/weather-mcp-server-0.0.1-SNAPSHOT.jar. The server uses STDIO transport and is typically started automatically by the client.

How do I integrate with Claude Desktop?

Add the server configuration to your Claude Desktop config file (e.g., ~/Library/Application Support/Claude/claude_desktop_config.json on MacOS) with the java command and path to the jar as shown in the README.

Does the server require an API key or registration?

No. It uses the free wttr.in weather API, which does not require an API key.

コメント

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