Weather MCP Server
@jameskanyiri
Weather MCP Server について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"simple_weather_mcp_server": {
"command": "uv",
"args": [
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Weather MCP Server?
Weather MCP Server is a simple MCP server that provides weather information using the National Weather Service API. It exposes two tools: get_alerts for weather alerts in a US state and get_forecast for weather forecasts at a specific location. It is designed for developers integrating weather data into MCP-compatible clients like Claude for Desktop.
How to use Weather MCP Server?
Clone the repository and set up a Python environment (Python 3.10+). Install dependencies with uv add "mcp[cli]" httpx or pip install "mcp[cli]" httpx. Run the server using mcp dev main.py. Configure Claude for Desktop by adding a JSON entry to its config file with the absolute path to the project and the uv run main.py command. Restart Claude for Desktop, then ask questions like "What's the weather in NY?" to test.
Key features of Weather MCP Server
- Get weather alerts for any US state using two-letter codes
- Get weather forecasts for specific latitude/longitude coordinates
- Uses the free National Weather Service API
- Simple two-tool MCP server for quick integration
- Easy setup with either
uvorpippackage manager
Use cases of Weather MCP Server
- Ask an AI assistant for current weather alerts in a US state
- Retrieve a weather forecast for a specific geographic location
- Embed live weather data into automated workflows or chat applications
FAQ from Weather MCP Server
What are the prerequisites for using Weather MCP Server?
Python 3.10 or higher is required, along with either the uv package manager (recommended) or pip to install dependencies.
How do I configure Weather MCP Server for Claude for Desktop?
Add a JSON block to the Claude for Desktop config file (claude_desktop_config.json) with the command set to uv and args pointing to your project directory and the main script. Replace the absolute path with your actual project path.
What tools does Weather MCP Server provide?
Two tools are available: get_alerts (requires a US state code) and get_forecast (requires latitude and longitude). Both return weather data from the National Weather Service.
What are common troubleshooting steps?
Verify the configuration file path and absolute path are correct, ensure all dependencies are installed, restart Claude for Desktop, and check your internet connection. The API only works for US locations, so confirm state codes or coordinates are valid.
Does Weather MCP Server require any authentication or API keys?
No; the National Weather Service API is free and does not require an API key. The server connects directly without authentication.
「メディアとデザイン」の他のコンテンツ
MCP Figma to React Converter
StudentOfJSMCP server for converting Figma designs to React components
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube
MCP Google Map Server
cablateA powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.
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.
コメント