Skip to main content

An MCP server for interacting with the Weatherstack API via Model Context Protocol tools, providing access to current, historical, forecast, and marine weather data.

Project description

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

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

weatherstack_mcp_server-0.1.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

weatherstack_mcp_server-0.1.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file weatherstack_mcp_server-0.1.1.tar.gz.

File metadata

File hashes

Hashes for weatherstack_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3e7bfec590e0fbe9de5580b254d716562c59334a332ac65120c169c13379bfd6
MD5 c3c3afecf8ee4dd408010b157b5f8a56
BLAKE2b-256 6323a38603020c66bad23b094b5f315a4217a1d662ba8d9351e6a1a4a9a5782f

See more details on using hashes here.

File details

Details for the file weatherstack_mcp_server-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for weatherstack_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d7c919f968e18ac9f20d20288cb523753f62f9433b82662671799dfba1c8a73
MD5 cdce348007fc38bb4efc476c6ac718f8
BLAKE2b-256 7b6504b7424b5786f7c5f7f2403e6a0f41da7c98f56e13da31193ffa0aabe110

See more details on using hashes here.

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