MCP.so
Sign In

Weather MCP Server

@matrupriya2048

About Weather MCP Server

No overview available yet

Basic information

Category

Media & Design

License

MIT license

Runtime

python

Transports

stdio

Publisher

matrupriya2048

Config

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

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

Tools

No tools detected

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

Overview

What is Weather MCP Server?

This MCP server fetches weather data from the National Weather Service API. It provides two tools for getting weather alerts and short-term forecasts for US locations.

How to use Weather MCP Server?

Install dependencies (Python 3.7+, httpx, mcp[cli], requests), then run the server with uv run weather.py. Configure your MCP client with the provided JSON snippet pointing to the script.

Key features of Weather MCP Server

  • Fetches active weather alerts by US state code.
  • Returns short-term forecasts by latitude/longitude.
  • Uses the National Weather Service API.
  • Simple two‑tool interface over standard I/O.
  • Lightweight Python implementation with httpx.

Use cases of Weather MCP Server

  • Get current weather alerts for a specific US state.
  • Retrieve a short‑term forecast for a given GPS coordinate.
  • Integrate real‑time NWS weather data into an MCP‑enabled assistant or tool.

FAQ from Weather MCP Server

What tools does Weather MCP Server provide?

It provides get_alerts(state) for active weather alerts and get_forecast(latitude, longitude) for short‑term forecasts.

What data source does Weather MCP Server use?

It fetches data from the National Weather Service API.

What are the dependencies for Weather MCP Server?

Python 3.7+, the httpx library, and the MCP framework with CLI support (mcp[cli]).

How do I run Weather MCP Server?

Run the server using the command uv run weather.py; it communicates via standard I/O.

How do I configure an MCP client for Weather MCP Server?

Add a JSON entry to your client’s configuration with the path to uv and the script directory, as shown in the README’s example.

Comments

More Media & Design MCP servers