Skip to main content

Weather MCP Server

Weather forecast and air quality utilities using Open‑Meteo.

The server can be accessed locally over Stdio or remotely over Streamable HTTP.

Tools

The tools exposed by the MCP server include:

  • current_weather - Current temperature, wind speed and condition for a location.
  • forecast - Daily forecast for the next few days.
  • uv_index - UV index forecast and risk levels.
  • air_quality - Air quality index values for a location.

🛠️ Installation

Local Development (via uv)

From this directory:

uv sync --locked
uv tool install .

Docker Build

From the root of the repository:

docker build -f servers/weather/Dockerfile -t casual-mcp-server-weather .

▶️ Running the Server

➤ Stdio Mode

From Source

Install for local development and then configure:

{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": ["tool", "run", "casual-mcp-server-weather"]
    }
  }
}

Using uvx

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

Docker

{
  "mcpServers": {
    "weather": {
      "command": "docker",
      "args": ["run", "--rm", "casual-mcp-server-weather"]
    }
  }
}

➤ Streamable HTTP Mode

From Source

uv run casual-mcp-server-weather --transport streamable-http

With port/host overrides:

uv run casual-mcp-server-weather --transport streamable-http --port 9000 --host 0.0.0.0

Using uvx

uvx casual-mcp-server-weather --transport streamable-http

You can use the same port/host overrides as above

Docker

docker run -e MCP_TRANSPORT=streamable-http -e MCP_PORT=9000 -p 9000:9000 casual-mcp-server-weather
Configuration
{
  "mcpServers": {
    "weather": {
      "type": "streamable-http",
      "url": "http://localhost:9000"
    }
  }
}

📜 License

MIT – LICENSE


📦 PyPI

Published at: https://pypi.org/project/casual-mcp-server-weather/

Metadata

Release files for casual-mcp-server-weather 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for casual-mcp-server-weather 1.0.2
File Size Uploaded Provenance
casual_mcp_server_weather-1.0.2.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for casual-mcp-server-weather 1.0.2
File Interpreter ABI Platform
casual_mcp_server_weather-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / casual_mcp_server_weather-1.0.2.tar.gz

Download URL casual_mcp_server_weather-1.0.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e1c120fcb213cbec59610b4784b4923e874c48058174677919168ef734ecb94c
BLAKE2b-256 checksum
How to use checksums
c95d754469f96efdd3b396f278b9379661d726d2575a4c188a80c1d85868e841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Release files / casual_mcp_server_weather-1.0.2-py3-none-any.whl

Download URL casual_mcp_server_weather-1.0.2-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f6d01451bd86101a4b44e0d9be7a27a02ba8b0c08053481e972c1839df873a7
BLAKE2b-256 checksum
How to use checksums
96685f9ac13a7d7ef26a3e86ca79b0ba387a22c7335d52c7e8c6085ab2cca46a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Security for casual-mcp-server-weather 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page