mcp-weather-server
Verified Safeby DeepthiR2405
Overview
Provides a simple FastAPI server for querying current weather information for a specified city.
Installation
uvicorn app:app --host 0.0.0.0 --port 10000Environment Variables
- API_KEY
Security Notes
The OpenWeatherMap API key is hardcoded as 'YOUR_API_KEY_HERE' in `app.py`. This is a critical security vulnerability; secrets should always be stored in environment variables, not directly in the source code.
Similar Servers
Weather-MCP-Server
Provides comprehensive weather information and tools via a Model Context Protocol (MCP) server using FastMCP and WeatherAPI.com.
weather-mcp-server1
Provides a REST API to fetch real-time weather information for a given city, likely intended for integration with a Minecraft Pocket Edition (MCP) server or client to display in-game weather.
weather-MCP-server
This server provides a tool to fetch current weather information for a specified location using the OpenWeatherMap API.
ai-examples
A basic weather API server built with FastAPI, demonstrating a Microservice Communication Protocol (MCP) server that provides CRUD operations for weather information.