MCP Weather Server
Provides weather-related tools using the US National Weather Service API.
MCP Weather Server
This project is a demo implementation of a Model Context Protocol (MCP) server that provides weather-related tools. The server exposes two tools:
- get-alerts: Fetches active weather alerts for a given US state.
- get-forecast: Provides a weather forecast for a specific location based on latitude and longitude.
Features
- Built using Node.js.
- Implements MCP tools for weather data retrieval.
- Uses the US National Weather Service API for accurate and up-to-date weather information.
Prerequisites
- Node.js installed on your system.
- Familiarity with MCP concepts and tools.
Setup
Installing via Smithery
To install mcp-server-learn for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @adarshem/mcp-server-learn --client claude
Manual Installation
-
Clone the repository:
git clone <repository-url> cd weather -
Install dependencies using
pnpm(as configured in the project):pnpm install -
Build the project:
pnpm build
Configuration
Update your settings.json file of VSCode to add this MCP server
{
"mcpServers": {
"weather": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/index.js"
]
}
}
}
Resources
Related Servers
Smart-Thinking
An advanced MCP server for multi-dimensional, adaptive, and collaborative reasoning.
Text-to-Speech (TTS)
A Text-to-Speech server supporting multiple backends like macOS say, ElevenLabs, Google Gemini, and OpenAI TTS.
Word Orb
The language layer for AI agents. One call returns IPA, definitions, etymology, translations in 47 languages, and ethics guidance — in 3ms.
PolicyLayer MCP
Non-custodial spending controls for AI agent crypto wallets — enforce daily limits, per-tx caps, and recipient whitelists.
Poke-MCP
Fetches Pokémon data from the PokeAPI and exposes it through a standardized MCP interface.
Lcontext
An MCP server that exposes user behavior as queryable data for AI coding agents.
Barevalue MCP
AI podcast editing as a service. Upload raw audio or submit a URL, get back edited episodes with filler words removed, noise reduction, transcripts, show notes, and social clips. Includes webhooks for automation.
norikae-mcp
🚃 乗換案内MCP - 乗り換え検索 / Norikae MCP - Japanese train route search using Yahoo! Transit
OpenFoodTox Food Chemical Hazards
MCP server providing tools to access EFSA's comprehensive OpenFoodTox Chemical Hazards in food dataset
UU跑腿 MCP Server
Create orders on the uupt.com open platform using the MCP protocol.