Weather MCP Server

Weather MCP Server

By choatehall GitHub

A weather MCP server that provides weather forecasts and alerts using the National Weather Service API

weather mcp-server
Overview

What is Weather MCP Server?

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

How to use Weather MCP Server?

To use the Weather MCP Server, ensure you have .NET 8.0 or later installed, clone the repository, build the project using dotnet build, and run the server with dotnet run. It can be accessed by any MCP client to retrieve weather data.

Key features of Weather MCP Server?

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

Use cases of Weather MCP Server?

  1. Providing real-time weather updates for applications.
  2. Sending alerts for severe weather conditions to users.
  3. Integrating weather data into other software solutions.

FAQ from Weather MCP Server?

  • What programming language is used for Weather MCP Server?

Weather MCP Server is implemented in C#.

  • Is there a specific version of .NET required?

Yes, .NET 8.0 or later is required to run the server.

  • Can this server be used with any MCP client?

Yes, it can be used with any MCP client, such as Claude for Desktop.

Content

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
No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details