Skip to main content

openweather-mcp

A Model Context Protocal server for OpenWeather.org API.

Usage with Claude Desktop

Add the following to claude_desktop_config.json:

{
  "mcpServers": {
    "openweather-mcp": {
      "command": "uvx",
      "args": [
        "openweather-mcp"
      ],
      "env": {
        "OPENWEATHER_API_KEY": "<your_openweather_api_key>"
      },
    }
  }
}

It requires uv to be installed on your machine. Check the official documentation for installation guides.

Available Tools

  • get_current_weather Get current weather for a given city.
  • get_weather_forecast Get weather forecast for a given city for the next 5 days.

Development

pdm install
pdm dev

Metadata

Release files for openweather-mcp 0.1.0

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

Source distribution (sdist)

Source distribution for openweather-mcp 0.1.0
File Size Uploaded Provenance Actions
openweather_mcp-0.1.0.tar.gz 4.2 kB With provenance Details for openweather_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openweather-mcp 0.1.0
File Interpreter ABI Platform Actions
openweather_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for openweather_mcp-0.1.0-py3-none-any.whl

Total release size: 9.4 kB

Release files / openweather_mcp-0.1.0.tar.gz

Download URL openweather_mcp-0.1.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
eb819976a1c38dca3617baaffd104d752cfbe989256f2698a3ee87f0fb74b989
BLAKE2b-256 checksum
How to use checksums
c745a773bf8c7baf02c8d4cd8ca180aac45d343b4f4ebe1088f6598cfbdc01c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 28, 2025.

Transparency log

Release files / openweather_mcp-0.1.0-py3-none-any.whl

Download URL openweather_mcp-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2acb5953273fd9e4f1e103282c5ac9e32f51f559762150f8adcb4b6d2091135a
BLAKE2b-256 checksum
How to use checksums
6a7c341c8f6d3be1d4109908794b85c71dda3c66d55cce103ea6ab457f3fcbc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 28, 2025.

Transparency log

Security for openweather-mcp 0.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for openweather_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 28, 2025.

Transparency log

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

0.1.0 This release

2 release files Full 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