Chatbot-using-MCP-server-and-MCP-client
Verified Safeby kotappa19
Overview
This project provides an MCP (Model Context Protocol) server for weather data and an AI client that uses Claude to process natural language queries and execute the server's weather tools.
Installation
uv run server.pyEnvironment Variables
- ANTHROPIC_API_KEY
Security Notes
The server's tools interact with a known external API (NWS API) and perform specific, well-defined functions. Inputs to tools are simple types (string, float), mitigating direct code injection risks. The client passes LLM-generated arguments to the server's tools, but the MCP framework and tool signatures provide a layer of validation. No 'eval' or other direct code execution patterns were found.
Similar Servers
mcp_server_weather_jayden
This server provides current and forecasted weather data for specific geographical coordinates as a tool callable by an AI agent.
mcp-server-weather
Provides real-time weather alerts and forecasts for specified US locations and states.
mcp-weather
A Model Context Protocol (MCP) server for retrieving weather alerts and forecasts for US locations using the National Weather Service (NWS) API.
streamable_http_mcp_server
This project implements a Multi-tool Communication Protocol (MCP) server that provides a weather lookup tool and a client that orchestrates LLM function calling with such MCP servers, allowing an AI to dynamically use external tools.