Skip to main content
Glama

MCP Weather Server

by ramonbnuezjr
CHANGELOG.md1.43 kB
Changelog All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning. [Unreleased] Added (Any new features or changes currently in development that haven't been part of a "release" yet) [0.1.0] - 2025-05-27 Added Initial MCP Weather Server implementation using FastAPI. Core functionality to fetch current weather data from OpenWeatherMap API. Defined Pydantic models for MCP request/response structures (MCPRequest, MCPResponse, MCPWeatherData, MCPRequestParameters). Configuration management for API keys via .env file and app/core/config.py. Service layer (app/services.py) to handle external API calls and data processing. API endpoint (/mcp/weather) in app/main.py to expose weather tool functionality. Comprehensive error handling for API interactions and internal server logic. test_mcp_client.py: A Python script for end-to-end testing of the running MCP server. pytest test suite: tests/test_main.py: Integration tests for API endpoints with mocked service layer. tests/test_services.py: Unit tests for the service layer logic with mocked httpx calls. weather_agent_cli.py: A simple command-line interface (CLI) agent to demonstrate interaction with the MCP server. Initial project documentation: README.md and this CHANGELOG.md. Project scaffolding including virtual environment setup and requirements.txt.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ramonbnuezjr/mcp-weather-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server