aryankarn
MCP Serveraryankarnpublic

weather mcp server

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

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
PowerShell
Language
-
License

About This Server

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

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Weather CLI App

A simple application to fetch weather alerts and forecasts from the National Weather Service API using Model Context Protocol (MCP).

Features

  • Get active weather alerts for any US state
  • Get weather forecasts for any location by coordinates
  • MCP server implementation for integration with AI assistants

Installation

  1. Ensure you have Python 3.11 or higher installed
  2. Clone this repository
  3. Install the package with pip:
# Install with pip
pip install -e .

# Or if you have pip3 specifically
pip3 install -e .

Note: This project uses the MCP framework and does NOT require the uv tool specifically, despite what the lock file might suggest.

Usage as an MCP Server

Once installed, the weather MCP server can be accessed by AI assistants that support the Model Context Protocol. The server provides two main tools:

  1. get_alerts - Get weather alerts for a US state (using two-letter state code)
  2. get_forecast - Get weather forecast for specific coordinates (latitude, longitude)

Development

This project uses:

  • httpx for asynchronous HTTP requests
  • MCP server tools for structured data handling

Troubleshooting

If you see errors like spawn uv ENOENT in the logs:

  1. Make sure you've installed the package with pip, not uv
  2. Check that your Python environment is properly configured
  3. Try running the server manually to see any additional stderr output: python -m weather

API Information

This application uses the National Weather Service (NWS) API to retrieve weather data. No API key is required, but please be respectful of their rate limits.

Quick Start

1

Clone the repository

git clone https://github.com/aryankarn/weather-mcp-server
2

Install dependencies

cd weather-mcp-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Owneraryankarn
Repoweather-mcp-server
LanguagePowerShell
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation