mcpField
W
Weather MCP Server

Weather MCP Server

Local
github.com/choatehallMedia & Design0Updated 82w ago

About Weather MCP Server

A C# MCP server using the National Weather Service API to provide US weather information. It is for MCP clients that need forecasts by coordinates and active alerts by state code.

Key features

  1. 01Get forecasts by latitude and longitude
  2. 02Get alerts by state code
  3. 03Uses National Weather Service API
  4. 04Implemented in C#

Use cases

  1. 01Check a US location's weather forecast
  2. 02Check active alerts for a US state

MCP support

The MCP server exposes tools for weather forecasts and alerts to clients, using the National Weather Service API.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Weather MCP Server

A C# implementation of a Model Context Protocol (MCP) server that provides weather information using the National Weather Service API.

Features

  • Get weather forecasts for any location in the US using latitude and longitude
  • Get active weather alerts for any US state using state codes

Tools

GetForecast

Get detailed weather forecast for a specific location.

  • Parameters:
    • latitude: Latitude of the location
    • longitude: Longitude of the location
GetAlerts

Get active weather alerts for a US state.

  • Parameters:
    • state: Two-letter state code (e.g., CA, NY)

Setup

  1. Make sure you have .NET 8.0 or later installed
  2. Clone this repository
  3. Build the project: dotnet build
  4. Run the server: dotnet run

Usage

This MCP server can be used with any MCP client (like Claude for Desktop) to get weather information.

Dependencies

  • .NET 8.0
  • ModelContextProtocol.Server
  • System.Net.Http.Json

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.