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
相关服务器
Zen7-Payment-Agent
Zen7 Payment Agent is the first implementation project of DePA (Decentralized Payment Agent), pioneers next-generation intelligent payment infrastructure.
XActions
⚡ The Complete X/Twitter Automation Toolkit — Scrapers, MCP server for AI agents (Claude/GPT), CLI, browser scripts. No API fees. Open source.
LiveScore MCP
Real-time football live scores, fixtures, team stats, and player data from 1000+ leagues via SSE transport. Free, no API key required.
ffmpeg-mcp
A Python package for media processing using FFmpeg and FastMCP.
SommelierX
Remote MCP server for sommelier-grade wine pairing. 7 tools powered by a proprietary Wine DNA algorithm. API key or x402 pay-per-call.
Sysmetrics
Give your self-hosted agents 'situational awareness.' This MCP server provides a direct interface for agents to query Linux system telemetry, enabling autonomous resource monitoring, proactive alerting, and interactive troubleshooting via any MCP-compatible client.
Immanuel MCP Server
An MCP server for astrological chart calculations using the immanuel-python library.
Admit Coach — University Finder
Search 3,500+ US universities, estimate admission chances, check financial aid by income bracket, and build balanced college lists. Free MCP server, no API key required. Data from IPEDS and College Scorecard
Alpaca Trading
Manage stock and crypto portfolios, place trades, and access market data via the Alpaca Trading API.
Transkribus MCP Server
MCP server for the Transkribus REST API — manage collections, documents, HTR/OCR recognition, models, and more. 290 tools across 22 resource domains.