MCP Weather Server
@TimLukaHorstmann
关于 MCP Weather Server
A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"-y",
"@timlukahorstmann/mcp-weather"
],
"env": {
"ACCUWEATHER_API_KEY": "your_api_key_here"
}
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Weather Server?
MCP Weather Server is a Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API. It is designed for large language models (like Claude) to access real-time weather data, enabling them to answer weather-related queries with up-to-date information.
How to use MCP Weather Server?
Obtain an AccuWeather API key from the AccuWeather developer portal, export it as the environment variable ACCUWEATHER_API_KEY, and run the server with npx -y @timlukahorstmann/mcp-weather. For integration with MCP-compatible clients (e.g., Claude Desktop), add the server configuration to your claude_desktop_config.json file as shown in the README.
Key features of MCP Weather Server
- Real-time hourly forecasts for the next 12 hours.
- Daily forecasts for up to 15 days.
- Supports both metric (°C) and imperial (°F) units.
- Simple integration with LLMs via MCP protocol.
- Uses the official AccuWeather API for reliable data.
Use cases of MCP Weather Server
- Asking an LLM for the hourly weather forecast for a specific city.
- Getting a multi-day forecast to plan trips or events.
- Checking precipitation chances in a location.
- Converting weather data between Celsius and Fahrenheit on demand.
FAQ from MCP Weather Server
What are the prerequisites for using MCP Weather Server?
Node.js version 18 or higher and an AccuWeather API key (free tier available) are required. The API key must be set as the environment variable ACCUWEATHER_API_KEY.
How do I obtain an AccuWeather API key?
Sign up at the AccuWeather developer portal, create an app, and copy your API key. The free tier is sufficient for basic usage.
What units does MCP Weather Server support?
The server supports both metric (Celsius, default) and imperial (Fahrenheit) units. You can specify the units parameter per request.
How many forecast days can I request?
The daily forecast tool (weather-get_daily) accepts options of 1, 5, 10, or 15 days; the default is 5 days.
Can I use MCP Weather Server with Claude Desktop?
Yes. Add the server configuration to your claude_desktop_config.json file, restart Claude Desktop, and enable the server via the plug icon in a new conversation.
媒体与设计 分类下的更多 MCP 服务器
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Photoshop MCP Server
loonghaoA Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.
Design Systems Mcp
southleftI'm your specialized design systems assistant. Ask me about components, tokens, patterns, and best practices.
YouTube MCP Server
ZubeidHendricksMCP Server for YouTube API, enabling video management, Shorts creation, and advanced analytics
NS Travel Information MCP Server
r-huijtsA Model Context Protocol (MCP) server that provides access to NS (Dutch Railways) travel information through Claude AI. This server enables Claude to fetch real-time train travel information and disruptions using the official Dutch NS API.
评论