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
相關伺服器
Uniswap Trader MCP
Automate token swaps on the Uniswap DEX across multiple blockchains.
PancakeSwap PoolSpy
Tracks newly created liquidity pools on PancakeSwap, providing real-time data for DeFi analysts, traders, and developers.
Earnings Feed
SEC filings and insider trades in real-time. 10-K, 10-Q, 8-K, Form 4, and company lookup.
BloodHound MCP
Enables Large Language Models to interact with BloodHound Community Edition data.
渠道洞察服务
Provides sales channel analysis, including distribution, dealer networks, and coverage, to help understand enterprise channel layouts.
SciPilot
Natural language interface for scientific command-line tools via MCP
Arcadia Finance
Manage Uniswap and Aerodrome liquidity positions with automated rebalancing and leverage.
Bazi Calculation
A professional Bazi (Chinese astrology) calculation server providing full analysis including four pillars, five elements, zodiac, and lunar dates with timezone support.
Windows Screenshots
A Model Context Protocol (MCP) server that provides screenshot capture functionality on Windows systems.
alphavantage stock mcp
stock data, stock analytics