weather-mcp-server
0
The Weather MCP Server is a weather query server developed on FastMCP that offers services to obtain weather information for global cities. It supports both Celsius and Fahrenheit, and provides data on temperature, humidity, and descriptions, all implemented using MCP.
Weather MCP Server
A weather query server built on FastMCP providing city weather information.
Features
- Global city weather queries
- Provides temperature, humidity, and weather descriptions
- Supports Celsius and Fahrenheit
- Implemented using Model Context Protocol (MCP)
- Comprehensive logging
Installation Requirements
- Python 3.8+
- OpenWeatherMap API key
- uv (Python package management tool)
Quick Start
- Clone the repository.
- Install dependencies.
- Set environment variables.
- Run the server.
Installation and Usage
Option 1: Use uvx (Recommended)
Auto-install packages from PyPI without cloning.
Option 2: Local Development Mode
Clone, install dependencies, set environment variables, and configure for Claude Desktop.
Development
Using Makefile to simplify common commands for installation, formatting, linting, cleaning, and running.
MCP Tools
get_weather
Fetches weather information for a specified city with options for temperature units.