What tools and resources does the server expose?
The server exposes a `get_alerts` tool for fetching weather alerts by state and a `get_config` resource. These are defined in both the `weather.py` file and the `weather.json` configuration file.
@ankitmishralive
基本情報
A simple MCP (Model Context Protocol) server that provides weather alert information for US states, leveraging the National Weather Service (NWS) API. It also includes an example client application that demonstrates how to interact with the MCP server using the mcp_use library.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"Hands-on-MCP": {
"command": "uv",
"args": [
"run",
"mcp",
"dev",
"server/weather.py"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
This repository contains a simple MCP (Model Context Protocol) server that provides weather alert information for US states by leveraging the National Weather Service (NWS) API. It also includes an example client application demonstrating how to interact with the MCP server using the mcp_use library and Langchain.
Clone the repository, install dependencies with uv add -r requirements.txt, and create a .env file with your Groq API key. Start the server with uv run mcp dev server/weather.py and the client with uv run server/client.py. At the client prompt, type queries such as "Get weather alerts for CA, NY or NJ" and use exit, quit, or clear to manage the conversation.
fastmcp library for MCP server implementationget_alerts tool and get_config resourcefastmcpThe server exposes a `get_alerts` tool for fetching weather alerts by state and a `get_config` resource. These are defined in both the `weather.py` file and the `weather.json` configuration file.
Python 3.7+, `uv` for dependency management, a Groq API key for the client, and the `mcp_use` library. The server itself connects to the public NWS API with no required authentication.
Create a `.env` file in the root directory with `GROQ_API_KEY=<your_key>`. Ensure the `server/weather.json` file matches the tool and resource definitions in `server/weather.py`.
Start the server with `uv run mcp dev server/weather.py` and the client with `uv run server/client.py`. The client runs in an interactive prompt.
All weather alert data is fetched live from the National Weather Service API (api.weather.gov). No data is stored locally by the server.

Ask Claude or ChatGPT what Shopify theme optimization tasks are pending on your store, a remote MCP server for TaskerArmy Agent accounts.

Agent-Native Terminal
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

Official Porkbun MCP server, maintained by Porkbun. Check domain availability and pricing, register, renew and transfer domains, and manage DNS records, nameservers, URL forwarding, glue records, DNSSEC and domain contac
Query your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up
コメント