weather-MCP-Server-
0
The MCP Weather Server is a modern real-time weather server using the Model Context Protocol and TypeScript SDK. It provides weather forecasts and alerts for integration with MCP-enabled clients like Claude for Desktop.
🌤️ MCP Weather Server (TypeScript)
A modern weather server built with the Model Context Protocol (MCP) using the TypeScript SDK. This project exposes real-time weather forecast and alert tools for integration with LLM clients like Claude for Desktop.
📌 Features
getAlerts(state: string)
: Get real-time weather alerts by U.S. state.getForecast(latitude: number, longitude: number)
: Get short-term forecasts by coordinates.- Built using TypeScript MCP SDK.
- Async HTTP requests powered by Axios.
- Compatible with Claude for Desktop and other MCP-enabled clients.
⚙️ Tech Stack
- Node.js v18+
- TypeScript
- MCP SDK (TypeScript) –
@mcp/sdk
- Axios – HTTP client
- weather.gov API – U.S. National Weather Service
🚀 Quickstart
1. Clone the repository
git clone https://github.com/your-username/mcp-weather-server-ts.git
cd mcp-weather-server-ts