MCP.so
Sign In

Weather MCP Server

@CodeByWaqas

Basic information

Category

Media & Design

License

MIT license

Transports

stdio

Author

CodeByWaqas

About Weather MCP Server

No overview available yet

Weather MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "weather-mcp-server-codebywaqas": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@CodeByWaqas/weather-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

Weather MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is Weather MCP Server?

A Model Context Protocol (MCP) server that provides real‑time weather information using the OpenWeatherMap API. It delivers detailed weather data (temperature, humidity, wind speed, sunrise/sunset times, and description) in metric units. Designed for integration with MCP‑compatible clients like Claude Desktop.

How to use Weather MCP Server?

Install via Smithery with npx -y @smithery/cli install @CodeByWaqas/weather-mcp-server --client claude or manually by cloning the repository, creating a virtual environment, and running pip install -e .. Configure your OpenWeatherMap API key in an .env file. Then launch Claude Desktop; the server will be automatically invoked by the client to fetch weather data on request.

Key features of Weather MCP Server

  • Real‑time weather data using OpenWeatherMap API
  • Metric units for temperature and wind speed
  • Temperature, humidity, and wind speed reporting
  • Sunrise and sunset time information
  • Human‑readable weather description

Use cases of Weather MCP Server

  • Ask an AI assistant for current weather in any city
  • Integrate weather lookups into automated workflow scripts
  • Get detailed weather conditions through a natural‑language interface

Frequently asked questions

1

What weather data does it provide?

Temperature (metric), humidity percentage, wind speed, sunrise/sunset times, and a general weather description (e.g., “clear sky”).

2

What are the prerequisites?

Python 3.12 or higher and a free OpenWeatherMap API key.

3

How do I install it?

Either via Smithery (`npx` command) or manually by cloning the repo, creating a virtual environment, and installing dependencies with `pip install -e .` (or `uv add` for development).

4

How do I configure the API key?

Copy `src/resources/env.example` to `src/resources/.env` and set `WEATHER_API_KEY=your_api_key_here`.

5

How do I use it with Claude Desktop?

Add the server configuration to Claude’s `claude_desktop_config.json` (using `uv` as the command) and set the `WEATHER_API_KEY` environment variable. Then ask Claude for weather information.

Comments

More Media & Design MCP servers