Weather MCP Server logo

Weather MCP Server

by CodeByWaqas

A Modern Code Protocol (MCP) server that provides weather information using the OpenWeatherMap API. It allows users to retrieve real-time weather data through LLMs.

View on GitHub

Last updated: N/A

What is Weather MCP Server?

This is a Modern Code Protocol (MCP) server designed to fetch and provide weather information. It leverages the OpenWeatherMap API to retrieve real-time weather data, enabling LLMs to access and utilize this information.

How to use Weather MCP Server?

To use the server, you can install it either via Smithery or manually. After installation, configure it with your OpenWeatherMap API key. Then, you can run the server and use an LLM (like Claude) to query and retrieve weather information.

Key features of Weather MCP Server

  • Real-time weather data retrieval

  • Metric units for temperature

  • Detailed weather information (temperature, humidity, wind speed, sunrise/sunset times, weather description)

  • Integration with Claude Desktop via MCP

Use cases of Weather MCP Server

  • Providing weather information to users through LLM interfaces

  • Integrating weather data into AI-powered applications

  • Creating weather-aware chatbots

  • Automating weather-related tasks

FAQ from Weather MCP Server

What API key do I need?

You need an OpenWeatherMap API key.

What is Smithery?

Smithery is a tool that can be used to install the Weather MCP Server automatically.

What Python version is required?

Python 3.12 or higher is required.

How do I configure the server?

You need to copy the src/resources/env.example to src/resources/.env and add your OpenWeatherMap API key to the .env file.

What license is this project under?

This project is licensed under the MIT License.