mcpapp1
mcpapp1 — 天気 MCP サーバー
Claude Desktop、Claude Code、Cursor などの MCP クライアントに米国のリアルタイムの気象警報を公開する、小さな Model Context Protocol サーバーです。
データは National Weather Service API から取得します。この API は無料で、API キーは不要です。
公開するもの
種別 | 名前 | 説明 |
ツール |
| 米国の州のアクティブな気象警報。2 文字のコードで指定します(例: |
リソース |
| メッセージをそのまま返します。サーバーに到達可能かを確認するのに便利です。 |
Related MCP server: Weather Alert & Forecast MCP Tool
要件
Python 3.13+
セットアップ
git clone https://github.com/eyosiasbisrat/mcpapp1.git
cd mcpapp1
uv sync実行
stdio 経由でサーバーを直接実行します:
uv run server/weather.pyまたは MCP CLI 経由:
uv run mcp run server/weather.pyMCP Inspector で対話的に検査する:
uv run mcp dev server/weather.pyMCP サーバーは stdin/stdout 上で JSON-RPC を使用して通信するため、手動で実行すると入力待ちで静かに待機するだけです。これは想定どおりです。通常はクライアントがサーバーを起動します。
クライアントを接続する
Claude Code / Cursor
両方の設定ファイルはすでにチェックインされており、相対パスを使用しているため、uv sync の後に編集なしで動作します:
.mcp.json — Claude Code
.cursor/mcp.json — Cursor
エディタのウィンドウをリロードし、プロンプトが表示されたらサーバーを承認してください。
Claude Desktop
uv run mcp install server/weather.pyその後、Claude Desktop を完全に終了します。ウィンドウを閉じても実行中のままになるため、トレイアイコンも含めて終了してください。そして再度開きます。
Claude Desktop が確実にインストールされているのに Claude app not found と表示される場合は、以下を参照してください。
トラブルシューティング
Windows での Claude app not found
mcp install は Claude Desktop の設定を固定の場所で探します:
%APPDATA%\ClaudeClaude Desktop が MSIX / Microsoft Store パッケージとしてインストールされている場合、そのデータはパッケージコンテナにリダイレクトされ、そのディレクトリは存在しません:
%LOCALAPPDATA%\Packages\Claude_<id>\LocalCache\Roaming\Claude\claude_desktop_config.jsonこれを解決する方法は 2 つあります。
実際の設定を直接編集する — 上記のパッケージ化されたパスにある claude_desktop_config.json に mcpServers エントリを追加します。既存のキーはすべて保持します。
または、ディレクトリジャンクションでパスを一度ブリッジする — これ以降、mcp install はすべてのサーバーで正常に動作します:
cmd /c mklink /J "%APPDATA%\Claude" "%LOCALAPPDATA%\Packages\Claude_<id>\LocalCache\Roaming\Claude"実際のパッケージフォルダ名を Claude_<id> に置き換えてください。元に戻すには、cmd /c rmdir "%APPDATA%\Claude" を実行すると、設定ではなくリンクのみが削除されます。
Windows でサーバーを手動で登録する場合は、uv の絶対パスを使用してください(例: C:\Users\<you>\.local\bin\uv.exe)。パッケージ化されたアプリはシェルの PATH を確実に継承しないため、素の uv では起動に失敗する可能性があります。
サーバーが実際に読み込まれていることを確認する
プロセスの親子関係を確認して、クライアントがサーバーを起動したことを確認します:
Get-CimInstance Win32_Process -Filter "Name='uv.exe'" | ForEach-Object {
$p = Get-CimInstance Win32_Process -Filter "ProcessId=$($_.ParentProcessId)"
"$($_.ProcessId) <- $($p.Name)"
}親が Claude.exe である uv.exe があれば、サーバーは実行中です。一部の Claude Desktop ビルドはサーバーごとのログを logs\ に書き込まないため、ログフォルダが空でも失敗の証拠にはならないことに注意してください。
プロジェクト構成
server/weather.py the MCP server: tool, resource, and NWS client
main.py placeholder entrypoint
.mcp.json Claude Code server config
.cursor/mcp.json Cursor server config
pyproject.toml dependencies (httpx, mcp[cli])注意事項
get_alertsは米国の州のみを対象としています。NWS は米国の機関であるためです。リクエストには
User-Agentヘッダーが含まれます。これは NWS API が要求するものです。ネットワークエラーと HTTP エラーは握りつぶされ、トレースバックではなく、親しみやすい "unable to fetch" メッセージとして表示されます。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
US weather alerts from NWS: warnings, watches, advisories by state. $0.01/query.
Get US weather forecasts, active alerts, and current observations.
NOAA and ECMWF weather forecast MCP for discovery, validation, and GribStream OAuth queries.
Smarter Weather MCP: forecasts, alerts, outlooks, observations, AQI, grids, and map imagery.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceThis is a Model Context Protocol (MCP) server that provides weather information using the National Weather Service (NWS) API. Features Get weather alerts for a US state Get weather forecast for a specific location (using latitude and longitude)
- FlicenseNot gradedqualityDmaintenanceA lightweight microservice that fetches weather alerts and forecasts from the National Weather Service API, providing U.S. state-level alerts and location-based forecasts.
- FlicenseNot gradedqualityDmaintenanceEnables users to get real-time weather alerts for US states and echo messages through both MCP server tools and a modern web interface. Provides weather information access with multiple deployment options for different use cases.1
- FlicenseBqualityDmaintenanceProvides weather forecasts and alerts for US locations using the National Weather Service API. Enables users to retrieve active alerts by state and detailed forecasts by coordinates via MCP tools.2
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyosiasbisrat/mcpapp1'
If you have feedback or need assistance with the MCP directory API, please join our Discord server