MCP Hge
A weather query command - line tool based on the MCP protocol, which connects to the US National Weather Service API through a client - server architecture and supports natural language queries for weather alerts and forecasts.
rating : 2.5 points
downloads : 15
What is the MCP Weather Server?
The MCP Weather Server is a client - server architecture tool built on the Model Context Protocol (MCP). It allows users to query US weather data, such as current weather alerts and detailed weather forecasts, through natural language.How to use the MCP Weather Server?
You need to start the server and the client, and then enter your query through the command line. For example, you can ask about weather alerts in a specific state or the weather forecast for a certain location.Applicable Scenarios
Suitable for individual users, enterprises, or developers who need to quickly obtain weather information in the US region.Main Features
Query Weather AlertsSupports querying weather alerts for a specified state by two - letter state code.
Get Weather ForecastsSupports obtaining detailed weather forecasts by latitude and longitude.
Natural Language ProcessingUtilizes Google Gemini AI to implement natural language query parsing.
Client - Server ArchitectureSupports distributed deployment to improve flexibility and scalability.
Advantages and Limitations
Advantages
Based on the MCP protocol, easy to integrate and expand.
Natural language queries, no complex commands required.
Real - time weather data from the official NWS API.
Cross - platform support, suitable for multiple operating systems.
Limitations
Requires a stable network connection to access external APIs.
May require an API key to enable certain advanced features.
Limited support for non - English queries.
How to Use
Install Dependencies
Ensure Python 3.8+ is installed and set up a virtual environment.
Configure Environment Variables
Create a `.env` file in the project root directory and add your Gemini API key.
Start the Server
Run `python server.py` to start the MCP server.
Connect the Client
Run `python client.py` to connect to the server and start querying.
Usage Examples
Query Weather AlertsQuery the current weather alerts in California.
Get Weather ForecastsQuery the weather forecast for San Francisco.
Frequently Asked Questions
How to install the MCP Weather Server?
What API keys are required?
How to exit the client?
Related Resources
MCP Weather Server GitHub Repository
View the source code and more documentation.
Google Gemini AI Documentation
Understand how Gemini AI works.
National Weather Service API
Official weather data API documentation.
Featured MCP Services

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
79
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
130
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
554
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.6K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
745
4.8 points