MCP.so
ログイン
O

Openweathermcp

@QianJue-CN

Openweathermcp について

概要はまだありません

基本情報

カテゴリ

その他

トランスポート

stdio

公開者

QianJue-CN

投稿者

天天

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "openweather": {
      "command": "npx",
      "args": [
        "openweather-mcp"
      ],
      "env": {
        "OPENWEATHER_API_KEY": "your_api_key_here"
      }
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Openweathermcp?

Openweathermcp is a Model Context Protocol (MCP) server that integrates the OpenWeatherMap API, providing AI assistants with comprehensive weather data access including current conditions, forecasts, air quality, maps, alerts, and historical data.

How to use Openweathermcp?

Install via npm install -g openweather-mcp, set the OPENWEATHER_API_KEY environment variable with a valid OpenWeatherMap API key, then run npx openweather-mcp or configure it as an MCP server in Claude Desktop or any MCP-compatible client.

Key features of Openweathermcp

  • Current weather queries with temperature, humidity, wind, pressure
  • 5‑day/3‑hour weather forecasts with trend analysis
  • Real‑time air quality index and pollutant concentration data
  • Multi‑layer weather map tiles (clouds, precipitation, temperature)
  • Government‑issued weather alerts and safety advisories
  • Historical weather queries and multi‑day comparison

Use cases of Openweathermcp

  • An AI assistant provides real‑time weather for a user‑specified city
  • A travel planner automatically fetches 5‑day forecasts for destinations
  • Health‑focused apps display local air quality levels
  • Emergency bots relay official weather warnings from the user’s area

FAQ from Openweathermcp

What does Openweathermcp do that a direct OpenWeatherMap API call does not?

It wraps the OpenWeatherMap API into an MCP interface, enabling any MCP‑compatible AI client to access weather data through natural language tool calls without writing custom integration code.

What runtime and credentials are required?

Node.js 18.0.0 or higher and a free or paid OpenWeatherMap API key set as the OPENWEATHER_API_KEY environment variable.

Where does the weather data come from?

All data is fetched in real‑time from the OpenWeatherMap API servers. The server itself stores no persistent data.

Are there any usage limits or paid features?

Free accounts have call limits. Historical weather data requires a paid subscription, and weather alerts require a One Call API 3.0 subscription.

Does the server support city names in any language?

Yes. It first attempts a direct query; if that fails, it automatically falls back to geocoding to convert the city name (any language) into coordinates and re‑queries.

コメント

「その他」の他のコンテンツ