Simple Weather MCP Server example from Quickstart

by hideya

14 stars
381 downloads
Not rated
GitHub Website

About

A Node.js server implementing the Model Context Protocol (MCP) for accessing weather information in the United States. It is the example server from the official MCP Quickstart guide and is hosted as an npm package for convenient use with npx.

Details

Author
hideya
GitHub stars
14
Downloads
381
Categories
Media

- get-alerts: retrieve weather alerts for a US state using a two-letter state code.
- get-forecast: retrieve weather forecast for a US location using latitude and longitude coordinates.
- Runs via npx with no manual installation required.
- Based on the official Model Context Protocol (MCP).
- Serves as a learning example from the MCP Quickstart guide.

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 Simple Weather MCP Server example from Quickstart
    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

Add the server to your Claude Desktop configuration (claude_desktop_config.json) using npx -y @h1deya/mcp-server-weather as the command. Once configured, you can ask Claude for weather alerts or forecasts using natural language queries.

get-alerts

Get weather alerts for a US state

get-forecast

Get weather forecast for a location in the US

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "simple weather mcp server example from quickstart": {
            "weather": {
                "command": "npx",
                "args": [
                    "-y",
                    "@h1deya/mcp-server-weather"
                ]
            }
        }
    }
}

McpServers

{
    "weather": {
        "command": "npx",
        "args": [
            "-y",
            "@h1deya/mcp-server-weather"
        ]
    }
}

Simple Weather MCP Server example from Quickstart License: MIT npm version

Node.js server implementing
Model Context Protocol (MCP)
for accessing weather information in the US.

This is an example explained in MCP Quickstart.

It has been hosted as an npm package
for convenient use with npx.

Usage with Claude Desktop

Merge the following JSON fragment into your claude_desktop_config.json.
Please refer to the "Testing your server with Claude for Desktop" section of
MCP Quickstart for details.

```

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.