Back to directory
leonhardholz/mcp-openweathermap

leonhardholz/mcp-openweathermap

@leonhardholz

使用 OpenWeatherMap API 提供当前天气信息的简单 MCP 服务器

weatheropenweathermapapimcp-serverpythonenvironmenttool

Installation & Configuration

{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": [
        "tool",
        "run",
        "--from",
        "git+https://github.com/leonhardholz/mcp-openweathermap.git",
        "mcp-openweathermap"
      ],
      "env": {
        "OPENWEATHERMAP_API_KEY": "your_api_key_here"
      }
    }
  }
}

Information

Transport
stdio
Language
Python
Created
2026/6/14
Updated
2026/6/15