mcpField
M
MCP Weather Server

MCP Weather Server

Local
github.com/michael7736Media & Design0Updated 84w ago

About MCP Weather Server

MCP Weather Server provides US weather alerts and forecasts from the National Weather Service API. It is intended for Claude and other MCP-compatible assistants that need current weather information.

Key features

  1. 01Current alerts by US state
  2. 02Forecasts by latitude and longitude

Use cases

  1. 01Check active alerts for a US state
  2. 02Request a location forecast using coordinates

MCP support

Exposes US weather alerts and forecasts as tools for MCP-compatible clients, using the National Weather Service API.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP Weather Server

An MCP (Model Context Protocol) server providing USA weather information using the National Weather Service API. This server allows Claude and other MCP-compatible AI assistants to access real-time weather data.

Features

  • Weather Alerts: Get current weather alerts for any US state
  • Weather Forecasts: Get detailed weather forecasts for any location in the US using latitude and longitude

Installation

For Users

To use this MCP server with Claude or other MCP-compatible AI assistants:

# Install from PyPI
pip install mcp-weather

# Or install with uv
uv pip install mcp-weather
For Developers

To set up the development environment:

# Clone the repository
git clone https://github.com/michael7736/mcp-weather.git
cd mcp-weather

# Create a virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
pip install -e ".[dev]"

Configuration

Cline (VS Code Extension)

Add the following to your Cline MCP settings file (cline_mcp_settings.json):

{
  "mcpServers": {
    "weather": {
      "command": "mcp-weather",
      "disabled": false,
      "autoApprove": []
    }
  }
}
Claude Desktop App

Add the following to your Claude Desktop config file (claude_desktop_config.json):

{
  "mcpServers": {
    "weather": {
      "command": "mcp-weather",
      "disabled": false,
      "autoApprove": []
    }
  }
}

Usage

Once configured, you can ask Claude or other MCP-compatible AI assistants questions about the weather:

  • "What are the current weather alerts in CA?"
  • "What's the weather forecast for San Francisco?" (The assistant will use coordinates for San Francisco)

Publishing

To publish this package to PyPI:

  1. Make sure you have the latest build tools:

    pip install --upgrade build twine
    
  2. Build the package:

    python -m build
    
  3. Upload to PyPI:

    python -m twine upload dist/*
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.