Feedback

Weather MCP Server — by bittush8789

@bittush8789 Claim

Basic information

Runtime
python
Category
License
Not specified
Transports
stdio
Author
bittush8789
Submitted by
Community
Quality
25

About Weather MCP Server

Creating MCP (Model Context Protocol) weather-related projects involves setting up an MCP server that can fetch and provide weather data.

Weather MCP Server is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by bittush8789. It exposes 2 tools, including get_alerts(state), get_forecast(latitude, longitude). Supported transport: stdio. Runtime: python. Source code is hosted on github.com. Related topics: mcp, weather, weather-server.

Setup

{
    "mcpServers": {
        "mcp-bittush8789": {
            "command": "uv",
            "args": [
                "run",
                "weather.py"
            ]
        }
    }
}

Weather MCP Server — by bittush8789 config

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

{
    "mcpServers": {
        "mcp-bittush8789": {
            "command": "uv",
            "args": [
                "run",
                "weather.py"
            ]
        }
    }
}

Weather MCP Server — by bittush8789 tools

  • get_alerts(state) — returns active weather alerts for a US state.
  • get_forecast(latitude, longitude) — returns a short-term forecast.

Overview

What is Weather MCP Server?

The Weather MCP Server fetches weather data from the National Weather Service API. It provides two tools: get_alerts for active weather alerts in a US state and get_forecast for a short-term forecast at a given latitude/longitude. It is intended for developers using the Model Context Protocol (MCP) framework.

How to use Weather MCP Server?

Install dependencies using uv add mcp[cli] httpx requests, then run the server with uv run weather.py. The server communicates via standard I/O. For MCP client integration, add a configuration entry to your config.json specifying the path to uv and the project directory.

Key features of Weather MCP Server

  • get_alerts(state) returns active weather alerts for a US state.
  • get_forecast(latitude, longitude) returns a short-term forecast.
  • Leverages the National Weather Service API.
  • Requires Python 3.7+ and the httpx library.
  • Uses standard I/O for transport.

Use cases of Weather MCP Server

  • Checking severe weather alerts for a specific US state.
  • Obtaining a short-term weather forecast for a coordinate location.
  • Integrating live weather data into any MCP‑compatible client.

Frequently asked questions

1 What data source does the server use?

It fetches weather data from the National Weather Service API.

2 What tools are available?

The server offers get_alerts(state) for alerts and get_forecast(latitude, longitude) for forecasts.

3 What are the software requirements?

Python 3.7 or later, the httpx library, and the MCP framework package mcp[cli].

4 How do I configure an MCP client to use this server?

Add an entry to your client’s config.json with the command set to your uv binary and arguments including --directory, the project path, run, and weather.py.

5 What transport mechanism does the server use?

The server communicates over standard I/O (stdio).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬