MCP.so
登录
O

Openweathermcp MCP Server

@QianJue-CN

基本信息

分类

其他

传输方式

stdio

作者

QianJue-CN

提交者

天天

关于 Openweathermcp MCP Server

暂无概览

Openweathermcp MCP Server 配置

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

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

Openweathermcp MCP Server 工具

工具列表暂未提供

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

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

概览

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

常见问题

1

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.

2

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.

3

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.

4

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.

5

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.

评论

其他 分类下的更多 MCP 服务器