MCP.so
Sign In

Weather Server (MCP)

@Kavinduprabasara

Basic information

Category

Media & Design

Transports

stdio

Author

Kavinduprabasara

About Weather Server

No overview available yet

Weather Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-server-one": {
      "command": "uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "server.py"
      ]
    }
  }
}

Weather Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Weather Server (MCP)?

Weather Server (MCP) is a minimal async Python server that provides weather alerts and forecasts for US locations using the National Weather Service (NWS) API, built with FastMCP.

How to use Weather Server (MCP)?

Clone the repository, install dependencies with pip install -e ., then run either uv run --with mcp[cli] mcp run server.py or python server.py. It exposes two tools: get_alerts(state) for active alerts by state code, and get_forecast(latitude, longitude) for the local forecast.

Key features of Weather Server (MCP)

  • Get weather alerts for any US state by two-letter code.
  • Get weather forecasts for any latitude/longitude in the US.
  • Simple, async, and easy to extend.

Use cases of Weather Server (MCP)

  • Monitor active weather alerts for a specific US state.
  • Retrieve a point forecast for a given coordinate.
  • Integrate NWS data into MCP‑compatible clients or workflows.

Frequently asked questions

1

What does Weather Server (MCP) do?

It provides two functions: one to return active weather alerts for a US state (e.g., `CA`, `NY`) and another to return the forecast for given latitude/longitude coordinates.

2

What are the runtime requirements?

Python 3.13+, along with the `httpx`, `mcp`, and FastMCP packages. `uv` is optional but recommended for running the server.

3

Where does the data come from?

All weather data is sourced from the National Weather Service (NWS) API. The server only works for US locations.

4

How do I run the server?

Use either `uv run --with mcp[cli] mcp run server.py` (with `uv` installed) or directly with `python server.py`.

5

What tools does the server expose?

Two tools: `get_alerts(state)` for active weather alerts and `get_forecast(latitude, longitude)` for the weather forecast.

Comments

More Media & Design MCP servers