Weather MCP Server

by jameskanyiri

122 downloads
Not rated
GitHub

Description

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

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…

Details

Author
jameskanyiri
Downloads
122
Categories
Media

- 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

Clone the repository and set up a Python environment (Python 3.10+). Install dependencies with uv add "mcp[cli]" httpx or pip install "mcp[cli]" httpx. Run the server using mcp dev main.py. Configure Claude for Desktop by adding a JSON entry to its config file with the absolute path to the project and the uv run main.py command. Restart Claude for Desktop, then ask questions like "What's the weather in NY?" to test.

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"
        ]
    }
}

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