What runtime and dependencies are required?
Python 3.x with `uv` package manager, plus `mcp[cli]` and `httpx`. The project uses `uv.lock` for dependency locking.
@nahilahmed
基本情報
A Python MCP (Model Context Protocol) server that fetches real-time weather alerts by U.S. state using api.weather.gov, built with FastMCP and integrated into Claude Desktop.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-weather-alert-tool": {
"command": "uv",
"args": [
"init",
"mcpcrashcourse",
"#",
"start",
"new",
"project"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
This project implements a custom MCP (Model Context Protocol) server using the FastMCP Python SDK, integrating with Claude Desktop to enable an AI assistant to retrieve real-time weather alerts for any U.S. state via the api.weather.gov API.
Install dependencies using uv add "mcp[cli]" httpx and place the weather.py tool in a server/ folder. Launch interactively with uv run mcp dev server/weather.py and test via MCP Inspector at http://localhost:6757. For Claude Desktop, add a weather entry to claude_desktop_config.json pointing to uv run mcp run <path>/server/weather.py, restart the app, and ask for alerts by state (e.g., “What are the weather alerts for Texas?”).
httpx to call real-time weather alerts from api.weather.govPython 3.x with `uv` package manager, plus `mcp[cli]` and `httpx`. The project uses `uv.lock` for dependency locking.
Run `uv run mcp dev server/weather.py` to launch the MCP Inspector at `http://localhost:6757`, where you can call `get_alerts` with a state code.
All data is fetched live from the official [api.weather.gov](https://www.weather.gov/documentation/services-web-api) endpoint `/alerts/active`, which is free and does not require an API key.
Add a server entry to `claude_desktop_config.json` with the `uv run mcp run` command pointing to your `weather.py` file. Restart Claude Desktop, then ask a weather-related question.
The server implements a **Tool** (`get_alerts`), which is analogous to a POST endpoint. MCP also defines Resources (static data) and Prompts (reusable LLM templates), but this project focuses on a single tool.

Curated marketing libraries and an ideation engine for your AI. Connect Selfstorming to Claude, ChatGPT, Codex, Claude Code or Cursor and your assistant works from your project context plus: - 1,800+ award-winning campa

Plan, create and schedule social media content from your AI assistant. Blaze makes on-brand posts, carousels and short videos, writes blog posts and newsletters, and schedules them to Instagram, TikTok, YouTube, LinkedIn

Official JSON2Video MCP server. Video API for automated video production at scale: render videos from templates with AI voiceovers, subtitles and AI images. Remote server with OAuth (https://mcp.json2video.com/mcp) or lo
Give your AI agent a real design engine. Create, edit and export real, editable designs from Claude Code, Codex, Cursor and more.

Design your mobile app UI with AI, then have your coding agent build the real app from it.
コメント