MCP.so
Sign In

Weather Forecast MCP Server

@MKhan997733

Basic information

Category

Media & Design

Transports

stdio

Author

MKhan997733

About Weather Forecast MCP Server

No overview available yet

Weather Forecast MCP Server config

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

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": [
        "mcp-server-weather-forecast"
      ],
      "env": {
        "API_KEY": ""
      }
    }
  }
}

Weather Forecast MCP 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.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Weather Forecast MCP Server?

A Model Context Protocol (MCP) server that provides weather information and alerts for US states and UK cities/towns using the National Weather Service (NWS) and OpenWeather APIs. It enables AI assistants to fetch current weather forecasts and alerts through a standardized interface.

How to use Weather Forecast MCP Server?

Install from source via git clone, npm install, and npm run build. Configure by adding the server to your MCP client (e.g., Claude Desktop or Cursor) with an API key set in the API_KEY environment variable. Once configured, ask your AI assistant weather-related questions like alerts for a US state or forecast for coordinates.

Key features of Weather Forecast MCP Server

  • Get active weather alerts for any US state.
  • Retrieve detailed weather forecasts using latitude/longitude coordinates.
  • Fetch current weather for UK cities and towns.
  • Requires an API key for accessing weather services.
  • Real-time data from official government and OpenWeather sources.
  • Compatible with any MCP-compatible AI assistant or client.

Use cases of Weather Forecast MCP Server

  • Ask an AI assistant for weather alerts in a specific US state (e.g., California).
  • Request a detailed weather forecast for a given latitude and longitude.
  • Check current weather conditions in a UK city or town.

Frequently asked questions

1

What data sources does the server use?

It uses the National Weather Service API for US weather alerts and forecasts, and OpenWeather API for UK weather information.

2

Is an API key required?

Yes, an API key is required for accessing weather services. You can obtain one from OpenWeather.

3

How do I configure the server for Claude Desktop?

Add the server to your `claude_desktop_config.json` with the command `npx mcp-server-weather-forecast` and set the `API_KEY` environment variable.

4

What parameters do the tools require?

`get-alerts` needs a two-letter US state code. `get-forecast` requires latitude and longitude. `current-weather-uk` requires a UK city or town name.

5

What are the runtime requirements?

The server requires Node.js 18+ and npm or yarn for installation and execution.

Comments

More Media & Design MCP servers