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
streamable-http-mcp
Implements a basic StreamableHTTP MCP (Multi-Agent Communication Protocol) server with a weather information tool.
weather-MCP-server
This server provides a tool to fetch current weather information for a specified location using the OpenWeatherMap API.
WeatherApi_MCP_server
The server provides programmatic access to current weather conditions and forecasts for specified cities using the WeatherAPI.com service.
mcp-weather-server
Provides a simple FastAPI server for querying current weather information for a specified city.