Weather Forecast MCP Server
@MKhan997733
关于 Weather Forecast MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"mcp-server-weather-forecast"
],
"env": {
"API_KEY": ""
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Weather Forecast MCP Server?
A Model Context Protocol (MCP) server that provides weather information and alerts for US states and UK cities/towns using the National Weather Service (NWS) and OpenWeather APIs. It enables AI assistants to fetch current weather forecasts and alerts through a standardized interface.
How to use Weather Forecast MCP Server?
Install from source via git clone, npm install, and npm run build. Configure by adding the server to your MCP client (e.g., Claude Desktop or Cursor) with an API key set in the API_KEY environment variable. Once configured, ask your AI assistant weather-related questions like alerts for a US state or forecast for coordinates.
Key features of Weather Forecast MCP Server
- Get active weather alerts for any US state.
- Retrieve detailed weather forecasts using latitude/longitude coordinates.
- Fetch current weather for UK cities and towns.
- Requires an API key for accessing weather services.
- Real-time data from official government and OpenWeather sources.
- Compatible with any MCP-compatible AI assistant or client.
Use cases of Weather Forecast MCP Server
- Ask an AI assistant for weather alerts in a specific US state (e.g., California).
- Request a detailed weather forecast for a given latitude and longitude.
- Check current weather conditions in a UK city or town.
FAQ from Weather Forecast MCP Server
What data sources does the server use?
It uses the National Weather Service API for US weather alerts and forecasts, and OpenWeather API for UK weather information.
Is an API key required?
Yes, an API key is required for accessing weather services. You can obtain one from OpenWeather.
How do I configure the server for Claude Desktop?
Add the server to your claude_desktop_config.json with the command npx mcp-server-weather-forecast and set the API_KEY environment variable.
What parameters do the tools require?
get-alerts needs a two-letter US state code. get-forecast requires latitude and longitude. current-weather-uk requires a UK city or town name.
What are the runtime requirements?
The server requires Node.js 18+ and npm or yarn for installation and execution.
媒体与设计 分类下的更多 MCP 服务器
Figma MCP Server
thirdstrandstudioFigma MCP Server with full API functionality
KiCAD MCP: AI-Assisted PCB Design
mixelpixxKiCAD MCP is a Model Context Protocol (MCP) implementation that enables Large Language Models (LLMs) like Claude to directly interact with KiCAD for printed circuit board design.
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Melrōse - programming of music melodies
emickleiinteractive programming of melodies, producing MIDI
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube
评论