MCP.so
Sign In
O

Openweathermcp

@QianJue-CN

About Openweathermcp

No overview available yet

Basic information

Category

Other

Transports

stdio

Publisher

QianJue-CN

Submitted by

天天

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

Comments

More Other MCP servers