Weather MCP Server logo

Weather MCP Server

by sirrupesh

A Model Context Protocol (MCP) server that provides weather information and alerts using the National Weather Service (NWS) API. It offers easy access to weather data and alerts for various locations.

View on GitHub

Last updated: N/A

What is Weather MCP Server?

This is a Model Context Protocol (MCP) server designed to fetch and provide weather information and alerts. It leverages the National Weather Service (NWS) API to offer detailed weather forecasts and active weather alerts for specific locations and US states.

How to use Weather MCP Server?

You can use this server either through local development or Docker deployment. For local development, clone the repository, install dependencies using uv, and run the main script. For Docker deployment, use Docker Compose to build and run the server. The server endpoint is available at http://localhost:8001/sse.

Key features of Weather MCP Server

  • Get weather alerts for any US state

  • Get detailed weather forecasts for any location using latitude and longitude

  • Easy-to-use MCP interface

  • Docker support for easy deployment

Use cases of Weather MCP Server

  • Displaying weather alerts on a dashboard

  • Integrating weather forecasts into an application

  • Providing weather information to automated systems

  • Monitoring weather conditions for specific locations

FAQ from Weather MCP Server

What is the Model Context Protocol (MCP)?

MCP is a framework for building context-aware applications.

What API does this server use?

This server uses the National Weather Service (NWS) API.

What programming language is this server written in?

This server is written in Python.

How do I deploy this server?

You can deploy this server using Docker or through local development.

What port does the server run on?

The server runs on port 8000 inside the container and is mapped to port 8001 on the host machine.