weather

scottlaw1/weather

3.1

If you are the rightful owner of weather and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A simple MCP weather server designed for use with Claude for Desktop and other clients, providing weather alerts and forecasts for U.S. locations.

Simple MCP Weather Server

A simple MCP weather server for use in Claude for Desktop and other clients.

Description

I followed the instructions here and made sure they worked with Claude for Desktop. The only changes were to rename weather.py to us-weather.py (to indicate that get_alerts and get_forecast only work for locations within the U.S.)

Getting Started

Following the instructions at the Model Context Protocol site is the best approach.

Dependencies

If for some reason you're just trying to run this without visiting the Model Context Protocol site, you'll need:

  • Python 3.10 or higher already installed
  • Python MCP SDK 1.2.0 or higher

Installing

Again, the Model Context Protocol site is the best source of information. But if you're not going there:

  • Install Claude for Desktop
  • Install uv
  • Install the Python MCP SDK via uv

Executing program

us-python.py contains all the necessary code for the MCP server, copied and pasted per the instructions.

To start the server run

uv run us-weather.py

from whatever folder you git cloned this repo into.

Help

Seriously, the instructions are the best source for troubleshooting guidance.

Authors

Contributors names and contact info

Scott Lawrence

Version History

  • 0.1
    • Initial Release

Acknowledgments

Build an MCP server (Python version).