MCP Weather Server

MCP Weather Server

By michael7736 GitHub

this is a Mcp server for us weather, I create it for test purposes

weather mcp-server
Overview

what is MCP Weather Server?

MCP Weather Server is an MCP (Model Context Protocol) server that provides real-time weather information for the USA using the National Weather Service API. It is designed for testing purposes and allows MCP-compatible AI assistants to access weather data.

how to use MCP Weather Server?

To use the MCP Weather Server, install the package via PyPI and configure it with your MCP-compatible AI assistant like Claude. You can then ask questions about the weather.

key features of MCP Weather Server?

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

use cases of MCP Weather Server?

  1. Providing real-time weather updates to users through AI assistants.
  2. Integrating weather data into applications for enhanced user experience.
  3. Testing and developing weather-related features in AI systems.

FAQ from MCP Weather Server?

  • Can I use MCP Weather Server with any AI assistant?

Yes! It is compatible with any MCP-compatible AI assistant like Claude.

  • Is there a cost to use the MCP Weather Server?

No, it is free to use.

  • How do I install the MCP Weather Server?

You can install it using pip: pip install mcp-weather.

Content

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.

No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details