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
Basic information
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.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Hands-on-MCP": {
"command": "uv",
"args": [
"run",
"mcp",
"dev",
"server/weather.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.
Modelglass turns "which model should I use?" into a lookup instead of a guess. Seven tools give your agent live pricing across image, language, video, and audio models. Sourced and versioned, not scraped once and forgott

Remote MCP server for Mythex, an AI app builder. Claude, Cursor or Codex get a cloud sandbox to build full-stack apps: files and bash, live preview, Postgres database, file storage, secrets, checkpoints, browser tests an

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
Mobbin MCP connects your AI agents to 600,000+ real product screens, so what they build starts with what already works.

Publish the website your AI assistant just built, straight from the conversation. Static sites, your own domain, one payment, no subscription.
Comments