MCP Weather Server

by adarshem

165 downloads
Not rated
GitHub

About

Provides weather-related tools using the US National Weather Service API.

Details

Author
adarshem
Downloads
165
Categories
Other, Media

- Built with Node.js
- Provides get-alerts tool for US state alerts
- Provides get-forecast tool by lat/lon
- Uses US National Weather Service API

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 MCP Weather 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

Install the server via Smithery with npx @smithery/cli install @adarshem/mcp-server-learn --client claude, or manually clone the repository, run pnpm install and pnpm build. Configure it in your MCP client (e.g., VSCode) by adding the server entry to settings.json with the command node and the absolute path to build/index.js.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "mcp weather server": {
            "mcp-server-learn-adarshem": {
                "command": "npx",
                "args": [
                    "-y",
                    "@smithery/cli",
                    "install",
                    "@adarshem/mcp-server-learn",
                    "--client",
                    "claude"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-server-learn-adarshem": {
        "command": "npx",
        "args": [
            "-y",
            "@smithery/cli",
            "install",
            "@adarshem/mcp-server-learn",
            "--client",
            "claude"
        ]
    }
}

This project is a demo implementation of a Model Context Protocol (MCP) server that provides weather-related tools. The server exposes two tools:
- get-alerts: Fetches active weather alerts for a given US state.
- get-forecast: Provides a weather forecast for a specific location based on latitude and longitude.

- Built using Node.js.
- Implements MCP tools for weather data retrieval.
- Uses the US National Weather Service API for accurate and up-to-date weather information.

- Node.js installed on your system.
- Familiarity with MCP concepts and tools.

To install mcp-server-learn for Claude Desktop automatically viaSmithery:

npx -y @smithery/cli install @adarshem/mcp-server-learn --client claude
git clone <repository-url> cd weather

Install dependencies usingpnpm(as configured in the project):

Update yoursettings.jsonfile of VSCode to add this MCP server

{ "mcpServers": { "weather": { "command": "node", "args": [ "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/index.js" ] } } }

- MCP Quickstart Guide
-
US National Weather Service API

Get water temperature and swimming conditions for the Aare river in Switzerland.

Global pollen forecasts for any city or coordinate, with per-species values for multiple plants and a multiple day outlook.

Provides advanced Formula 1 data analysis, including real-time telemetry, tire performance, weather prediction, and race strategy simulation.

Provides weather data using the Open-Meteo API.

Real-time surf, trails, volcano, ocean safety, weather, and restaurants for all Hawaiian islands — built for AI agents.

Free, keyless MCP server for open data of 84 German cities: weather and DWD warnings, air quality, transit, traffic, water levels, energy/SMARD. 38 tools, Apache-2.0.

Access meteorological data for Portugal from the IPMA public API using natural language.

Provides live images, time-lapse videos, and current weather updates for Jade Dragon Snow Mountain.

Provides accurate Islamic prayer times for locations throughout Malaysia using the waktusolat.app API.

A collection of MCP servers for Cursor IDE, including demo and weather services.

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.