Hands-on-MCP
If you are the rightful owner of Hands-on-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This repository contains a simple MCP server that provides weather alert information for US states, leveraging the National Weather Service (NWS) API.
The MCP US Weather Client/Server project is an implementation of the Model Context Protocol (MCP) that provides weather alert information for US states. It utilizes the National Weather Service (NWS) API to fetch and format active weather alerts. The project includes a server built using the `fastmcp` library and a client application that demonstrates interaction with the server using the `mcp_use` library and Langchain. This project serves as an example of how to integrate MCP with LLMs and showcases the use of conversation memory in client-server interactions.
Features
- Weather Alerts: Fetches and formats active weather alerts for a specified US state.
- MCP Integration: Demonstrates how to build an MCP server using the `fastmcp` library.
- Client Example: Provides a client application that uses the server and integrates conversation memory.
- Langchain Integration: Example showcases LLM integration.
Tools
get_alerts
Fetches weather alerts for a specified state.
get_config
Fetches configuration resources.