mcp

thaletto/mcp

3.2

If you are the rightful owner of mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

Weather MCP is a simple weather service built with FastMCP, demonstrating tools, resources, and prompt implementations for a modular command platform.

Weather MCP

MCP for Production Automation

A simple weather service built with FastMCP, demonstrating tools, resources, and prompt implementations for a modular command platform.

Features

  • Weather Tool: Get the current weather for a specified location.
  • Weather Resource: Access weather data as a resource endpoint.
  • Weather Report Prompt: Generate a weather report prompt for a given location.

Installation

  1. Clone the repository:
    git clone https://github.com/thaletto/mcp.git
    cd mcp
    
  2. Install dependencies (Python 3.13+ required):
    uv pip install -r uv.lock
    

Usage

  • To start the MCP weather server:
    fastmcp dev server.py
    

Project Structure

  • server.py: Implements the MCP server with weather tools, resources, and prompts.
  • assets/: Contains project images and assets.

Dependencies


© 2024 Weather MCP. All rights reserved.