MCP.so
Sign In
Servers

MCP Weather Server

@Chazzychouse

Implementation of MCP documentation's "quickstart" server

Overview

What is MCP Weather Server?

A basic TypeScript implementation of a Model Context Protocol (MCP) server that provides weather data by querying the National Weather Service API at https://api.weather.gov. It is intended for use with MCP clients like Claude Desktop.

How to use MCP Weather Server?

Configure the server in Claude Desktop by adding an entry to claude_desktop_config.json with the node command pointing to the server's build/index.js file. The full setup path is C:/users/<Username>/AppData/Roaming/Claude on Windows.

Key features of MCP Weather Server

  • Provides a get-forecast tool for weekly weather forecasts
  • Provides a get-alerts tool for current weather alerts
  • Uses live data from the US National Weather Service API
  • Built with TypeScript for the MCP protocol

Use cases of MCP Weather Server

  • Get a weekly weather forecast for a given latitude and longitude in the US
  • Retrieve current weather alerts for a specific US state code
  • Integrate real-time weather data into an MCP-compatible assistant like Claude Desktop

FAQ from MCP Weather Server

What tools does MCP Weather Server provide?

It provides two tools: get-forecast, which returns a weekly weather forecast for a latitude and longitude within the US, and get-alerts, which returns any current alerts for a given state code.

What data source does MCP Weather Server use?

All weather data is queried from the National Weather Service API at https://api.weather.gov.

How do I set up MCP Weather Server with Claude Desktop?

Add a weather entry to the mcpServers object in claude_desktop_config.json (located at C:/users/<Username>/AppData/Roaming/Claude on Windows), specifying node as the command and the path to build/index.js as the argument.

What runtime does MCP Weather Server require?

The server runs on Node.js, as it is invoked via the node command when configured with Claude Desktop.

What geographic region does MCP Weather Server cover?

The server covers the United States: forecasts require a latitude and longitude within the US, and alerts use US state codes.

Tags

More from Media & Design