mcp-weather-server
The MCP Weather Application is a client-server system using the Model Context Protocol to retrieve weather data from the National Weather Service API.
The MCP Weather Application is designed to demonstrate the use of the Model Context Protocol (MCP) framework in a client-server architecture to fetch and process weather information. The server component connects to the National Weather Service (NWS) API to retrieve weather alerts and forecasts, while the client component uses LangChain and the Groq API to interpret natural language queries. The client determines if a server tool is needed to fulfill a query, sends a request to the server via MCP, and incorporates the server's response into a final answer for the user. This setup allows for seamless interaction between natural language processing and real-time data retrieval.
Features
- MCP Framework: Utilizes the Model Context Protocol for efficient client-server communication.
- NWS API Integration: Fetches real-time weather data from the National Weather Service.
- Natural Language Processing: Uses LangChain and Groq API for interpreting user queries.
- Tool Discovery: Client discovers available server tools for dynamic query handling.
- Automated Response: Integrates server data into natural language responses for users.
MCP Tools
- get_alerts: Fetches current weather alerts from the NWS API.
- get_forecast: Retrieves weather forecasts from the NWS API.
Usage with Different Platforms
uvicorn
bash
uv run client.py ../weather/weather.py
Related MCP Servers
View all cloud_platforms servers →Figma-Context-MCP
by GLips
Framelink Figma MCP Server allows AI-powered coding tools to access Figma design data, enhancing design implementation accuracy.
edgeone-pages-mcp
by TencentEdgeOne
An MCP service for deploying HTML content, folder, and zip file to EdgeOne Pages and obtaining a publicly accessible URL.
HubSpot
by PipedreamHQ
Pipedream MCP Server is a reference implementation that allows you to run your own MCP server for over 2,500 apps and APIs, powered by Pipedream Connect.
mcp-atlassian
by sooperset
Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). This integration supports both Confluence & Jira Cloud and Server/Data Center deployments.
Nx MCP Server
by nrwl
A Model Context Protocol server implementation for Nx, providing LLMs with deep access to monorepo structures.
mcp-grafana
by grafana
A Model Context Protocol (MCP) server for Grafana that provides access to your Grafana instance and its ecosystem.
firecrawl-mcp-server
by mendableai
Firecrawl MCP Server is a Model Context Protocol server implementation that integrates with Firecrawl for web scraping capabilities.