MCP.so
登录

Weather MCP Server

@CodeByWaqas

基本信息

分类

媒体与设计

许可证

MIT license

传输方式

stdio

作者

CodeByWaqas

关于 Weather MCP Server

暂无概览

Weather MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

Weather MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

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.

评论

媒体与设计 分类下的更多 MCP 服务器