Weather MCP Server
@dsomel21
Weather MCP Server について
Example of creating MCP server
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather",
"run",
"weather.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Weather MCP Server?
Weather MCP Server is a learning project exploring the Model Context Protocol (MCP). It integrates with the National Weather Service (NWS) API to provide weather alerts and forecasts. The server is designed for AI assistants that support MCP, such as Claude.
How to use Weather MCP Server?
Install dependencies (pip install mcp httpx or uv pip install mcp httpx) with Python 3.9+. Configure the server in your AI assistant (e.g., Claude Desktop or Cursor) using the provided JSON or command. Then ask the assistant to retrieve alerts or forecasts.
Key features of Weather MCP Server
get_alerts: Retrieves active weather alerts for a US state.get_forecast: Gets weather forecast for a latitude/longitude location.
Use cases of Weather MCP Server
- Ask an AI assistant for current weather alerts in a US state.
- Request a weather forecast at specific geographic coordinates.
FAQ from Weather MCP Server
What tools does Weather MCP Server provide?
Two tools: get_alerts for state‑based alerts and get_forecast for location‑based forecasts.
Which API does Weather MCP Server use?
It uses the free National Weather Service (NWS) API.
What are the required dependencies?
Python 3.9+, the httpx library, and the mcp library.
How do I configure Weather MCP Server in Claude Desktop?
Add a JSON block to your Claude Desktop configuration with the uv command pointing to the weather.py file.
How do I configure Weather MCP Server in Cursor?
Go to Cursor Settings → MCP Servers → Add MCP Server. Set Type to “Command” and the command to uv run /ABSOLUTE/PATH/TO/weather.py.
「メディアとデザイン」の他のコンテンツ
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
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.
Figma MCP Server
TimHoldenModel Context Protocol server implementation for Figma API
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.
MCP Figma to React Converter
StudentOfJSMCP server for converting Figma designs to React components
コメント