Skip to main content

Add your description here

Project description

Weather MCP Server

smithery badge

A Model Context Protocol (MCP) server for weather data, built with FastAPI and the MCP framework. This server provides various weather-related tools that can be used by AI assistants to retrieve current weather conditions, forecasts, air quality data, and more.

Features

  • Current weather conditions
  • Weather forecasts (1-14 days)
  • Historical weather data
  • Weather alerts
  • Air quality information
  • Astronomy data (sunrise, sunset, moon phases)
  • Location search
  • Timezone information
  • Sports events

Requirements

Installation

Installing via Smithery

To install Weather Data Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude

Manual Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/Weather_mcp_server.git
    cd Weather_mcp_server
    
  2. Install dependencies using uv:

    uv venv
    uv pip install -e .
    
  3. Create a .env file in the project root with your WeatherAPI key:

    WEATHER_API_KEY=your_api_key_here
    

Usage

Run the server:

python main.py

The server will start on http://localhost:8000 by default.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

weatherapi_mcp_server-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

weatherapi_mcp_server-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for weatherapi_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f8a48b4b551e9aa0628397c54fc505aa412119c9bb9918d0cbbaa232b5ccf96d
MD5 2501afa26721701d550d86be1cee8a26
BLAKE2b-256 b859247c55982793a405ab0e50bfada48c7063213749e641b35668525d6772df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for weatherapi_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5491192ba3411bf22573834fd9fdf178a96c3d120e7e36cc3d89eacf4c54226b
MD5 72bfbd00ad1f4dafcc7f27141f678350
BLAKE2b-256 53a17d4678471d6709f457ab748ffb98f6f433d4badfac15894fa34e5fe288b6

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