Weather MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Serverget weather alerts for California"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weather MCP Server
A powerful weather information server built with FastMCP that provides weather alerts and tools through multiple interfaces.
Features
š¤ļø Weather Alerts: Get real-time weather alerts for any US state
š Echo Resource: Simple message echoing functionality
š„ļø Multiple Interfaces: Choose between MCP server or web interface
šØ Beautiful UI: Modern, responsive web interface
Related MCP server: Weather MCP Server
Quick Start
Option 1: Interactive Launcher (Recommended)
python run_server.pyThis will present you with options to run either the MCP server or web interface.
Option 2: Direct Web Interface
python server/web_interface.pyThen open your browser to: http://localhost:8000
Option 3: MCP Server Only
python main.pyInstallation
Install dependencies:
uv syncRun the server:
python run_server.py
Usage
Web Interface
Start the web interface
Open http://localhost:8000 in your browser
Use the forms to:
Get weather alerts for a US state (e.g., CA, NY, TX)
Echo messages through the resource system
MCP Server
The MCP server provides these tools:
get_alerts(state): Get weather alerts for a US statestate: Two-letter US state code (e.g., "CA", "NY")
echo_resource(message): Echo a message as a resourcemessage: Any text message to echo
API Endpoints
GET /: Main web interfacePOST /api/alerts: Get weather alerts (form data:state)POST /api/echo: Echo a message (form data:message)
Dependencies
mcp[cli]>=1.13.0: MCP server frameworkfastapi>=0.104.0: Web frameworkuvicorn[standard]>=0.24.0: ASGI serverhttpx>=0.25.0: HTTP clientpython-multipart>=0.0.6: Form data handling
Project Structure
secondproject/
āāā main.py # MCP server entry point
āāā run_server.py # Interactive launcher
āāā server/
ā āāā weather.py # MCP server implementation
ā āāā web_interface.py # Web interface
āāā pyproject.toml # Project configuration
āāā README.md # This fileTroubleshooting
Common Issues
Port already in use: Change the port in
web_interface.pyor stop other servicesDependencies missing: Run
uv syncto install all dependenciesAPI errors: Check your internet connection for weather data
Getting Help
Check the console output for error messages
Ensure all dependencies are installed
Verify Python version (requires 3.12+)
License
This project is open source and available under the MIT License.
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 Servers
- Flicense-qualityDmaintenanceThis 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)Last updated
- FlicenseBqualityDmaintenanceAn MCP server that provides weather information and alerts for US locations using the National Weather Service API, enabling retrieval of weather forecasts and active weather alerts.Last updated2
- FlicenseBqualityDmaintenanceAn MCP server that provides real-time weather alerts for US states using the National Weather Service (NWS) API. It also includes utility features for message echoing and generating customizable greeting prompts.Last updated1
- Alicense-qualityDmaintenanceProvides weather forecasts and active alerts for US locations using the National Weather Service API. It supports both local stdio and remote HTTP/SSE transport modes for flexible integration with MCP clients.Last updated97GPL 3.0
Related MCP Connectors
Get US weather forecasts, active alerts, and current observations.
350+ production-ready APIs through one MCP server ā weather, geocoding, validation, financial data.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
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/onceagainarise/MCP-second-project-weather-forecaster-'
If you have feedback or need assistance with the MCP directory API, please join our Discord server