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
相关服务器
Microsoft Learn MCP Server
The Microsoft Learn MCP Server enables clients like GitHub Copilot and other AI agents to bring trusted and up-to-date information directly from Microsoft's official documentation. It is a remote MCP server that uses streamable http. It allows to search through documentation, fetch a complete article, and search through code samples.
Pylon
20+ pay-per-request APIs for AI agents — screenshots, web scraping, PDF, OCR, search, QR codes, translation & more. No API keys needed. Pay with USDC via x402. npm: @pylonapi/mcp
Kali MCP Server
A Python MCP Server that connects Large Language Models natively to a comprehensive suite of offensive security tools.
Adwords MCP
An MCP server that serves ads to developers in clients like Cursor and Claude.
Fast Mobile MCP
High-performance mobile automation architecture with a thin MCP gateway and dedicated Go workers for Android and iOS.
aTars MCP by aarna
aTars MCP by aarna provides AI agents with structured access to crypto market signals, technical indicators, and sentiment analysis.
Soccer MCP Server
Provides football (soccer) statistics and live match data using the API-Football service.
EMBA-MCP
This tool creates an MCP server to bridge the gap between AI workflows and EMBA security analysis.
Skillbase/spm
npm for AI skills. Create, share, and discover reusable AI instructions for any model via MCP.
VFX MCP
A powerful video editing server using ffmpeg-python to process external video files.