Skip to main content

⛅ Weatherstack MCP Server

This is an MCP (Model Context Protocol) server for integrating with the Weatherstack API, enabling AI agents to access real-time, historical, forecast, and marine weather data using natural language input.

The goal of this project is to expose Weatherstack's functionality through MCP-compatible tools that can be used seamlessly by large language models and agent frameworks.


🧠 What is MCP?

MCP (Model Context Protocol) is a lightweight protocol designed to let AI agents interact with external tools and APIs in a structured and modular way. Think of it like USB for AI — this server acts as a "driver" for the Weatherstack platform.

With this MCP server, AI models can:

  • 🌤️ Get current weather conditions for any location
  • 🕰️ Access historical weather data by date and hour
  • 📅 Retrieve multi-day weather forecasts
  • 🌊 Get marine/sailing weather and tide information

🚀 How to Run

To use this MCP server, you'll need:

✅ Prerequisites

  • Python 3.11+
  • uv – a modern Python package manager
  • A supported LLM (e.g., Claude)
  • A Weatherstack API key – get it at weatherstack.com

Add this to Claude Desktop config

{
  "mcpServers": {
    "weatherstack-mcp": {
      "command": "uvx",
      "args": [
        "weatherstack-mcp-server",
        "--api-key",
        "YOUR WEATHERSTACK API KEY"
      ]
    }
  }
}

🤝 Contributions Welcome!

Whether you're passionate about weather tech, AI agent development, or robust API integrations — we’d love your help improving this project. You can contribute by:

  • Adding support for additional Weatherstack endpoints
  • Improving the structure of tool responses
  • Writing better tests and usage examples
  • Sharing feedback or ideas via Issues or Discussions

Feel free to fork, explore, and open a PR. Let’s empower agents with better environmental awareness — one forecast at a time. 🌍🛰️


MCP-FORGE – Building tools for the future of intelligent automation.

Metadata

Release files for weatherstack-mcp-server 0.1.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 weatherstack-mcp-server 0.1.1
File Size Uploaded Provenance
weatherstack_mcp_server-0.1.1.tar.gz 15.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for weatherstack-mcp-server 0.1.1
File Interpreter ABI Platform
weatherstack_mcp_server-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.3 kB

Release files / weatherstack_mcp_server-0.1.1.tar.gz

Download URL weatherstack_mcp_server-0.1.1.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3e7bfec590e0fbe9de5580b254d716562c59334a332ac65120c169c13379bfd6
BLAKE2b-256 checksum
How to use checksums
6323a38603020c66bad23b094b5f315a4217a1d662ba8d9351e6a1a4a9a5782f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release files / weatherstack_mcp_server-0.1.1-py3-none-any.whl

Download URL weatherstack_mcp_server-0.1.1-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d7c919f968e18ac9f20d20288cb523753f62f9433b82662671799dfba1c8a73
BLAKE2b-256 checksum
How to use checksums
7b6504b7424b5786f7c5f7f2403e6a0f41da7c98f56e13da31193ffa0aabe110
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Security for weatherstack-mcp-server 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.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