Skip to main content

A Model Context Protocal server for OpenWeather.org API.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openweather_mcp-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openweather_mcp-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file openweather_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: openweather_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for openweather_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eb819976a1c38dca3617baaffd104d752cfbe989256f2698a3ee87f0fb74b989
MD5 32ad31730c990096a3d3cc5dd4c1f4a3
BLAKE2b-256 c745a773bf8c7baf02c8d4cd8ca180aac45d343b4f4ebe1088f6598cfbdc01c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for openweather_mcp-0.1.0.tar.gz:

Publisher: release.yml on frostming/openweather-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openweather_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openweather_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2acb5953273fd9e4f1e103282c5ac9e32f51f559762150f8adcb4b6d2091135a
MD5 93b92d0adcf42c39a0161fa97a7379ef
BLAKE2b-256 6a7c341c8f6d3be1d4109908794b85c71dda3c66d55cce103ea6ab457f3fcbc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for openweather_mcp-0.1.0-py3-none-any.whl:

Publisher: release.yml on frostming/openweather-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page