moossahussain/model_context_protocol-server
3.1
If you are the rightful owner of model_context_protocol-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Weather Tool MCP Server is a specialized server that utilizes the Model Context Protocol to provide weather-related data and alerts for US locations using the National Weather Service API.
Tools
2
Resources
0
Prompts
0
Weather Tool MCP Server
This project implements [Model Context Protocol (MCP)] server that provides tools to query weather alerts and forecasts for US locations using the National Weather Service (NWS) API.
📦 Features
- Get Weather Alerts by US State (
get_alerts) - Get Weather Forecast by Latitude and Longitude (
get_forecast) - MCP-compatible tool definitions using
FastMCP - Asynchronous HTTP requests via
httpx
🚀 Usage
🛠️ Installation
# Clone the repo
git clone
cd model_context_protocol-server
# (Optional) Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate