ai-examples
Verified Safeby sumitdotgh
Overview
A basic weather API server built with FastAPI, demonstrating a Microservice Communication Protocol (MCP) server that provides CRUD operations for weather information.
Installation
uvicorn main:app --reloadSecurity Notes
The code itself is clean and does not contain obvious malicious patterns, 'eval' calls, or hardcoded secrets. It implements a standard FastAPI application. Security relies on FastAPI's inherent protections and proper deployment practices.
Similar Servers
Weather-MCP-Server
Provides comprehensive weather information and tools via a Model Context Protocol (MCP) server using FastMCP and WeatherAPI.com.
streamable-http-mcp
Implements a basic StreamableHTTP MCP (Multi-Agent Communication Protocol) server with a weather information tool.
mcp-weather
Provides current weather, forecast, air quality, and geocoding services by integrating with the Open-Meteo API.
weather-MCP-server
This server provides a tool to fetch current weather information for a specified location using the OpenWeatherMap API.