Weather MCP Server

by jameskanyiri

122 downloads Not rated yet
GitHub

About

# Weather MCP Server A simple MCP (Model Control Protocol) server that provides weather information using the National Weather Service API. This server exposes two tools: - `get_alerts`: Get weather alerts for a US state - `get_forecast`: Get weather forecast for a specific location ## Prerequisites - Python 3.10 or…

Explore

- Get weather alerts for any US state using two-letter codes
- Get weather forecasts for specific latitude/longitude coordinates
- Uses the free National Weather Service API
- Simple two-tool MCP server for quick integration
- Easy setup with either uv or pip package manager

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

- Python 3.10 or higher
- uv package manager (recommended) or pip

curl -LsSf https://astral.sh/uv/install.sh | sh

uv venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate

uv add "mcp[cli]" httpx


Or using pip:

bash
python -m venv .venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
pip install "mcp[cli]" httpx
```

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "weather mcp server": {
            "simple_weather_mcp_server": {
                "command": "uv",
                "args": [
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "simple_weather_mcp_server": {
        "command": "uv",
        "args": [
            "venv"
        ]
    }
}

A simple MCP (Model Control Protocol) server that provides weather information using the National Weather Service API. This server exposes two tools:

- get_alerts: Get weather alerts for a US state
- get_forecast: Get weather forecast for a specific location

Prerequisites

- Python 3.10 or higher
- uv package manager (recommended) or pip

Installation

1. Clone this repository:

git clone <your-repo-url>
cd simple_mcp_server

2. Set up your Python environment:

Using uv (recommended):

```bash

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.