us-weather-mcp-server

by yukinissie

188 downloads Not rated yet
GitHub

About

I created an MCP server based on the tutorial with Kotlin.

Explore

- MCP-compatible server written in Kotlin.
- Provides weather information for requested cities.
- Runs via Claude Desktop's MCP infrastructure.
- Uses a single JAR file for easy deployment.
- Requires Java 21.0.2 or higher.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name us-weather-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

If you are using the Claude Desktop app with MacOS or Linux, you can find the configuration file at:

~/Library/Application\ Support/Claude/claude_desktop_config.json

You can use the following configuration to run the MCP server for claude_desktop_config.json. (Required Java 21.0.2 or
higher)

{
  "mcpServers": {
    "weather": {
      "command": "/path/to/java/21.0.2/bin/java",
      "args": [
        "-jar",
        "/path/to/us-weather-mcp-1.0-SNAPSHOT-all.jar"
      ]
    }
  }
}

And then, you can run the MCP server at the Claude Desktop app.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "us-weather-mcp-server": {
            "weather": {
                "command": "/path/to/java/21.0.2/bin/java",
                "args": [
                    "-jar",
                    "/path/to/us-weather-mcp-1.0-SNAPSHOT-all.jar"
                ]
            }
        }
    }
}

McpServers

{
    "weather": {
        "command": "/path/to/java/21.0.2/bin/java",
        "args": [
            "-jar",
            "/path/to/us-weather-mcp-1.0-SNAPSHOT-all.jar"
        ]
    }
}

I created an MCP server based on the tutorial with Kotlin.

https://modelcontextprotocol.io/quickstart/server

Usage

1. Download the JAR file

Download the JAR file from release page.

2. Edit claude_desktop_config.json

If you are using the Claude Desktop app with MacOS or Linux, you can find the configuration file at:

~/Library/Application\ Support/Claude/claude_desktop_config.json

You can use the following configuration to run the MCP server for claude_desktop_config.json. (Required Java 21.0.2 or
higher)

{
  "mcpServers": {
    "weather": {
      "command": "/path/to/java/21.0.2/bin/java",
      "args": [
        "-jar",
        "/path/to/us-weather-mcp-1.0-SNAPSHOT-all.jar"
      ]
    }
  }
}

And then, you can run the MCP server at the Claude Desktop app.

3. Ask the weather

You can ask the weather in the following format:

How's the weather in New York?
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.