Weather Forecast MCP logo

Weather Forecast MCP

Queries current conditions and up to seven days of forecasts for worldwide cities, with Chinese or English names and Chinese output.

Install Weather Forecast MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.pianam.cn/weather-mcp/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http weather-forecast-mcp https://mcp.pianam.cn/weather-mcp/mcp

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

Weather Forecast MCP MCP server provides current conditions and forecasts for cities worldwide through a single MCP tool. It accepts Chinese or English city names, returns Chinese weather details, and supports forecasts from one to seven days. The hosted Streamable HTTP endpoint requires no installation, authentication, or API key, while the Python server can also be self-hosted. Use it when an AI client needs localized weather lookups or short-range forecast data.

Use cases

  • Check current conditions for a named city
  • Plan travel using a seven-day forecast
  • Ask for weather with Chinese city names
  • Embed localized forecasts in an MCP client

Key features

  • Current weather conditions
  • One- to seven-day forecasts
  • Chinese and English city lookup
  • Chinese weather output
  • Open-Meteo with wttr.in fallback
  • Streamable HTTP transport

Tools1

What Weather Forecast MCP lets your agent do. Expand a tool for its parameters.

Verified live~79 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 89d

What it can do

From the 1 tool this server returned when we ran it.

Read-only tools · 1

Observed 2026-11-10 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9/7/2026 via OSV.dev · https://mcp.pianam.cn/weather-mcp/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Tools exposed1Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Weather Forecast MCP works

What Weather Forecast MCP MCP server does

Weather Forecast MCP MCP server exposes weather lookups through the Model Context Protocol. Its main tool, query_weather, accepts a city name and an optional number of forecast days. City names may be written in Chinese or English, including examples such as 北京, 青岛, and Tokyo.

The response combines current conditions with a daily forecast. Current data includes the weather description, temperature, feels-like temperature, humidity, wind direction, and wind speed. Each forecast day includes the date, weather description, high and low temperatures, and precipitation probability. The service translates weather codes and wind directions into Chinese output.

How it works

The hosted service uses Streamable HTTP and is available at https://mcp.pianam.cn/weather-mcp/mcp. An MCP client connects to that URL and can then call query_weather as an agent tool. The endpoint does not require authentication, an account, or an API key.

Open-Meteo supplies geocoding and forecast data as the primary source. Its city resolution includes Chinese-language handling and ranks administrative cities to reduce collisions between places with the same name. If the primary source fails, the server falls back to wttr.in. Responses are cached for 600 seconds.

The tool accepts days from 1 through 7; the default is 3. This makes the Weather Forecast MCP MCP server suitable for conversational weather checks, itinerary planning, and applications that need a bounded short-range forecast rather than historical or long-term climate data.

Setup and configuration

The quickest option is to add the hosted endpoint to an MCP client configuration:

config.json
{
  "mcpServers": {
    "weather": {
      "type": "http",
      "url": "https://mcp.pianam.cn/weather-mcp/mcp"
    }
  }
}

Some clients accept the same entry with only the url field. The README specifically documents Claude Desktop, Cursor, Cline, and Cherry Studio configurations.

For local deployment, clone the repository, install the dependencies from requirements.txt, and run weather_mcp_server.py. The process listens on 127.0.0.1:8004 by default, and clients can connect through /mcp. Docker users can pull the published image or build one from the repository; the container defaults to port 8000 and listens on 0.0.0.0.

Optional environment variables include MCP_HOST, MCP_PORT, MCP_ALLOWED_HOSTS, and MCP_ALLOWED_ORIGINS. Neither the hosted endpoint nor the self-hosted setup requires an API key or account.

Tools and capabilities

  • query_weather(city, days=3) for current conditions and daily forecasts.
  • Chinese and English city-name input.
  • Forecast ranges from one to seven days.
  • Chinese weather descriptions and wind-direction output.
  • Open-Meteo primary data with wttr.in fallback.
  • Streamable HTTP access for remote or local MCP clients.

Limitations and notes

The public endpoint applies a limit of 200 requests per minute for each IP address. Cached results may remain available for up to 600 seconds, so repeated calls may not represent a newly fetched observation. Self-hosting changes the endpoint and deployment responsibility but does not add separate weather data providers or API credentials.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Weather Forecast MCP

Weather Forecast MCP is an MCP server that connects to Open-Meteo and wttr.in for weather data. Its main tool, query_weather, accepts Chinese or English city names and returns current conditions plus one- to seven-day forecasts, including temperature, humidity, wind, precipitation probability, and Chinese weather descriptions.

You can use the hosted endpoint without installing anything, or clone the repository and run the Python server. Install dependencies from requirements.txt, start weather_mcp_server.py, and connect your client to the local /mcp endpoint. Docker images and source-build instructions are also provided.

Yes, Weather Forecast MCP works with Cursor through its MCP configuration. Add the Streamable HTTP URL as the server URL, using the documented http type where supported.

No, it does not require an API key, registration, or account. The hosted endpoint is available without authentication, and the self-hosted deployment uses Open-Meteo with wttr.in as a fallback.

It supports one to seven forecast days, with three days as the default. Pass the desired value through the days parameter of query_weather. The response includes each day's date, weather, high and low temperatures, and precipitation probability.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWeather Forecast MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/weather-forecast-mcp?style=directory)](https://allmcps.com/mcp/weather-forecast-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/weather-forecast-mcp"><img src="https://allmcps.com/api/badge/weather-forecast-mcp?style=directory" alt="Weather Forecast MCP on AllMCPs" /></a>