Skip to main content

mcp-multi-weather

Description

MCP server for checking the weather history and forecast. This Model Context Protocol (MCP) server provides weather data functionality through a FastMCP-based service that integrates with weather providers to deliver historical weather information.

The server exposes a get_historical_weather tool that allows checking weather conditions for specific cities on past dates, making it useful for applications that need historical weather data.

How to run it

First you need to create a valid API key with OpenWeather, and set it in your env file:

$ cp .env.example .env
$ vim .env # Modify the values

Now you can run the server locally:

$ uv run mcp-multi-weather

Or, you can install the package in your claude-desktop:

$ uv run fastmcp install claude-desktop src/mcp_multi_weather/cli/server.py --env-file .env --env PYTHONPATH=$PWD/src/

Development

You can run the tests using pytest:

$ uv run pytest
$ uv run pytest --ow-api-key=DUMMY  # To run tests against the real OpenWeather API

You can also check the syntax and lint the code with pyright and ruff:

$ uv run pyright
$ uv run ruff check
$ uv run ruff format

Metadata

Release files for mcp-multi-weather 0.2.1

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

Source distribution (sdist)

Source distribution for mcp-multi-weather 0.2.1
File Size Uploaded Provenance
mcp_multi_weather-0.2.1.tar.gz 78.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-multi-weather 0.2.1
File Interpreter ABI Platform
mcp_multi_weather-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 86.5 kB

Release files / mcp_multi_weather-0.2.1.tar.gz

Download URL mcp_multi_weather-0.2.1.tar.gz
Size 78.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6fa2620794897acb6687e18f1501a68fb23b513d2950f7cd7bbf1b8f91988a57
BLAKE2b-256 checksum
How to use checksums
f9fd500a8bdd9f9cf388ef96965ce4379500b993e5c42afde0919a68d0e34901
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.21

Release files / mcp_multi_weather-0.2.1-py3-none-any.whl

Download URL mcp_multi_weather-0.2.1-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03cb894cf8faab4f24ee274b3d69793dba6d884d03c2380c63766864e7ec31c1
BLAKE2b-256 checksum
How to use checksums
2578e1ea7ac1f0c10692229fd288cd5e00708285d275a4c927a46af35dc9c8ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.21

Security for mcp-multi-weather 0.2.1

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

0.2.1 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