原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Weather MCP Server

作者:isdaniel版本 0.6.1i★ –i在你的电脑上运行
注册名称io.github.isdaniel/mcp_weather_server

安装

概览

作者提供的说明(英文原文)

providing weather information, air quality data, and timezone utilities using the Open-Meteo API.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "weather": {
      "command": "uvx",
      "args": [
        "mcp-weather-server"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add weather -- uvx mcp-weather-server

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "weather": {
      "command": "uvx",
      "args": [
        "mcp-weather-server"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "weather": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-weather-server"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 isdaniel 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32696 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32696 个服务器的 1% 更新
  • 基础检查结果等于或优于此分类中其他 32696 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Weather MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.6.1)于11个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, LexPact UK Contracts

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

LexPact UK Contracts

作者:Idadabhai

Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Weather MCP Server

mcp-name: io.github.isdaniel/mcp_weather_server

A Model Context Protocol (MCP) server that provides weather information using the Open-Meteo API. This server supports multiple transport modes: standard stdio, HTTP Server-Sent Events (SSE), and the new Streamable HTTP protocol for web-based integration.

Features

Weather & Air Quality
  • Get current weather information with comprehensive metrics:
  • Temperature, humidity, dew point
  • Wind speed, direction, and gusts
  • Precipitation (rain/snow) and probability
  • Atmospheric pressure and cloud cover
  • UV index and visibility
  • "Feels like" temperature
  • Sunrise and sunset times (local time at the location)
  • Get weather data for a date range with hourly details and daily sunrise/sunset times
  • Get air quality information including:
  • PM2.5 and PM10 particulate matter
  • Ozone, nitrogen dioxide, carbon monoxide
  • Sulfur dioxide, ammonia, dust
  • Aerosol optical depth
  • Health advisories and recommendations
Time & Timezone
  • Get current date/time in any timezone
  • Convert time between timezones
  • Get timezone information
Transport Modes
  • Multiple transport modes:
  • stdio - Standard MCP for desktop clients (Claude Desktop, etc.)
  • SSE - Server-Sent Events for web applications
  • streamable-http - Modern MCP Streamable HTTP protocol with stateful/stateless options
  • RESTful API endpoints via Starlette integration

Installation

Installing via Smithery

To install Weather MCP Server automatically via Smithery:

npx -y @smithery/cli install @isdaniel/mcp_weather_server
Standard Installation (for MCP clients like Claude Desktop)

This package can be installed using pip:

pip install mcp_weather_server
Manual Configuration for MCP Clients

This server is designed to be installed manually by adding its configuration to the cline_mcp_settings.json file.

  1. Add the following entry to the mcpServers object in your cline_mcp_settings.json file:
{

"mcpServers": { "weather": { "command": "python", "args": [ "-m", "mcp_weather_server" ], "disabled": false, "autoApprove": [] } } }

  1. Save the cline_mcp_settings.json file.
HTTP Server Installation (for web applications)

For HTTP SSE or Streamable HTTP support, you'll need additional dependencies:

pip install mcp_weather_server starlette uvicorn

Server Modes

This MCP server supports stdio, SSE, and streamable-http modes in a single unified server:

Mode Comparison
FeaturestdioSSEstreamable-http
Use CaseDesktop MCP clientsWeb applications (legacy)Web applications (modern)
ProtocolStandard I/O streamsServer-Sent EventsMCP Streamable HTTP
Session ManagementN/AStatefulStateful or Stateless
EndpointsN/A/sse, /messages//mcp (single)
Best ForClaude Desktop, ClineBrowser-based appsModern web apps, APIs
State OptionsN/AStateful onlyStateful or Stateless
1. Standard MCP Mode (Default)

The standard mode communicates via stdio and is compatible with MCP clients like Claude Desktop.

# Default mode (stdio)

python -m mcp_weather_server

Explicitly specify stdio mode

python -m mcp_weather_server.server --mode stdio

2. HTTP SSE Mode (Web Applications)

The SSE mode runs an HTTP server that provides MCP functionality via Server-Sent Events, making it accessible to web applications.

# Start SSE server on default host/port (0.0.0.0:8080)

python -m mcp_weather_server --mode sse

Specify custom host and port

python -m mcp_weather_server --mode sse --host localhost --port 3000

Enable debug mode

python -m mcp_weather_server --mode sse --debug

SSE Endpoints:

  • GET /sse - SSE endpoint for MCP communication
  • POST /messages/ - Message endpoint for sending MCP requests
3. Streamable HTTP Mode (Modern MCP Protocol)

The streamable-http mode implements the new MCP Streamable HTTP protocol with a single /mcp endpoint. This mode supports both stateful (default) and stateless operations.

# Start streamable HTTP server on default host/port (0.0.0.0:8080)

python -m mcp_weather_server --mode streamable-http

Specify custom host and port

python -m mcp_weather_server --mode streamable-http --host localhost --port 3000

Enable stateless mode (creates fresh transport per request, no session tracking)

python -m mcp_weather_server --mode streamable-http --stateless

Enable debug mode

python -m mcp_weather_server --mode streamable-http --debug

Streamable HTTP Features:

  • Stateful mode (default): Maintains session state across requests using session IDs
  • Stateless mode: Creates fresh transport per request with no session tracking
  • Single endpoint: All MCP communication happens through /mcp
  • Modern protocol: Implements the latest MCP Streamable HTTP specification

Streamable HTTP Endpoint:

  • POST /mcp - Single endpoint for all MCP communication (initialize, tools/list, tools/call, etc.)

Command Line Options:

--mode {stdio,sse,streamable-http}  Server mode: stdio (default), sse, or streamable-http

--host HOST Host to bind to (HTTP modes only, default: 0.0.0.0) --port PORT Port to listen on (HTTP modes only, default: 8080) --stateless Run in stateless mode (streamable-http only) --debug Enable debug mode

Example SSE Usage:

// Connect to SSE endpoint

const eventSource = new EventSource('http://localhost:8080/sse');

// Send MCP tool request fetch('http://localhost:8080/messages/', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ type: 'tool_call', tool: 'get_weather', arguments: { city: 'Tokyo' } }) });

Example Streamable HTTP Usage:

// Initialize session and call tool using Streamable HTTP protocol

async function callWeatherTool() { const response = await fetch('http://localhost:8080/mcp', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ jsonrpc: '2.0', method: 'tools/call', params: { name: 'get_current_weather', arguments: { city: 'Tokyo' } }, id: 1 }) });

const result = await response.json(); console.log(result); }

Configuration

This server does not require an API key. It uses the Open-Meteo API, which is free and open-source.

Usage

This server provides several tools for weather and time-related operations:

Available Tools
Weather Tools
  1. `get_current_weather` - Get current weather for a city with comprehensive metrics
  2. `get_weather_by_datetime_range` - Get weather data for a date range with hourly details
  3. `get_weather_details` - Get detailed weather information as structured JSON data
Air Quality Tools
  1. `get_air_quality` - Get air quality information with pollutant levels and health advice
  2. `get_air_quality_details` - Get detailed air quality data as structured JSON
Time & Timezone Tools
  1. `get_current_datetime` - Get current time in any timezone
  2. `get_timezone_info` - Get timezone information
  3. `convert_time` - Convert time between timezones
Tool Details
get_current_weather

Retrieves comprehensive current weather information for a given city with enhanced metrics.

Parameters:

  • city (string, required): The name of the city (English names only)

Returns: Detailed weather data including:

  • Temperature and "feels like" temperature
  • Humidity, dew point
  • Wind speed, direction (as compass direction), and gusts
  • Precipitation details (rain/snow) and probability
  • Atmospheric pressure and cloud cover
  • UV index with warning levels
  • Visibility

Example Response:

The weather in Tokyo is Mainly clear with a temperature of 22.5°C (feels like 21.0°C),

relative humidity at 65%, and dew point at 15.5°C. Wind is blowing from the NE at 12.5 km/h with gusts up to 18.5 km/h. Atmospheric pressure is 1013.2 hPa with 25% cloud cover. UV index is 5.5 (Moderate). Visibility is 10.0 km.

get_weather_by_datetime_range

Retrieves hourly weather information with comprehensive metrics for a specified city between start and end dates.

Parameters:

  • city (string, required): The name of the city (English names only)
  • start_date (string, required): Start date in format YYYY-MM-DD (ISO 8601)
  • end_date (string, required): End date in format YYYY-MM-DD (ISO 8601)

Returns: Comprehensive weather analysis including:

  • Hourly weather data with all enhanced metrics
  • Temperature trends (highs, lows, averages)
  • Precipitation patterns and probabilities
  • Wind conditions assessment
  • UV index trends
  • Weather warnings and recommendations

Example Response:

[Analysis of weather trends over 2024-01-01 to 2024-01-07]
  • Temperature ranges from 5°C to 15°C
  • Precipitation expected on Jan 3rd and 5th (60% probability)
  • Wind speeds averaging 15 km/h from SW direction
  • UV index moderate (3-5) throughout the period
  • Recommendation: Umbrella needed for midweek
get_weather_details

Get detailed weather information for a specified city as structured JSON data for programmatic use.

Parameters:

  • city (string, required): The name of the city (English names only)

Returns: Raw JSON data with all weather metrics suitable for processing and analysis

get_air_quality

Get current air quality information for a specified city with pollutant levels and health advisories.

Parameters:

  • city (string, required): The name of the city (English names only)
  • variables (array, optional): Specific pollutants to retrieve. Options:
  • pm10 - Particulate matter ≤10μm
  • pm2_5 - Particulate matter ≤2.5μm
  • carbon_monoxide - CO levels
  • nitrogen_dioxide - NO2 levels
  • ozone - O3 levels
  • sulphur_dioxide - SO2 levels
  • ammonia - NH3 levels
  • dust - Dust particle levels
  • aerosol_optical_depth - Atmospheric turbidity

Returns: Comprehensive air quality report including:

  • Current pollutant levels with units
  • Air quality classification (Good/Moderate/Unhealthy/Hazardous)
  • Health recommendations for general population
  • Specific warnings for sensitive groups
  • Comparison with WHO and EPA standards

Example Response:

Air quality in Beijing (lat: 39.90, lon: 116.41):

PM2.5: 45.3 μg/m³ (Unhealthy for Sensitive Groups) PM10: 89.2 μg/m³ (Moderate) Ozone (O3): 52.1 μg/m³ Nitrogen Dioxide (NO2): 38.5 μg/m³ Carbon Monoxide (CO): 420.0 μg/m³

Health Advice: Sensitive groups (children, elderly, people with respiratory conditions) should limit outdoor activities.

`g

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx